Browse Source

BUG修复

1、WMS补料申请中应该根据业务类型筛选显示物料代码的数据,不应该显示全部物料
master_hella_20240701
bjang03 6 months ago
parent
commit
941f439fc0
  1. 15
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts

15
src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts

@ -17,7 +17,8 @@ const { t } = useI18n() // 国际化
const queryParams = { const queryParams = {
pageSize:10, pageSize:10,
pageNo:1, pageNo:1,
code:'RepleinmentRequest' code:'RepleinmentRequest',
businessTypeCode: 'Repleinment'
} }
const data = await getRequestsettingApi.getRequestsettingPage(queryParams) const data = await getRequestsettingApi.getRequestsettingPage(queryParams)
const requestsettingData =data?.list[0]||{} const requestsettingData =data?.list[0]||{}
@ -542,7 +543,12 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
value: 'OK', value: 'OK',
componentProps: { componentProps: {
disabled: true disabled: true,
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
}, },
table: { table: {
@ -579,7 +585,7 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物料代码', label: '物料代码1',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -615,6 +621,9 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
},{
key : 'businessTypeCode',
value: queryParams.businessTypeCode
}] }]
}, },
}, },

Loading…
Cancel
Save