Commit 3f9f5e93 by LJM

bug

parent 673d5237
Showing with 8 additions and 4 deletions
......@@ -638,9 +638,10 @@
* 修改理货照片
*/
changeStockTallyImages() {
this.request(API.changeStockTallyImages, 'POST', this.changeStockTallyImagesParams, false).then(res => {
this.request(API.changeStockTallyImages, 'POST', this.changeStockTallyImagesParams, true).then(res => {
if (res.code === 0) {
this.detail.image_ids = this.image_list.join(','); //同步detail字段image_ids
this.$forceUpdate();
} else {
uni.showModal({
title: '提示',
......@@ -720,8 +721,11 @@
title: '打印成功',
icon: 'success'
});
this.getData();
this.filter_id = [];
setTimeout(() => {
this.resetChange();
this.getData();
this.filter_id = [];
}, 2000)
}, 5000);
} else {
uni.showModal({
......
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