Browse Source

物料库区配置管理

master_hella_20240701
yufei0306 7 months ago
parent
commit
7b0f23f631
  1. 1
      README.md
  2. 2
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue

1
README.md

@ -28,6 +28,7 @@ form: {
}
**tableForm明细列表查询弹窗配置**
tableForm:{
hidden:false,//控制列是否展示
isInpuFocusShow: true, // 开启查询弹窗 【**与form表单中唯一不同属性**】
searchListPlaceholder: '请选择从仓库代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段

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

@ -45,6 +45,7 @@
@success="getList"
:rules="ItemareaRules"
:isOpenSearchTable="true"
fieldTableColumn="locationCode"
:formAllSchemas="Itemarea.allSchemas"
:tableAllSchemas="ItemareaDetail.allSchemas"
:tableFormRules="ItemareaDetailRules"
@ -122,6 +123,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
val.forEach(item=>{
const newRow = {...row}
if(formField == 'locationCode') {
if(tableData.value.find(item1=>item1['locationCode'] == item['code'])) return
newRow['locationCode'] = item['code']
}else{
newRow[formField] = item[searchField]

Loading…
Cancel
Save