From b422d5473c999739dd4ed1469c665e90f5e4f14b Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Thu, 30 May 2024 17:30:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8E=E5=9B=BD=E5=BC=BA=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=E5=8F=91=E7=8E=B0=EF=BC=8C=E9=80=80?= =?UTF-8?q?=E8=B4=A7=E6=95=B0=E9=87=8F=E5=8E=BB=E6=8E=89returnedQty?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E7=9A=84=E6=98=AFqty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturnRequestMain/index.vue | 8 +-- .../purchasereturnRequestMain.data.ts | 50 +++++++++---------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index f364551b9..e0f65f42e 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -216,7 +216,7 @@ const searchTableSuccess = async(formField, searchField, val, formRef, type, row if (type == 'tableForm') { // 明细查询页赋值 row[formField] = val[0][searchField] - if(formField=='purchaseReceiptRecordNumber'){ + if(formField=='purchaseReceiptRecordNumber'){//搜索记录单号--回显数据 row['supplierCode'] = val[0]['supplierCode'] row['poNumber'] = val[0]['poNumber'] row['poLine'] = val[0]['poLine'] @@ -314,9 +314,9 @@ const searchTableSuccess = async(formField, searchField, val, formRef, type, row if (item.field == 'qty') { item.tableForm.disabled = false } - if (item.field == 'returnedQty') { - item.tableForm.disabled = false - } + // if (item.field == 'returnedQty') { + // item.tableForm.disabled = false + // } if (item.field == 'reason') { item.tableForm.disabled = false } diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts index f5f5aae59..2b302bfad 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts @@ -855,31 +855,31 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive precision: 6 } }, - { - label: '退货数量', - field: 'returnedQty', - sort: 'custom', - table: { - width: 150 - }, - form: { - component: 'InputNumber', - componentProps: { - min: 0, - precision: 6, - disabled:false - } - }, - isTable: false, - isTableForm: false, - isForm:false, - tableForm:{ - type:'InputNumber', - min:0, - precision: 6, - disabled:false - } - }, + // { //与国强联调的时候发现退货数量用的是qty + // label: '退货数量', + // field: 'returnedQty', + // sort: 'custom', + // table: { + // width: 150 + // }, + // form: { + // component: 'InputNumber', + // componentProps: { + // min: 0, + // precision: 6, + // disabled:false + // } + // }, + // isTable: false, + // isTableForm: false, + // isForm:false, + // tableForm:{ + // type:'InputNumber', + // min:0, + // precision: 6, + // disabled:false + // } + // }, { label: '库存余额', field: 'inventoryBalance',