Commit 55ca5aac authored by 沈翠玲's avatar 沈翠玲

修改bug

parent ddd9a1a3
......@@ -714,7 +714,7 @@
</u-form-item>
</u-col>
<u-col span="4">
<u-form-item label="打印">
<u-form-item label="打印二维码">
<u-input v-model="materialReturnFormData.number"></u-input>
</u-form-item>
</u-col>
......@@ -1944,6 +1944,11 @@ export default {
this.currentType = index;
this.getMaterialUsageRecordList();
},
// px转rpx
pxToRpx(px) {
const screenWidth = uni.getSystemInfoSync().screenWidth
return (750 * Number.parseInt(px)) / screenWidth
},
getMaterialUsageRecordList() {
this.materialusagerecordLoading = true;
this.$u.api
......@@ -2722,7 +2727,8 @@ export default {
itemName: line.itemName,
applyNum: 1,
workorderCode: this.materialReturnFormData.workorderCode,
isQualified: 1
isQualified: 1,
number: 1,
};
this.materialReturnSelected = line;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment