|
|
@ -50,6 +50,7 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isSearch: true, |
|
|
|
sortTableDefault:1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '状态', |
|
|
@ -68,7 +69,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
sortTableDefault:2, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '从仓库代码', |
|
|
@ -113,7 +115,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
sortTableDefault:3, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到仓库代码', |
|
|
@ -126,15 +129,15 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isTableForm:false, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '发货单号', |
|
|
|
field: 'asnNumber', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// label: '发货单号',
|
|
|
|
// field: 'asnNumber',
|
|
|
|
// sort: 'custom',
|
|
|
|
// table: {
|
|
|
|
// width: 150
|
|
|
|
// },
|
|
|
|
// isForm: false,
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
label: '申请时间', |
|
|
|
field: 'requestTime', |
|
|
@ -558,28 +561,28 @@ export const BalanceShow = useCrudSchemas( |
|
|
|
}, |
|
|
|
isSearch: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商代码', |
|
|
|
field: 'supplierCode', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
table: { |
|
|
|
width: 150, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商名称', |
|
|
|
field: 'supplierName', |
|
|
|
isForm:true, |
|
|
|
form:{ |
|
|
|
componentProps:{ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
} |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// label: '供应商代码',
|
|
|
|
// field: 'supplierCode',
|
|
|
|
// sort: 'custom',
|
|
|
|
// isSearch: false,
|
|
|
|
// table: {
|
|
|
|
// width: 150,
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: '供应商名称',
|
|
|
|
// field: 'supplierName',
|
|
|
|
// isForm:true,
|
|
|
|
// form:{
|
|
|
|
// componentProps:{
|
|
|
|
// disabled: true
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// table: {
|
|
|
|
// width: 180
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
label: '库存数量', |
|
|
|
field: 'qty', |
|
|
@ -1072,6 +1075,67 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
sortTableDefault:4, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '数量', |
|
|
|
field: 'qty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
componentProps: { |
|
|
|
disabled:false, |
|
|
|
min: 0, |
|
|
|
precision: 6 |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled:false, |
|
|
|
type: 'InputNumber', |
|
|
|
min: 0, |
|
|
|
precision: 6 |
|
|
|
}, |
|
|
|
sortTableDefault:13, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '计量单位', |
|
|
|
field: 'uom', |
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
type: 'Select', |
|
|
|
disabled: true |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
sortTableDefault:14, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '库存数量 ', |
|
|
|
field: 'inventoryQty', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
}, |
|
|
|
form:{ |
|
|
|
componentProps:{ |
|
|
|
disabled:true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -1083,6 +1147,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
sortTableDefault:5, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料描述1', |
|
|
@ -1093,6 +1158,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
sortTableDefault:6, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料描述2', |
|
|
@ -1103,6 +1169,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
sortTableDefault:7, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '从批次', |
|
|
@ -1136,7 +1203,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
searchAllSchemas: BalanceShow.allSchemas, |
|
|
|
searchPage: BalanceApi.selectLocationTypeToBalance, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
sortTableDefault:8, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到批次', |
|
|
@ -1145,55 +1213,58 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商代码', |
|
|
|
field: 'supplierCode', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
isDetail: true, |
|
|
|
table: { |
|
|
|
width: 150, |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
// isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择供应商', |
|
|
|
searchField: 'code', |
|
|
|
searchTitle: '供应商信息', |
|
|
|
searchAllSchemas: Supplieritem.allSchemas, |
|
|
|
searchPage: SupplierItemApi.getSupplieritemPage, |
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'itemCode', |
|
|
|
value: 'itemCode', |
|
|
|
message: '物料代码不能为空!', |
|
|
|
isTableRowValue: true, //查询当前searchTable表中行数据的值
|
|
|
|
isMainValue:false |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商名称', |
|
|
|
field: 'supplierName', |
|
|
|
isForm:true, |
|
|
|
isDetail: true, |
|
|
|
form:{ |
|
|
|
componentProps:{ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
isTableForm: true, |
|
|
|
isForm: true, |
|
|
|
sortTableDefault:9, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// label: '供应商代码',
|
|
|
|
// field: 'supplierCode',
|
|
|
|
// sort: 'custom',
|
|
|
|
// isSearch: false,
|
|
|
|
// isDetail: true,
|
|
|
|
// table: {
|
|
|
|
// width: 150,
|
|
|
|
// },
|
|
|
|
// tableForm: {
|
|
|
|
// // isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
// searchListPlaceholder: '请选择供应商',
|
|
|
|
// searchField: 'code',
|
|
|
|
// searchTitle: '供应商信息',
|
|
|
|
// searchAllSchemas: Supplieritem.allSchemas,
|
|
|
|
// searchPage: SupplierItemApi.getSupplieritemPage,
|
|
|
|
// searchCondition: [{
|
|
|
|
// key: 'available',
|
|
|
|
// value: 'TRUE',
|
|
|
|
// isMainValue: false
|
|
|
|
// },{
|
|
|
|
// key: 'itemCode',
|
|
|
|
// value: 'itemCode',
|
|
|
|
// message: '物料代码不能为空!',
|
|
|
|
// isTableRowValue: true, //查询当前searchTable表中行数据的值
|
|
|
|
// isMainValue:false
|
|
|
|
// }]
|
|
|
|
// },
|
|
|
|
// sortTableDefault:10,
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: '供应商名称',
|
|
|
|
// field: 'supplierName',
|
|
|
|
// isForm:true,
|
|
|
|
// isDetail: true,
|
|
|
|
// form:{
|
|
|
|
// componentProps:{
|
|
|
|
// disabled: true
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// table: {
|
|
|
|
// width: 180
|
|
|
|
// },
|
|
|
|
// tableForm: {
|
|
|
|
// disabled: true
|
|
|
|
// },
|
|
|
|
// sortTableDefault:11,
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
label: '到包装号', |
|
|
|
field: 'toPackingNumber', |
|
|
@ -1203,6 +1274,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false, |
|
|
|
sortTableDefault:12, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// label: '从器具号',
|
|
|
@ -1230,63 +1302,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
// isTableForm: false,
|
|
|
|
// isForm: false,
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
label: '库存数量 ', |
|
|
|
field: 'inventoryQty', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
}, |
|
|
|
form:{ |
|
|
|
componentProps:{ |
|
|
|
disabled:true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '数量', |
|
|
|
field: 'qty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
componentProps: { |
|
|
|
disabled:false, |
|
|
|
min: 0, |
|
|
|
precision: 6 |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled:false, |
|
|
|
type: 'InputNumber', |
|
|
|
min: 0, |
|
|
|
precision: 6 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '计量单位', |
|
|
|
field: 'uom', |
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
type: 'Select', |
|
|
|
disabled: true |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '从库位代码', |
|
|
|
field: 'fromLocationCode', |
|
|
@ -1301,75 +1318,77 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到库位代码', |
|
|
|
field: 'toLocationCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm:false, //放在主表展示了--喜婷
|
|
|
|
tableForm: { |
|
|
|
enterSearch: true, |
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择到库位代码', |
|
|
|
searchField: 'code', |
|
|
|
searchTitle: '库位信息', |
|
|
|
searchAllSchemas: Location.allSchemas, |
|
|
|
searchPage: LocationApi.selectBusinessTypeToLocation, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'type', |
|
|
|
value: 'businessType', |
|
|
|
isMainValue: true |
|
|
|
},{ |
|
|
|
key: 'isIn', |
|
|
|
value: 'in', |
|
|
|
isMainValue: false |
|
|
|
}], |
|
|
|
isRepeat:true, |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
enterSearch: true, |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择到库位代码', |
|
|
|
searchField: 'code', |
|
|
|
searchTitle: '库位信息', |
|
|
|
searchAllSchemas: Location.allSchemas, |
|
|
|
searchPage: LocationApi.selectBusinessTypeToLocation, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'type', |
|
|
|
value: 'businessType', |
|
|
|
isMainValue: true |
|
|
|
},{ |
|
|
|
key: 'isIn', |
|
|
|
value: 'in', |
|
|
|
isMainValue: false |
|
|
|
}], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
} |
|
|
|
sortTableDefault:15, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// label: '到库位代码',
|
|
|
|
// field: 'toLocationCode',
|
|
|
|
// sort: 'custom',
|
|
|
|
// table: {
|
|
|
|
// width: 150
|
|
|
|
// },
|
|
|
|
// isTableForm:false, //放在主表展示了--喜婷
|
|
|
|
// tableForm: {
|
|
|
|
// enterSearch: true,
|
|
|
|
// isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
// searchListPlaceholder: '请选择到库位代码',
|
|
|
|
// searchField: 'code',
|
|
|
|
// searchTitle: '库位信息',
|
|
|
|
// searchAllSchemas: Location.allSchemas,
|
|
|
|
// searchPage: LocationApi.selectBusinessTypeToLocation,
|
|
|
|
// searchCondition: [
|
|
|
|
// {
|
|
|
|
// key: 'type',
|
|
|
|
// value: 'businessType',
|
|
|
|
// isMainValue: true
|
|
|
|
// },{
|
|
|
|
// key: 'isIn',
|
|
|
|
// value: 'in',
|
|
|
|
// isMainValue: false
|
|
|
|
// }],
|
|
|
|
// isRepeat:true,
|
|
|
|
// verificationParams: [{
|
|
|
|
// key: 'code',
|
|
|
|
// action: '==',
|
|
|
|
// value: '',
|
|
|
|
// isMainValue: false,
|
|
|
|
// isSearch: true,
|
|
|
|
// isFormModel: true,
|
|
|
|
// }], // 失去焦点校验参数
|
|
|
|
// },
|
|
|
|
// form: {
|
|
|
|
// // labelMessage: '信息提示说明!!!',
|
|
|
|
// componentProps: {
|
|
|
|
// enterSearch: true,
|
|
|
|
// isSearchList: true, // 开启查询弹窗
|
|
|
|
// searchListPlaceholder: '请选择到库位代码',
|
|
|
|
// searchField: 'code',
|
|
|
|
// searchTitle: '库位信息',
|
|
|
|
// searchAllSchemas: Location.allSchemas,
|
|
|
|
// searchPage: LocationApi.selectBusinessTypeToLocation,
|
|
|
|
// searchCondition: [
|
|
|
|
// {
|
|
|
|
// key: 'type',
|
|
|
|
// value: 'businessType',
|
|
|
|
// isMainValue: true
|
|
|
|
// },{
|
|
|
|
// key: 'isIn',
|
|
|
|
// value: 'in',
|
|
|
|
// isMainValue: false
|
|
|
|
// }],
|
|
|
|
// verificationParams: [{
|
|
|
|
// key: 'code',
|
|
|
|
// action: '==',
|
|
|
|
// value: '',
|
|
|
|
// isMainValue: false,
|
|
|
|
// isSearch: true,
|
|
|
|
// isFormModel: true,
|
|
|
|
// }], // 失去焦点校验参数
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// sortTableDefault:16,
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
label: '从库存状态', |
|
|
|
field: 'fromInventoryStatus', |
|
|
@ -1388,7 +1407,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
sortTableDefault:17, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到库存状态', |
|
|
@ -1408,7 +1428,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
sortTableDefault:18, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// label: '从货主代码',
|
|
|
|