From d923e6f04ea0a415e23bb94e826e628f1fae9e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=BA=86=E6=BA=90?= Date: Tue, 13 May 2025 17:31:46 +0800 Subject: [PATCH] =?UTF-8?q?[SBBJ-930]=E5=BD=93=E5=89=8D=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=B7=B2=E5=87=BA=E5=BA=93=E6=95=B0=E9=87=8F?= =?UTF-8?q?=EF=BC=8C=20=E4=BB=A5=E7=94=B3=E9=A2=86=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../item/itemApplyMain/itemApplyMain.data.ts | 14 +++++++---- .../item/itemOrderMain/itemOrderMain.data.ts | 23 +++++++++++-------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts b/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts index 297f060..d211fc5 100644 --- a/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts +++ b/src/views/eam/item/itemApplyMain/itemApplyMain.data.ts @@ -137,6 +137,9 @@ export const ItemApplyMainRules = reactive({ available: [ { required: true, message: '请选择是否可用', trigger: 'change' } ], + costCenter:[ + { required: true, message: '请填写描述', trigger: 'change' } + ], }) @@ -355,8 +358,8 @@ export const ItemApplyDetail = useCrudSchemas(reactive([ isTable:false, }, { - label: '已申请库存数量', - field: 'requestQty', + label: '可申请库存数量', + field: 'availableQty', sort: 'custom', table: { width: 150 @@ -368,10 +371,11 @@ export const ItemApplyDetail = useCrudSchemas(reactive([ min: 0, precision: 2 }, + isTable:false, }, { - label: '可申请库存数量', - field: 'availableQty', + label: '已出库数量', + field: 'requestQty', sort: 'custom', table: { width: 150 @@ -383,8 +387,8 @@ export const ItemApplyDetail = useCrudSchemas(reactive([ min: 0, precision: 2 }, - isTable:false, }, + // { // label: '是否账内库', // field: 'isInAccount', diff --git a/src/views/eam/item/itemOrderMain/itemOrderMain.data.ts b/src/views/eam/item/itemOrderMain/itemOrderMain.data.ts index 963859e..d33ea9a 100644 --- a/src/views/eam/item/itemOrderMain/itemOrderMain.data.ts +++ b/src/views/eam/item/itemOrderMain/itemOrderMain.data.ts @@ -246,7 +246,7 @@ export const ItemOrderDetail = useCrudSchemas(reactive([ } }, { - label: '库存数量', + label: '订单数量', field: 'qty', sort: 'custom', table: { @@ -265,18 +265,21 @@ export const ItemOrderDetail = useCrudSchemas(reactive([ precision: 6 } }, - { - label: '操作', - field: 'action', - isDetail: false, - isForm: false, + label: '已收货数量', + field: 'intQuantity', + sort: 'custom', table: { - width: 150, - fixed: 'right' + width: 150 }, - isTableForm: false, - } + isForm: false, + tableForm: { + disabled: true, + type: 'InputNumber', + min: 0, + precision: 2 + }, + }, ])) //表单校验