@@ -161,7 +161,7 @@ export default {
line={};
line.text= itemName;
line.rotation=0;
- line.x=30;
+ line.x=60;
line.y=15;
line.xscal=2;
line.yscal=2;
@@ -170,7 +170,7 @@ export default {
//添加条型码
line.barcode=itemId;
line.y=80;
line.type="CODE128";
line.width=2;//条型宽度,这里的宽指的是 条型码 竖条的宽度,不是整个条型码的宽度
@@ -232,7 +232,9 @@ export default {
this.replaceItemFn(item)
},
addItemModelHidden() {
- this.$refs.selectNumPriceRef.close()
+ if(this.$refs.selectNumPriceRef){
+ this.$refs.selectNumPriceRef.close()
+ }
this.customData = {};
async takeItem(code){