From 6ee23e0729e7d1b000b9381a978409786b8b7e56 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Tue, 27 Aug 2024 14:31:27 +0800 Subject: [PATCH] =?UTF-8?q?HL-5657=E7=BB=93=E7=AE=97=E5=87=BA=E5=BA=93=20?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E8=AE=A2=E5=8D=95=E8=A1=8C=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E5=81=9A=E6=A0=A1=E9=AA=8C(=E7=9B=AE=E5=89=8D?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E9=97=AE=E9=A2=98=E5=9C=A8=E4=BA=8E=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E8=A1=8C=E6=95=B0=E9=87=8F=E5=B7=B2=E7=BB=8F=E6=BB=A1?= =?UTF-8?q?=E8=B6=B3=E4=BA=86=EF=BC=8C=E4=BD=86=E8=BF=98=E8=83=BD=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E7=94=B3=E8=AF=B7=EF=BC=8C=E5=AE=B9=E6=98=93=E4=BA=A7?= =?UTF-8?q?=E7=94=9F=E8=BF=B7=E6=83=91=E6=80=A7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deliversettlementManage/saleShipmentMainRequest/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue b/src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue index e6dc7e8e0..8627afac5 100644 --- a/src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue +++ b/src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue @@ -359,7 +359,7 @@ const openForm = (type: string, row?: any) => { const inputNumberChange = (field, val,row, index) => { if(field=='qty'){ - if(row['subSettleQty']&&row['qty']>row['subSettleQty']){ + if(row['subSettleQty']!=null&&row['qty']>row['subSettleQty']){ message.error(`物料${row['itemCode']}最大数量为${row['subSettleQty']}`) } } @@ -373,7 +373,7 @@ const submitForm = async (formType, submitData) => { } let flag = true tableData.value.forEach(item=>{ - if(item['subSettleQty']&&item['qty']>item['subSettleQty']){ + if(item['subSettleQty']!=null&&item['qty']>item['subSettleQty']){ flag = false message.error(`物料${item['itemCode']}最大数量为${item['subSettleQty']}`) }