diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts index a9564865c..85b7abc3d 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts @@ -715,63 +715,6 @@ export const PurchasePlanDetail = useCrudSchemas( isDetail:false, isSearch:true, }, - { - label: '订单行', - field: 'poLine', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault: 16, - form: { - // labelMessage: '信息提示说明!!!', - componentProps: { - disabled: true, - isSearchList: false, - searchListPlaceholder: '请选择订单行', - searchField: 'lineNumber', - searchTitle: '采购订单信息', - searchAllSchemas: PurchaseDetail.allSchemas, - searchPage: PurchaseDetailApi.getPurchaseDetailPagePoNumber, - searchCondition: [ - { - key: 'number', - value: 'poNumber', - message: '请填写订单号!', - isMainValue: true - }, - { - key: 'available', - value: 'TRUE', - isMainValue: false - } - ] - } - }, - tableForm: { - multiple: true, - disabled: true, - isInpuFocusShow: false, - searchListPlaceholder: '请选择订单行', - searchField: 'lineNumber', - searchTitle: '采购订单信息', - searchAllSchemas: PurchaseDetail.allSchemas, - searchPage: PurchaseDetailApi.getPurchaseDetailPagePoNumber, - searchCondition: [ - { - key: 'number', - value: 'poNumber', - message: '请填写订单号!', - isMainValue: true - }, - { - key: 'available', - value: 'TRUE', - isMainValue: false - } - ] - } - }, { label: '品番', field: 'itemCode', @@ -827,14 +770,14 @@ export const PurchasePlanDetail = useCrudSchemas( isTableForm: false, isForm: false, isTable: true, - isDetail:false + isDetail: false }, { label: '背番', field: 'backNumber', sort: 'custom', isSearch: true, - hiddenSearchHigh:true, + hiddenSearchHigh: true, table: { width: 150 }, @@ -851,25 +794,137 @@ export const PurchasePlanDetail = useCrudSchemas( } }, { - label: '品番状态', - field: 'itemStatus', + label: '计划采购数量', + field: 'planQty', sort: 'custom', - dictType: DICT_TYPE.ITEM_STATUS, - dictClass: 'string', - isTable: true, - sortSearchDefault: 10, - sortTableDefault: 19, - hiddenInMain: true, + sortSearchDefault: 9, + sortTableDefault: 21, table: { width: 150 }, + tableForm: { + type: 'InputNumber', + precision: 6 + }, + form: { + component: 'InputNumber', + componentProps: { + min: 0, + precision: 6 + } + } + }, + { + label: '受入号', + field: 'receivedNumber', + sort: 'custom', + sortSearchDefault: 1001, + sortTableDefault: 20, + isSearch: true, + table: { + width: 150 + }, + isTableForm: true, + hiddenInMain: true, + isForm: true, form: { componentProps: { disabled: true } }, tableForm: { - type: 'Select', + // type: 'Select', + disabled: true, + isPlaceholder: false + } + }, + { + label: '采购计量单位', + field: 'purchaseStdUom', + dictType: DICT_TYPE.UOM, + sort: 'custom', + sortSearchDefault: 9, + sortTableDefault: 25, + isForm: false, + isSearch: false, + isTableForm: true, + table: { + width: 150 + }, + tableForm: { + disabled: true + } + }, + { + label: '订单行', + field: 'poLine', + sort: 'custom', + table: { + width: 150 + }, + sortTableDefault: 16, + form: { + // labelMessage: '信息提示说明!!!', + componentProps: { + disabled: true, + isSearchList: false, + searchListPlaceholder: '请选择订单行', + searchField: 'lineNumber', + searchTitle: '采购订单信息', + searchAllSchemas: PurchaseDetail.allSchemas, + searchPage: PurchaseDetailApi.getPurchaseDetailPagePoNumber, + searchCondition: [ + { + key: 'number', + value: 'poNumber', + message: '请填写订单号!', + isMainValue: true + }, + { + key: 'available', + value: 'TRUE', + isMainValue: false + } + ] + } + }, + tableForm: { + multiple: true, + disabled: true, + isInpuFocusShow: false, + searchListPlaceholder: '请选择订单行', + searchField: 'lineNumber', + searchTitle: '采购订单信息', + searchAllSchemas: PurchaseDetail.allSchemas, + searchPage: PurchaseDetailApi.getPurchaseDetailPagePoNumber, + searchCondition: [ + { + key: 'number', + value: 'poNumber', + message: '请填写订单号!', + isMainValue: true + }, + { + key: 'available', + value: 'TRUE', + isMainValue: false + } + ] + } + }, + { + label: '采购标包数量', + field: 'purchaseStdQty', + sort: 'custom', + sortSearchDefault: 8, + sortTableDefault: 24, + isForm: false, + isSearch: false, + isTableForm: true, + table: { + width: 150 + }, + tableForm: { disabled: true } }, @@ -894,27 +949,41 @@ export const PurchasePlanDetail = useCrudSchemas( sortTableDefault: 1000, }, { - label: '受入号', - field: 'receivedNumber', + label: '转换率', + field: 'convertRate', sort: 'custom', - sortSearchDefault: 1001, - sortTableDefault: 20, - isSearch:true, + sortSearchDefault: 9, + sortTableDefault: 26, + isForm: false, + isSearch: false, table: { width: 150 }, - isTableForm: true, + tableForm: { + disabled: true + } + }, + { + label: '品番状态', + field: 'itemStatus', + sort: 'custom', + dictType: DICT_TYPE.ITEM_STATUS, + dictClass: 'string', + isTable: true, + sortSearchDefault: 10, + sortTableDefault: 19, hiddenInMain: true, - isForm: true, + table: { + width: 150 + }, form: { componentProps: { disabled: true } }, tableForm: { - // type: 'Select', - disabled: true, - isPlaceholder:false + type: 'Select', + disabled: true } }, { @@ -939,27 +1008,7 @@ export const PurchasePlanDetail = useCrudSchemas( } } }, - { - label: '计划采购数量', - field: 'planQty', - sort: 'custom', - sortSearchDefault: 9, - sortTableDefault: 21, - table: { - width: 150 - }, - tableForm: { - type: 'InputNumber', - precision: 6 - }, - form: { - component: 'InputNumber', - componentProps: { - min: 0, - precision: 6 - } - } - }, + // { // label: '订单数量', // field: 'orderQty', @@ -978,22 +1027,7 @@ export const PurchasePlanDetail = useCrudSchemas( // disabled: true // } // }, - { - label: '采购标包数量', - field: 'purchaseStdQty', - sort: 'custom', - sortSearchDefault: 8, - sortTableDefault:24, - isForm: false, - isSearch: false, - isTableForm: true, - table: { - width: 150 - }, - tableForm: { - disabled:true - } - }, + { label: '计划采购计量单位', field: 'uom', @@ -1018,39 +1052,6 @@ export const PurchasePlanDetail = useCrudSchemas( disabled: true } }, - - { - label: '采购计量单位', - field: 'purchaseStdUom', - dictType: DICT_TYPE.UOM, - sort: 'custom', - sortSearchDefault: 9, - sortTableDefault:25, - isForm: false, - isSearch: false, - isTableForm: true, - table: { - width: 150 - }, - tableForm: { - disabled: true - } - }, - { - label: '转换率', - field: 'convertRate', - sort: 'custom', - sortSearchDefault: 9, - sortTableDefault: 26, - isForm: false, - isSearch: false, - table: { - width: 150 - }, - tableForm: { - disabled: true - } - }, { label: '已发采购数量', field: 'shippedQty',