add:安全库存设置添加多选框

This commit is contained in:
zhangzhiqiang
2022-11-21 14:04:38 +08:00
parent 30490e0ccb
commit 8d70b22241

View File

@@ -71,6 +71,10 @@
style="width: 100%;" style="width: 100%;"
@selection-change="crud.selectionChangeHandler" @selection-change="crud.selectionChangeHandler"
> >
<el-table-column
type="selection"
width="55"
/>
<el-table-column prop="stor_code" label="仓库编码" /> <el-table-column prop="stor_code" label="仓库编码" />
<el-table-column prop="stor_name" label="仓库名称" /> <el-table-column prop="stor_name" label="仓库名称" />
<el-table-column prop="material_code" label="物料编码" min-width="150" show-overflow-tooltip /> <el-table-column prop="material_code" label="物料编码" min-width="150" show-overflow-tooltip />
@@ -214,7 +218,7 @@ export default {
// } // }
const data = {} const data = {}
data.stor_id = '1473162033548627968' data.stor_id = '1473162033548627968'
data.rows = this.crud.data data.rows = this.crud.selections
crudMaterialsafeivt.insertSafeBj(data).then(() => { crudMaterialsafeivt.insertSafeBj(data).then(() => {
this.crud.dleChangePage(1) this.crud.dleChangePage(1)
this.crud.editSuccessNotify() this.crud.editSuccessNotify()