Commit eb1f8e59 by liangjianmin

fix(shipOut): 更新图片管理功能,修正签收图片类型的字段及逻辑,确保图片上传与删除功能正常

parent 4de29887
Showing with 1 additions and 4 deletions
......@@ -963,9 +963,6 @@
this.noexebshowFalg = false;
// 初始化图片数组,防止报错
if (!this.list[index].sign_pic_ids) {
this.list[index].sign_pic_ids = [];
}
if (pic_type === 1 && !this.list[index].sign_img_list) {
this.list[index].sign_img_list = [];
}
......@@ -1042,7 +1039,7 @@
uni.hideLoading();
let data = JSON.parse(uploadFileRes.data);
if (data.code === 0) {
// 根据参数index更新list里的数组sign_pic_ids
// 根据参数index更新对应的图片列表
let itemToUpdate = this.list[index];
// 根据pic_type类型,将图片添加到对应的图片列表中
......
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