|
|
@ -57,6 +57,7 @@ |
|
|
|
// #endif |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'point', |
|
|
|
data() { |
|
|
|
return { |
|
|
|
data: {}, |
|
|
@ -143,40 +144,44 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
onLoad(option) { |
|
|
|
if (option.points) { |
|
|
|
this.data = JSON.parse(option.points); |
|
|
|
} |
|
|
|
}, |
|
|
|
async onShow() { |
|
|
|
// 获取数据 |
|
|
|
this.data = [{ |
|
|
|
itemNumber: '555555', |
|
|
|
itemName: 'hahah', |
|
|
|
referenceOrderRow: '55', |
|
|
|
referenceOrderCode: '55', |
|
|
|
supplierCode: '555', |
|
|
|
packageCode: '9999-8888', |
|
|
|
amount: '55', |
|
|
|
barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;B20240403;PPN0403-000005;I399.960-12;Q5.000000;UEA;', |
|
|
|
barcodeBase64: '' |
|
|
|
}, { |
|
|
|
itemNumber: '66', |
|
|
|
itemName: 'hahah', |
|
|
|
referenceOrderRow: '66', |
|
|
|
referenceOrderCode: '666', |
|
|
|
supplierCode: '66', |
|
|
|
packageCode: '66666', |
|
|
|
amount: '666666', |
|
|
|
barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;B20240403;PPN0403-000005;I399.960-12;Q5.000000;UEA;', |
|
|
|
barcodeBase64: '' |
|
|
|
}, { |
|
|
|
itemNumber: '66', |
|
|
|
itemName: 'hahah', |
|
|
|
referenceOrderRow: '66', |
|
|
|
referenceOrderCode: '666', |
|
|
|
supplierCode: '66', |
|
|
|
packageCode: '66666', |
|
|
|
amount: '666666', |
|
|
|
barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;', |
|
|
|
barcodeBase64: '' |
|
|
|
}] |
|
|
|
// this.data = [{ |
|
|
|
// itemNumber: '555555', |
|
|
|
// itemName: 'hahah', |
|
|
|
// referenceOrderRow: '55', |
|
|
|
// referenceOrderCode: '55', |
|
|
|
// supplierCode: '555', |
|
|
|
// packageCode: '9999-8888', |
|
|
|
// amount: '55', |
|
|
|
// barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;B20240403;PPN0403-000005;I399.960-12;Q5.000000;UEA;', |
|
|
|
// barcodeBase64: '' |
|
|
|
// }, { |
|
|
|
// itemNumber: '66', |
|
|
|
// itemName: 'hahah', |
|
|
|
// referenceOrderRow: '66', |
|
|
|
// referenceOrderCode: '666', |
|
|
|
// supplierCode: '66', |
|
|
|
// packageCode: '66666', |
|
|
|
// amount: '666666', |
|
|
|
// barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;B20240403;PPN0403-000005;I399.960-12;Q5.000000;UEA;', |
|
|
|
// barcodeBase64: '' |
|
|
|
// }, { |
|
|
|
// itemNumber: '66', |
|
|
|
// itemName: 'hahah', |
|
|
|
// referenceOrderRow: '66', |
|
|
|
// referenceOrderCode: '666', |
|
|
|
// supplierCode: '66', |
|
|
|
// packageCode: '66666', |
|
|
|
// amount: '666666', |
|
|
|
// barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;', |
|
|
|
// barcodeBase64: '' |
|
|
|
// }] |
|
|
|
this.$nextTick(async () => { |
|
|
|
// 获取二维码图片临时路径 |
|
|
|
const el = this.$refs['qrcodeRef'] |
|
|
|