update 价格BUG

This commit is contained in:
qijq 2025-08-05 12:03:06 +08:00
parent 9d9745e6c2
commit 9a70ee7892
2 changed files with 3 additions and 15 deletions

View File

@ -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;
},

View File

@ -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;