Commit 9cba68e2 by LJM

bug

parent 0cf12fbc
Showing with 9 additions and 4 deletions
......@@ -230,11 +230,16 @@ export default {
if (res.err_code === 0) {
this.disabled = false;
this.isInspOrg = Boolean(res.data.isInspOrg); //是否商检
this.list = res.data.entrys;
const length = res.data.entrys.length;
this.list = res.data.entrys.filter(function(entry) {
return entry.isEntryInspOrg === true;
});
const length = this.list.length;
this.goods_check_pic_list = Array.from({ length }, () => []);
this.form.pic_json = res.data.entrys.map(item => ({
this.form.pic_json = this.list.map(item => ({
entryID: item.entryID,
goods_check_pic: ''
}));
......
......@@ -2,7 +2,7 @@ const API_BASE = 'https://api.ichunt.com';
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
// const API_BASE = 'http://api.liexin.com';
// const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
// const API_BASE_OSS = 'http://image.liexindev.net';
const API = {
/**
......
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