Browse Source

修复物料降级筛选问题

master_hella_20240701
chenfang 4 months ago
parent
commit
7ebe57db56
  1. 43
      src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts
  2. 22
      src/views/wms/inventoryManage/balance/index.vue

43
src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts

@ -536,33 +536,6 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 120 width: 120
}, },
}, },
{
label: '到库位代码',
field: 'toLocationCode',
sort: 'custom',
tableForm:{
isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择到库位代码',
searchField: 'code',
searchTitle: '库位信息',
searchAllSchemas: Location.allSchemas,
searchPage: LocationApi.selectBusinessTypeToLocation,
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择到库位代码',
searchField: 'code',
searchTitle: '库位信息',
searchAllSchemas: Location.allSchemas,
searchPage: LocationApi.selectBusinessTypeToLocation,
}
},
table: {
width: 120
},
},
{ {
label: '包装规格', label: '包装规格',
field: 'packUnit', field: 'packUnit',
@ -574,6 +547,14 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchTitle: '包装规格', searchTitle: '包装规格',
searchAllSchemas: Itempackaging.allSchemas, searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItempackageApi.getItempackagingPage, searchPage: ItempackageApi.getItempackagingPage,
searchCondition:[
{
key: 'itemCode',
value: 'downItemCode',
message: "请选择降级物料代码",
isMainValue: true
}
]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -584,6 +565,14 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchTitle: '包装规格', searchTitle: '包装规格',
searchAllSchemas: Itempackaging.allSchemas, searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItempackageApi.getItempackagingPage, searchPage: ItempackageApi.getItempackagingPage,
searchCondition:[
{
key: 'itemCode',
value: 'downItemCode',
message: "请选择降级物料代码",
isMainValue: true
}
]
} }
}, },
table: { table: {

22
src/views/wms/inventoryManage/balance/index.vue

@ -189,17 +189,17 @@ const handleSelectionPoint = async ()=>{
} }
// - // -
const butttondata = [ const butttondata = [
// { {
// label: '', label: '标签信息',
// name: 'bqxx', name: 'bqxx',
// hide: false, hide: false,
// type: 'primary', type: 'primary',
// icon: '', icon: '',
// color: '', color: '',
// link: true, link: true,
// float:'right', float:'right',
// hasPermi: '' hasPermi: ''
// }, },
defaultButtons.mainListPointBtn(null), // defaultButtons.mainListPointBtn(null), //
// defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), // // defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), //

Loading…
Cancel
Save