update 价格BUG
This commit is contained in:
parent
9d9745e6c2
commit
9a70ee7892
@ -746,6 +746,7 @@ export default {
|
||||
|
||||
let res = await UpdateCommodityPriceAndQuantity(params);
|
||||
if (res && res.status) {
|
||||
this.showBottomPopup = false;
|
||||
this.$refs.uToast.show({
|
||||
message: "修改成功",
|
||||
type: "succeed",
|
||||
@ -754,20 +755,7 @@ export default {
|
||||
position: "top",
|
||||
});
|
||||
|
||||
// 静默更新数组
|
||||
let listParams = {
|
||||
kind_id: "1201,1202,1203",
|
||||
pageNum: 9999,
|
||||
pageSize: this.pageSize,
|
||||
product_state_id: this.currProductStateId,
|
||||
category_id: this.currCategoryId,
|
||||
openCount: true,
|
||||
};
|
||||
|
||||
let result = await GetProductList(listParams);
|
||||
if (result && result.status == 200) {
|
||||
this.commodityList = res.data.items;
|
||||
}
|
||||
await this.getProductList();
|
||||
}
|
||||
this.showBottomPopup = false;
|
||||
},
|
||||
|
||||
@ -680,7 +680,7 @@ export default {
|
||||
item_unit_price: item.item_unit_price_2 || item.item_unit_price,
|
||||
};
|
||||
});
|
||||
debugger;
|
||||
|
||||
let res = await UpdateCommodityPriceAndQuantity(params);
|
||||
if (res && res.status) {
|
||||
this.showBottomPopup = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user