Browse Source

计划外出库申请,优化界面显示,选择完原因代码后回显描述, 选择列表中列宽自适应宽度显示 HL-5763

hella_online_20240904
YEJIAXING-PC\lenovo 3 months ago
parent
commit
03add90ca1
  1. 3
      src/views/wms/basicDataManage/subject/subjectAccount/subjectAccount.data.ts
  2. 1
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue
  3. 15
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts

3
src/views/wms/basicDataManage/subject/subjectAccount/subjectAccount.data.ts

@ -163,6 +163,9 @@ export const SubjectAccount = useCrudSchemas(
field: 'accountingName',
sort: 'custom',
isSearch: false,
table: {
width: 300
},
form: {
componentProps: {
disabled: false

1
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue

@ -150,6 +150,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
}
if(formField === 'reasonCodeRequisition'){
setV['reasonCodeRequisition'] = val[0]['code']
setV['reasonDescRequisition'] = val[0]['accountingName']
}
if(formField === 'projectCode'){
setV['projectCode'] = val[0]['projectCode']

15
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts

@ -227,7 +227,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
componentProps: {
enterSearch: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本
searchListPlaceholder: '请选择领用原因代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '领用原因代码', // 查询弹窗标题
searchAllSchemas: SubjectAccount.allSchemas, // 查询弹窗所需类
@ -303,6 +303,19 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '领用原因描述',
field: 'reasonDescRequisition',
sort: 'custom',
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
},
{
label: '工作中心',
field: 'workCenter',

Loading…
Cancel
Save