From bdd9e926280808e79239fd683599c013717786e9 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Wed, 6 May 2020 17:45:29 +0800 Subject: [PATCH 1/3] a --- .../OfflineContract/index.vue | 40 +++-------- .../OfflineContractSearch/index.vue | 71 +++++++------------ .../OfflinePartsQuery/index.vue | 14 ++-- 3 files changed, 42 insertions(+), 83 deletions(-) diff --git a/src/views/PurchasingCenter/OfflineContract/index.vue b/src/views/PurchasingCenter/OfflineContract/index.vue index 1769bb70..5d2e07bd 100644 --- a/src/views/PurchasingCenter/OfflineContract/index.vue +++ b/src/views/PurchasingCenter/OfflineContract/index.vue @@ -46,6 +46,16 @@ @selection-change="handleSelectionChange1" @select="handleSelection"> + + + + + + - - - - - - - - - - + - + - + From 8a26539530adc3dcfcf3ee8359d235f38a391e7d Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Thu, 7 May 2020 10:39:59 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PurchasingCenter/SupplierManagement.js | 8 +- .../SupplierManagement/index.vue | 93 ++++--------------- 2 files changed, 20 insertions(+), 81 deletions(-) diff --git a/src/api/PurchasingCenter/SupplierManagement.js b/src/api/PurchasingCenter/SupplierManagement.js index e2d4d17c..95c860a3 100644 --- a/src/api/PurchasingCenter/SupplierManagement.js +++ b/src/api/PurchasingCenter/SupplierManagement.js @@ -17,7 +17,7 @@ export function searchData(check1, supplierName, check2, businessNature, check3, }) } // 增加新的数据 -export function addTable(supplierName, businessNature, creationDate, registeredCapital, taxNumber, bank, account, email, address, telephone, fax, deliveryPeriod) { +export function addTable(supplierName, businessNature, creationDate, registeredCapital, taxNumber, bank, account, email, address, telephone, fax, deliveryPeriod, personNumber, Name) { return request({ url: '', method: 'post', @@ -26,12 +26,12 @@ export function addTable(supplierName, businessNature, creationDate, registeredC ModularID: router.currentRoute.path, type: '2', name: '采购管理_供应商_增加数据', - param: '供应商名称=' + supplierName + '&企业性质=' + businessNature + '&创立日期=' + creationDate + '&注册资本=' + registeredCapital + '&税号=' + taxNumber + '&开户行=' + bank + '&账号=' + account + '&电子信箱=' + email + '&地址=' + address + '&电话号码=' + telephone + '&传真=' + fax + '&货期=' + deliveryPeriod + '&output1=1=int=output' + param: '供应商名称=' + supplierName + '&企业性质=' + businessNature + '&创立日期=' + creationDate + '&注册资本=' + registeredCapital + '&税号=' + taxNumber + '&开户行=' + bank + '&账号=' + account + '&电子信箱=' + email + '&地址=' + address + '&电话号码=' + telephone + '&传真=' + fax + '&货期=' + deliveryPeriod + '&编辑人=' + personNumber + '&编辑人姓名=' + Name + '&output1=1=int=output' } }) } -export function editTable(supplierName, businessNature, creationDate, registeredCapital, taxNumber, bank, account, email, address, supplierSerialNumber, fax, deliveryPeriod, telephone) { +export function editTable(supplierName, businessNature, creationDate, registeredCapital, taxNumber, bank, account, email, address, supplierSerialNumber, fax, deliveryPeriod, telephone, personNumber, Name) { return request({ url: '', method: 'post', @@ -40,7 +40,7 @@ export function editTable(supplierName, businessNature, creationDate, registered ModularID: router.currentRoute.path, type: '2', name: '采购管理_供应商_修改数据', - param: '供应商名称=' + supplierName + '&企业性质=' + businessNature + '&创立日期=' + creationDate + '&注册资本=' + registeredCapital + '&税号=' + taxNumber + '&开户行=' + bank + '&账号=' + account + '&电子信箱=' + email + '&地址=' + address + '&供应商流水号=' + supplierSerialNumber + '&传真=' + fax + '&货期=' + deliveryPeriod + '&电话号码=' + telephone + param: '供应商名称=' + supplierName + '&企业性质=' + businessNature + '&创立日期=' + creationDate + '&注册资本=' + registeredCapital + '&税号=' + taxNumber + '&开户行=' + bank + '&账号=' + account + '&电子信箱=' + email + '&地址=' + address + '&供应商流水号=' + supplierSerialNumber + '&传真=' + fax + '&货期=' + deliveryPeriod + '&电话号码=' + telephone + '&编辑人=' + personNumber + '&编辑人姓名=' + Name } }) } diff --git a/src/views/PurchasingCenter/SupplierManagement/index.vue b/src/views/PurchasingCenter/SupplierManagement/index.vue index ea82e57e..2fdc7622 100644 --- a/src/views/PurchasingCenter/SupplierManagement/index.vue +++ b/src/views/PurchasingCenter/SupplierManagement/index.vue @@ -4,67 +4,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 供应商 @@ -72,16 +14,20 @@ - - + + + + @@ -129,11 +75,6 @@ {{ scope.row.注册资本 }} - - - + + + - + @@ -200,7 +205,7 @@ export default { this.searchTable1() }, turnToBacklogGoods(row) { - this.number = 0 + this.number = row.可转滞货数量 this.turnToBacklogGoods_diaable = false this.maxNumber = row.可转滞货数量 this.materialNum = row.物料流水号