diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts index 7f9bd71e9..8a8f397c9 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts @@ -568,17 +568,7 @@ export const PurchasereceiptRequestMainRules = reactive({ * @returns {Array} 采购收货申请子表 */ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive([ - { - label: '包装号', - field: 'packingNumber', - sort: 'custom', - table: { - width: 150 - }, - isTableForm: false, - hiddenInMain:true, - isForm: false - }, + { label: '订单号', field: 'poNumber', @@ -587,6 +577,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive( width: 180, fixed: 'left' }, + sortSearchDefault:1, isForm: false, isSearch: true, - sortSearchDefault:1 }, { label: '采购订单号', @@ -96,26 +96,26 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 180 }, - isForm: true, - sortTableDefault:2, + isSearch:true, sortSearchDefault:3, - isSearch: true, - + isForm: true, + sortTableDefault:2 }, { label: '供应商代码', field: 'supplierCode', sort: 'custom', + sortTableDefault:1, table: { width: 150 }, - sortSearchDefault:2, - sortTableDefault:1, isSearch: true, + sortSearchDefault:2, form: { // labelMessage: '信息提示说明!!!', componentProps: { - isSearchList: true, // 开启查询弹窗 + disabled: true, + isSearchList: false, // 开启查询弹窗 searchListPlaceholder: '请选择供应商代码', // 输入框占位文本 searchField: 'code', // 查询弹窗赋值字段 searchTitle: '供应商信息', // 查询弹窗标题 @@ -177,6 +177,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: false, }, { label: '车牌号', @@ -195,7 +196,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( // width: 150 // }, // form: { - // value: 'spare_PartsReceipt', + // value: 'ASN_ExternalReceipt', // componentProps: { // disabled: true // } @@ -206,21 +207,21 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( label: '从仓库代码', field: 'fromWarehouseCode', sort: 'custom', + isTable:false, table: { width: 150 }, isForm: false, - isTable:false }, { label: '到仓库代码', field: 'toWarehouseCode', sort: 'custom', + isTable:false, table: { width: 150 }, isForm: false, - isTable:false }, { label: '从库区类型范围', @@ -250,37 +251,37 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( label: '从库区代码范围', field: 'fromAreaCodes', sort: 'custom', + isTable: false, table: { width: 150 }, isForm: false, - isTable:false }, { label: '到库区代码范围', field: 'toAreaCodes', sort: 'custom', + isTable: false, table: { width: 150 }, isForm: false, - isTable:false }, { label: '到月台代码', field: 'toDockCode', sort: 'custom', + isTable: false, table: { width: 150 }, isForm: false, - isTable:false }, { label: '业务类型', field: 'businessType', sort: 'custom', - isTable:false, + isTable: false, table: { width: 150 }, @@ -321,8 +322,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, - isTable:false, isForm: false, + isTable: false, }, { label: '创建者', @@ -331,8 +332,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, - isTable:false, isForm: false, + isTable: false, }, { label: '申请时间', @@ -354,8 +355,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, - isTable:false, isForm: false, + isTable: false, }, // { // label: '截止时间', @@ -406,6 +407,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( field: 'status', dictType: DICT_TYPE.REQUEST_STATUS, dictClass: 'string', + isSearch: false, isTable: true, sortTableDefault:3, isForm:false, @@ -426,8 +428,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', isTable: false, - sort: 'custom', isForm:false, + sort: 'custom', table: { width: 150 }, @@ -507,15 +509,15 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( { label: '标签状态', field: 'labelStatus', + sort: 'custom', dictType: DICT_TYPE.LABEL_STATUS, dictClass: 'string', - sort: 'custom', table: { width: 150 }, isForm: false, + isTable: false, isSearch: false, - isTable:false, }, { label: '操作', @@ -567,14 +569,16 @@ export const PurchasereceiptRequestMainRules = reactive({ * @returns {Array} 采购收货申请子表 */ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive([ + { label: '订单号', field: 'poNumber', + hiddenInMain:true, sort: 'custom', table: { width: 150 }, - hiddenInMain:true, + sortTableDefault:5, tableForm:{ isInpuFocusShow: true, searchListPlaceholder: '请选择订单号', @@ -619,6 +623,23 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive