From 0b0fbc4f37580717657890d0c2af9cb294b3af2b Mon Sep 17 00:00:00 2001 From: tengxi <971623072@qq.com> Date: Fri, 17 Feb 2023 16:00:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/PoundlistController.java | 8 +- .../poundlist/entity/PoundlistEntity.java | 16 +- .../service/impl/PoundlistServiceImpl.java | 4 +- .../basicInformation/areasetting/index.vue | 6 +- .../scm/basicInformation/arinvoices/index.vue | 10 +- .../basicInformation/contractfile/index.vue | 13 +- .../scm/basicInformation/customer/index.vue | 33 +- .../scm/basicInformation/invoices/index.vue | 8 +- .../scm/basicInformation/material/Form.vue | 549 ++++++++-------- .../scm/basicInformation/material/index.vue | 39 +- .../basicInformation/monitormanage/index.vue | 10 +- .../scm/basicInformation/paymentdoc/index.vue | 18 +- .../basicInformation/purchaseback/index.vue | 7 +- .../basicInformation/purchaseorder/index.vue | 13 +- .../basicInformation/reservoirarea/index.vue | 9 +- .../scm/basicInformation/saleback/index.vue | 12 +- .../scm/basicInformation/supplier/index.vue | 38 +- .../scm/basicInformation/tradeupload/Form.vue | 2 +- .../basicInformation/tradeupload/index.vue | 591 +++++++++--------- .../scm/basicInformation/vehicle/index.vue | 557 +++++++++-------- .../scm/basicInformation/warehouse/index.vue | 11 +- 21 files changed, 1018 insertions(+), 936 deletions(-) diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/controller/PoundlistController.java b/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/controller/PoundlistController.java index 485dd87d..2ad5fd1d 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/controller/PoundlistController.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/controller/PoundlistController.java @@ -88,7 +88,7 @@ public class PoundlistController { //处理id字段转名称,若无需转或者为空可删除 for(PoundlistEntity entity:list){ Map materialCodeMap = new HashMap<>(); - entity.setMaterialCode(generaterSwapUtil.getPopupSelectValue("381037852907038533","item_code","item_code",entity.getMaterialCode(),materialCodeMap)); +// entity.setMaterialCode(generaterSwapUtil.getPopupSelectValue("381037852907038533","item_code","item_code",entity.getMaterialCode(),materialCodeMap)); Map salesNameMap = new HashMap<>(); entity.setSalesName(generaterSwapUtil.getPopupSelectValue("381038993740949317","contract_name","contract_name",entity.getSalesName(),salesNameMap)); Map licenseNoMap = new HashMap<>(); @@ -96,7 +96,7 @@ public class PoundlistController { entity.setPoundPictures(generaterSwapUtil.getFileNameInJson(entity.getPoundPictures())); entity.setVehiclePictures(generaterSwapUtil.getFileNameInJson(entity.getVehiclePictures())); Map purchaseNameMap = new HashMap<>(); - entity.setPurchaseName(generaterSwapUtil.swapRelationFormValue("selectField121",entity.getPurchaseName(),"294090217084722181",purchaseNameMap)); +// entity.setPurchaseName(generaterSwapUtil.swapRelationFormValue("selectField121",entity.getPurchaseName(),"294090217084722181",purchaseNameMap)); } List listVO=JsonUtil.getJsonToList(list,PoundlistListVO.class); for(PoundlistListVO poundlistVO:listVO){ @@ -166,7 +166,7 @@ public class PoundlistController { //处理id字段转名称,若无需转或者为空可删除 for(PoundlistEntity entity:list){ Map materialCodeMap = new HashMap<>(); - entity.setMaterialCode(generaterSwapUtil.swapRelationFormValue("selectField121",entity.getMaterialCode(),"294090217084722181",materialCodeMap)); +// entity.setMaterialCode(generaterSwapUtil.swapRelationFormValue("selectField121",entity.getMaterialCode(),"294090217084722181",materialCodeMap)); Map salesNameMap = new HashMap<>(); entity.setSalesName(generaterSwapUtil.swapRelationFormValue("selectField121",entity.getSalesName(),"294090217084722181",salesNameMap)); Map licenseNoMap = new HashMap<>(); @@ -174,7 +174,7 @@ public class PoundlistController { entity.setPoundPictures(generaterSwapUtil.getFileNameInJson(entity.getPoundPictures())); entity.setVehiclePictures(generaterSwapUtil.getFileNameInJson(entity.getVehiclePictures())); Map purchaseNameMap = new HashMap<>(); - entity.setPurchaseName(generaterSwapUtil.swapRelationFormValue("selectField121",entity.getPurchaseName(),"294090217084722181",purchaseNameMap)); +// entity.setPurchaseName(generaterSwapUtil.swapRelationFormValue("selectField121",entity.getPurchaseName(),"294090217084722181",purchaseNameMap)); } List listVO=JsonUtil.getJsonToList(list,PoundlistListVO.class); for(PoundlistListVO poundlistVO:listVO){ diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/entity/PoundlistEntity.java b/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/entity/PoundlistEntity.java index c7abe4d0..9be0e7a0 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/entity/PoundlistEntity.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/entity/PoundlistEntity.java @@ -90,17 +90,17 @@ public class PoundlistEntity { @TableField("SUPPLIER_NAME") private String supplierName; - @TableField("PURCHASE_CODE") - private String purchaseCode; + @TableField("PURCHASE_ID") + private String purchaseId; - @TableField("PURCHASE_NAME") - private String purchaseName; +// @TableField("PURCHASE_NAME") +// private String purchaseName; - @TableField("MATERIAL_CODE") - private String materialCode; + @TableField("MATERIAL_ID") + private String materialId; - @TableField("MATERIAL_NAME") - private String materialName; +// @TableField("MATERIAL_NAME") +// private String materialName; @TableField("ADVANCE") private String advance; diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/service/impl/PoundlistServiceImpl.java b/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/service/impl/PoundlistServiceImpl.java index 471fc0c1..a2b5214d 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/service/impl/PoundlistServiceImpl.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/poundlist/service/impl/PoundlistServiceImpl.java @@ -90,7 +90,7 @@ public class PoundlistServiceImpl extends ServiceImpl0){ diff --git a/SC-web/src/views/scm/basicInformation/areasetting/index.vue b/SC-web/src/views/scm/basicInformation/areasetting/index.vue index 1f7f3ef9..1a3dcedb 100644 --- a/SC-web/src/views/scm/basicInformation/areasetting/index.vue +++ b/SC-web/src/views/scm/basicInformation/areasetting/index.vue @@ -43,9 +43,9 @@ @selection-change="handleSelectionChange" border> - - - + + +