|
@@ -478,7 +478,8 @@ export default {
|
|
|
savePicture() {
|
|
savePicture() {
|
|
|
savePicture({
|
|
savePicture({
|
|
|
id: this.currentRow.id,
|
|
id: this.currentRow.id,
|
|
|
- remark: this.currentRow.remark
|
|
|
|
|
|
|
+ remark: this.currentRow.remark,
|
|
|
|
|
+ picture:this.imgs
|
|
|
});
|
|
});
|
|
|
this.currentRow.picture = this.imgs;
|
|
this.currentRow.picture = this.imgs;
|
|
|
this.setCode();
|
|
this.setCode();
|
|
@@ -542,13 +543,13 @@ export default {
|
|
|
},
|
|
},
|
|
|
setCode() {
|
|
setCode() {
|
|
|
const paramsStr = this.obj_to_str({
|
|
const paramsStr = this.obj_to_str({
|
|
|
- productName: encodeURIComponent(this.currentRow.productName),
|
|
|
|
|
- specification: encodeURIComponent(this.currentRow.specification),
|
|
|
|
|
- productCode: this.currentRow.productCode,
|
|
|
|
|
- batchNo: this.currentRow.batchNo,
|
|
|
|
|
- createTime: this.currentRow.qualityTime&&this.currentRow.qualityTime.split(' ')[0],
|
|
|
|
|
|
|
+ productName: encodeURIComponent(this.currentRow?.productName),
|
|
|
|
|
+ specification: encodeURIComponent(this.currentRow?.specification),
|
|
|
|
|
+ productCode: this.currentRow?.productCode,
|
|
|
|
|
+ batchNo: this.currentRow?.batchNo,
|
|
|
|
|
+ createTime: this.currentRow?.qualityTime?.split(' ')[0],
|
|
|
designDrawingImg: encodeURIComponent(
|
|
designDrawingImg: encodeURIComponent(
|
|
|
- getImageUrl(this.currentRow.picture.storePath)
|
|
|
|
|
|
|
+ getImageUrl(this.currentRow?.picture?.storePath)
|
|
|
)
|
|
)
|
|
|
});
|
|
});
|
|
|
this.text ='https://37xu1hy03623.vicp.fun/qms/fromQRCode/designDrawing.html' +
|
|
this.text ='https://37xu1hy03623.vicp.fun/qms/fromQRCode/designDrawing.html' +
|