Browse Source

添加明细-弹窗

hella_online_20241017
yufei_wang 1 month ago
parent
commit
58233b1bba
  1. 36
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  2. 2
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

36
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

@ -995,14 +995,40 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 150 width: 150
}, },
tableForm: {
disabled: true
},
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: true,
isSearchList: true,
searchListPlaceholder: '请选择物料代码',
searchField: 'itemCode',
searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceByBusinessCategoryByItemType,
searchCondition: []
} }
} },
tableForm:{
disabled:true,
multiple:true,
// isInpuFocusShow: true,
searchListPlaceholder: '请选择物料代码', // 输入框占位文本
searchField: 'itemCode', // 查询弹窗赋值字段
searchTitle: '库存余额信息', // 查询弹窗标题
searchAllSchemas: Balance.allSchemas, // 查询弹窗所需类
searchPage: BalanceApi.getBalanceByBusinessCategoryByItemType, // 查询弹窗所需分页方法
searchCondition:[
{
key: 'available',
value: 'TRUE',
isMainValue: false
},
{
message: '请选择从库位代码!',
key: 'fromLocationCode',
value: 'fromLocationCode',
isMainValue: true
}]
},
}, },
{ {
label: '物料名称', label: '物料名称',

2
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

@ -51,6 +51,8 @@
:apiUpdate="CustomerreturnRequestMainApi.updateCustomerreturnRequestMain" :apiUpdate="CustomerreturnRequestMainApi.updateCustomerreturnRequestMain"
:apiCreate="CustomerreturnRequestMainApi.createCustomerreturnRequestMain" :apiCreate="CustomerreturnRequestMainApi.createCustomerreturnRequestMain"
:isBusiness="true" :isBusiness="true"
fieldTableColumn="itemCode"
:isOpenSearchTable="true"
@handleAddTable="handleAddTable" @handleAddTable="handleAddTable"
@handleDeleteTable="handleDeleteTable" @handleDeleteTable="handleDeleteTable"
:isShowReduceButtonSelection="true" :isShowReduceButtonSelection="true"

Loading…
Cancel
Save