Commit 0dbf758e by LJM

修改entryID

parent b282019a
......@@ -227,7 +227,7 @@ export default {
this.goods_check_pic_list = Array.from({ length }, () => []);
this.form.pic_json = res.data.entrys.map(item => ({
ptEntryID: item.ptEntryID,
entryID: item.entryID,
goods_check_pic: ''
}));
} else {
......@@ -476,6 +476,7 @@ export default {
return false;
}
//商检图片必填
if (this.isInspOrg) {
// 使用every方法检查每个子数组是否满足条件
var isValid = this.goods_check_pic_list.every(subArray => subArray.length >= 2);
......
......@@ -178,7 +178,7 @@ export default {
this.tally_num = parseInt(e.target.value) + 1;
this.index = e.target.value;
this.total = 0;
this.detail_json = Array.from({ length: this.tally_num }, () => ({ origin: '', tally_num: '', ptEntryID: this.goods_list[this.goods_index].ptEntryID }));
this.detail_json = Array.from({ length: this.tally_num }, () => ({ origin: '', tally_num: '', entryID: this.goods_list[this.goods_index].entryID }));
}
},
getOrigin() {
......
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 sign in to comment