Browse Source

记录修改字段

intex_onlin20250418
叶佳兴 7 days ago
parent
commit
0ae9bd94dc
  1. 58
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainOKHOLD/inventorymoveRecordMainOKHOLD.data.ts
  2. 6
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue
  3. 165
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts

58
src/views/wms/moveManage/inventorymove/inventorymoveRecordMainOKHOLD/inventorymoveRecordMainOKHOLD.data.ts

@ -228,35 +228,35 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
sortTableDefault:9, sortTableDefault:9,
}, },
{ // {
label: '责任', // label: '责任',
field: 'duty', // field: 'duty',
dictType: DICT_TYPE.DUTY, // dictType: DICT_TYPE.DUTY,
dictClass: 'string', // dictClass: 'string',
table: { // table: {
width: 150 // width: 150
}, // },
sortTableDefault:9, // sortTableDefault:9,
}, // },
{ // {
label: '部门', // label: '部门',
field: 'dutyDept', // field: 'dutyDept',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
sortTableDefault:9, // sortTableDefault:9,
}, // },
{ // {
label: '责任明细', // label: '责任明细',
field: 'dutyDetails', // field: 'dutyDetails',
dictType: DICT_TYPE.DUTY_DETAILS, // dictType: DICT_TYPE.DUTY_DETAILS,
dictClass: 'string', // dictClass: 'string',
table: { // table: {
width: 150 // width: 150
}, // },
sortTableDefault:9, // sortTableDefault:9,
}, // },
// { // {
// label: '部门', // label: '部门',

6
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue

@ -438,9 +438,9 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:`wms:${routeName.value}:create`}), // defaultButtons.defaultAddBtn({hasPermi:`wms:inventorymove-request-main:create`}), //
defaultButtons.defaultImportBtn({hasPermi:`wms:${routeName.value}:import`}), // defaultButtons.defaultImportBtn({hasPermi:`wms:inventorymove-request-main:import`}), //
defaultButtons.defaultExportBtn({hasPermi:`wms:${routeName.value}:export`}), // defaultButtons.defaultExportBtn({hasPermi:`wms:inventorymove-request-main:export`}), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), // defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //

165
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts

@ -71,52 +71,52 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
sortTableDefault:2, sortTableDefault:2,
}, },
{ // {
label: '从仓库代码', // label: '从仓库代码',
field: 'fromWarehouseCode', // field: 'fromWarehouseCode',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
tableForm: { // tableForm: {
enterSearch: true, // enterSearch: true,
isInpuFocusShow: true, // 开启查询弹窗 // isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择从仓库代码', // searchListPlaceholder: '请选择从仓库代码',
searchField: 'code', // searchField: 'code',
searchTitle: '仓库基础信息', // searchTitle: '仓库基础信息',
searchAllSchemas: Warehouse.allSchemas, // searchAllSchemas: Warehouse.allSchemas,
searchPage: WarehouseApi.pageBusinessTypeToWarehouse, // searchPage: WarehouseApi.pageBusinessTypeToWarehouse,
verificationParams: [{ // verificationParams: [{
key: 'code', // key: 'code',
action: '==', // action: '==',
value: '', // value: '',
isMainValue: false, // isMainValue: false,
isSearch: true, // isSearch: true,
isFormModel: true, // isFormModel: true,
}], // 失去焦点校验参数 // }], // 失去焦点校验参数
}, // },
form: { // form: {
// labelMessage: '信息提示说明!!!', // // labelMessage: '信息提示说明!!!',
componentProps: { // componentProps: {
enterSearch: true, // enterSearch: true,
isSearchList: true, // isSearchList: true,
searchListPlaceholder: '请选择从仓库代码', // searchListPlaceholder: '请选择从仓库代码',
searchField: 'code', // searchField: 'code',
searchTitle: '仓库基础信息', // searchTitle: '仓库基础信息',
searchAllSchemas: Warehouse.allSchemas, // searchAllSchemas: Warehouse.allSchemas,
searchPage: WarehouseApi.pageBusinessTypeToWarehouse, // searchPage: WarehouseApi.pageBusinessTypeToWarehouse,
verificationParams: [{ // verificationParams: [{
key: 'code', // key: 'code',
action: '==', // action: '==',
value: '', // value: '',
isMainValue: false, // isMainValue: false,
isSearch: true, // isSearch: true,
isFormModel: true, // isFormModel: true,
}], // 失去焦点校验参数 // }], // 失去焦点校验参数
} // }
}, // },
sortTableDefault:3, // sortTableDefault:3,
}, // },
{ {
label: '到仓库代码', label: '到仓库代码',
field: 'toWarehouseCode', field: 'toWarehouseCode',
@ -159,6 +159,45 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
}, },
{
label: '到库位代码', // 子表数据--新增在form上展示
field: 'toLocationCode',
sort: 'custom',
isForm:true,
isTable:false,
isDetail:false,
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
enterSearch: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择到库位代码',
searchField: 'code',
searchTitle: '库位信息',
searchAllSchemas: Location.allSchemas,
searchPage: LocationApi.selectBusinessTypeToLocation,
searchCondition: [
{
key: 'businessType',
value: 'OkToHold',
isMainValue: false
},{
key: 'isIn',
value: 'in',
isMainValue: false
}],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}
}
},
{ {
label: '到库位代码', // 子表数据--新增在form上展示 label: '到库位代码', // 子表数据--新增在form上展示
field: 'toLocationCode', field: 'toLocationCode',
@ -1186,9 +1225,15 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
isInpuFocusShow: false, // 开启查询弹窗 isInpuFocusShow: false, // 开启查询弹窗
searchListPlaceholder: '请选择从批次', searchListPlaceholder: '请选择从批次',
searchField: 'packingNumber', searchField: 'packingNumber',
searchTitle: '库存余额信息', searchTitle: '库存余额信息1',
searchAllSchemas: BalancePopWindow.allSchemas, searchAllSchemas: BalancePopWindow.allSchemas,
searchPage: BalanceApi.selectLocationTypeToBalance, searchPage: BalanceApi.selectLocationTypeToBalance,
searchCondition: [
{
key: 'aaa',
value: '123',
isMainValue: false
}],
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -1198,9 +1243,15 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择从批次', searchListPlaceholder: '请选择从批次',
searchField: 'packingNumber', searchField: 'packingNumber',
searchTitle: '库存余额信息', searchTitle: '库存余额信息1',
searchAllSchemas: BalancePopWindow.allSchemas, searchAllSchemas: BalancePopWindow.allSchemas,
searchPage: BalanceApi.selectLocationTypeToBalance, searchPage: BalanceApi.selectLocationTypeToBalance,
searchCondition: [
{
key: 'aaa',
value: '123',
isMainValue: false
}],
} }
}, },
sortTableDefault:8, sortTableDefault:8,
@ -1316,23 +1367,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
// }, // },
{
label: '从库位代码',
field: 'fromLocationCode',
sort: 'custom',
table: {
width: 150
},
tableForm: {
disabled: true
},
form: {
componentProps: {
disabled: true
}
},
sortTableDefault:15,
},
// { // {
// label: '到库位代码', // label: '到库位代码',
// field: 'toLocationCode', // field: 'toLocationCode',

Loading…
Cancel
Save