|
@ -28,6 +28,137 @@ const queryParams = { |
|
|
userDept.id = userDept.id.toString() |
|
|
userDept.id = userDept.id.toString() |
|
|
const userDeptArray:any = [userDept] |
|
|
const userDeptArray:any = [userDept] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 采购收货记录展示列
|
|
|
|
|
|
const PurchasereceiptRecordMain1 = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
{ |
|
|
|
|
|
label: '物料代码', |
|
|
|
|
|
field: 'itemCode', |
|
|
|
|
|
fixed: 'left', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '发货单号', |
|
|
|
|
|
field: 'asnNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '采购订单号', |
|
|
|
|
|
field: 'poNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '订单行', |
|
|
|
|
|
field: 'poLine', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
label: '物料名称', |
|
|
|
|
|
field: 'itemName', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '批次', // 实际是子表的从批次,为了不影响页面,单独放上面
|
|
|
|
|
|
field: 'fromBatch', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isForm:false, |
|
|
|
|
|
isTableForm:false, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '数量', |
|
|
|
|
|
field: 'qty', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '计量单位', |
|
|
|
|
|
field: 'uom', |
|
|
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '包装号', // 实际是子表的从包装号,为了不影响页面,单独放上面
|
|
|
|
|
|
field: 'fromPackingNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '包装规格', |
|
|
|
|
|
field: 'packUnit', |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '包装数量', |
|
|
|
|
|
field: 'packQty', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'InputNumber', |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
}, |
|
|
|
|
|
isForm:false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '从库位代码', |
|
|
|
|
|
field: 'fromLocationCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '到库位代码', |
|
|
|
|
|
field: 'toLocationCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
])) |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @returns {Array} 采购退货申请主表 |
|
|
* @returns {Array} 采购退货申请主表 |
|
|
*/ |
|
|
*/ |
|
@ -99,9 +230,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
searchListPlaceholder: '请选择采购收货记录单号', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择采购收货记录单号', // 输入框占位文本
|
|
|
searchField: 'number', // 查询弹窗赋值字段
|
|
|
searchField: 'number', // 查询弹窗赋值字段
|
|
|
searchTitle: '采购收货记录', // 查询弹窗标题
|
|
|
searchTitle: '采购收货记录', // 查询弹窗标题
|
|
|
isConcatDetailSchemas:true, |
|
|
searchAllSchemas: PurchasereceiptRecordMain1.allSchemas, // 查询弹窗所需类
|
|
|
searchDetailSchemas: PurchasereceiptRecordDetail.allSchemas, |
|
|
|
|
|
searchAllSchemas: PurchasereceiptRecordMain.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailPage, // 查询弹窗所需分页方法
|
|
|
searchPage: PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailPage, // 查询弹窗所需分页方法
|
|
|
searchCondition: [ |
|
|
searchCondition: [ |
|
|
{ |
|
|
{ |
|
@ -1455,3 +1584,4 @@ export const PurchasereReturnRequestDetailLabel = useCrudSchemas(reactive<CrudSc |
|
|
isForm: true |
|
|
isForm: true |
|
|
}, |
|
|
}, |
|
|
])) |
|
|
])) |
|
|
|
|
|
|
|
|