Commit 918abd5a authored by v-yuchenglong's avatar v-yuchenglong

update:添加商品修改样式,剩余库存显示问题

parent 9f754125
......@@ -211,7 +211,7 @@
prop="inventory_rest"
label="剩余库存"
></el-table-column>
<el-table-column fixed="right" label="操作" width="100">
<el-table-column label="操作" width="100">
<template #default="scope">
<el-button
@click="commodity('update', scope.row)"
......@@ -463,9 +463,10 @@ export default {
this.addCommodityPopup = true;
this.commodityForm = {};
if (type == "add") {
this.inventoryRest = 0;
this.commodityForm.total_amount_order = 0;
this.$refs.infoForm.resetFields();
this.addCommodityTitle = "商品添加";
this.$refs.infoForm.resetFields();
} else {
this.addCommodityTitle = "商品编辑";
this.goodsSkuID = val.goods_sku_id;
......
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 to comment