update:商品映射配置新增商品货号提交字段 并且提交后获取最新表单数据
This commit is contained in:
parent
2f34bf490b
commit
e45e05fe99
@ -310,6 +310,7 @@
|
|||||||
specUnit: item.specUnit,
|
specUnit: item.specUnit,
|
||||||
description: item.description,
|
description: item.description,
|
||||||
sortOrder: item.sortOrder,
|
sortOrder: item.sortOrder,
|
||||||
|
productNumber:item.productNumber
|
||||||
}))
|
}))
|
||||||
|
|
||||||
// 过滤掉空项(新增模式下)
|
// 过滤掉空项(新增模式下)
|
||||||
@ -343,6 +344,7 @@
|
|||||||
|
|
||||||
if (res.status === 200) {
|
if (res.status === 200) {
|
||||||
this.$message.success('操作成功');
|
this.$message.success('操作成功');
|
||||||
|
this.$emit('refresh'); //刷新
|
||||||
this.drawerVisible = false; // 关闭抽屉
|
this.drawerVisible = false; // 关闭抽屉
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('操作失败: ' + res.msg);
|
this.$message.error('操作失败: ' + res.msg);
|
||||||
|
|||||||
@ -156,6 +156,7 @@
|
|||||||
:mode="formMode"
|
:mode="formMode"
|
||||||
:shop-list-data="shopList"
|
:shop-list-data="shopList"
|
||||||
@success="handleSuccess"
|
@success="handleSuccess"
|
||||||
|
@refresh="getGoodsList"
|
||||||
/>
|
/>
|
||||||
<BatchProductOperation :visible.sync="batchVisible"/>
|
<BatchProductOperation :visible.sync="batchVisible"/>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user