Browse Source

物料库区配置

hella_online_20240829
wangyufei 4 months ago
parent
commit
d647a17591
  1. 6
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue

6
src/views/wms/basicDataManage/itemManage/itemarea/index.vue

@ -42,7 +42,7 @@
<!-- 表单弹窗添加/修改 --> <!-- 表单弹窗添加/修改 -->
<BasicForm <BasicForm
ref="formRef" ref="formRef"
@success="submitForm" @success="getList"
:rules="ItemareaRules" :rules="ItemareaRules"
:isOpenSearchTable="true" :isOpenSearchTable="true"
fieldTableColumn="locationCode" fieldTableColumn="locationCode"
@ -52,7 +52,7 @@
:tableData="tableData" :tableData="tableData"
:apiUpdate="ItemareaApi.updateItemarea" :apiUpdate="ItemareaApi.updateItemarea"
:apiCreate="ItemareaApi.createItemarea" :apiCreate="ItemareaApi.createItemarea"
:isBusiness="false" :isBusiness="true"
@handleAddTable="handleAddTable" @handleAddTable="handleAddTable"
@handleDeleteTable="handleDeleteTable" @handleDeleteTable="handleDeleteTable"
:isShowReduceButtonSelection="true" :isShowReduceButtonSelection="true"
@ -361,7 +361,7 @@ const tableSelectionDelete = (selection) => {
} }
// //
const submitForm = async (formType, data) => { const submitForm = async (formType, data) => {
// data.subList = tableData.value // data.subList = tableData.value //
try { try {
if (formType === 'create') { if (formType === 'create') {
await ItemareaApi.createItemarea(data) await ItemareaApi.createItemarea(data)

Loading…
Cancel
Save