From 9324b4a009ee39c016730399c264f7e5d838ce3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=B8=96=E5=BC=BA?= Date: Tue, 4 Apr 2023 10:14:27 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/PoundlistController.java | 18 ++ .../service/impl/TradeuploadServiceImpl.java | 2 +- .../mapper/tradeupload/TradeuploadMapper.xml | 4 +- SC-web/src/views/extend/paymentdoc/form.vue | 8 +- .../scm/basicInformation/poundlist/index.vue | 32 +++- .../basicInformation/purchaseorder/index.vue | 28 ++++ .../receiptout/ReservoirareaBox.vue | 156 ++++++++++++++++++ .../basicInformation/tradeupload/index.vue | 6 +- 8 files changed, 246 insertions(+), 8 deletions(-) create mode 100644 SC-web/src/views/scm/basicInformation/receiptout/ReservoirareaBox.vue 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 5500d7e5..afd85b59 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 @@ -577,6 +577,24 @@ public class PoundlistController { } + /** + * 驳回 + * + * @param id + * @return + */ + @PostMapping("/handleReturn/{id}") + @Transactional + public ActionResult handleReturn(@PathVariable("id") String id){ + PoundlistEntity entity= poundlistService.getInfo(id); + if(entity!=null){ + entity.setIsExamine("0"); + poundlistService.updateById(entity); + return ActionResult.success("驳回成功"); + } + return ActionResult.fail("数据不存在"); + } + diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/tradeupload/service/impl/TradeuploadServiceImpl.java b/SC-boot/linkage-scm/src/main/java/jnpf/tradeupload/service/impl/TradeuploadServiceImpl.java index adfc131d..ef5d66b7 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/tradeupload/service/impl/TradeuploadServiceImpl.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/tradeupload/service/impl/TradeuploadServiceImpl.java @@ -128,7 +128,7 @@ public class TradeuploadServiceImpl extends ServiceImpl AND f.contract_name LIKE CONCAT('%',#{tradeuploadPagination.salesName},'%') - AND d.supplier_nm LIKE CONCAT('%',#{tradeuploadPagination.customerName},'%') + + AND h.F_RealName LIKE CONCAT('%',#{tradeuploadPagination.businessName},'%') + ORDER BY ${tradeuploadPagination.sidx} ${tradeuploadPagination.sort} diff --git a/SC-web/src/views/extend/paymentdoc/form.vue b/SC-web/src/views/extend/paymentdoc/form.vue index 3997b418..92d4632b 100644 --- a/SC-web/src/views/extend/paymentdoc/form.vue +++ b/SC-web/src/views/extend/paymentdoc/form.vue @@ -18,7 +18,7 @@ + popupWidth="800px" hasPage :pageSize="20" disabled> @@ -1211,3 +1211,9 @@ }, } + + diff --git a/SC-web/src/views/scm/basicInformation/poundlist/index.vue b/SC-web/src/views/scm/basicInformation/poundlist/index.vue index 1343a969..5ad689d0 100644 --- a/SC-web/src/views/scm/basicInformation/poundlist/index.vue +++ b/SC-web/src/views/scm/basicInformation/poundlist/index.vue @@ -233,8 +233,10 @@ + + + + + + @@ -258,6 +268,10 @@ prop: 'notAmount', label: '不含税金额' }, + { + prop: 'isPayment', + label: '是否付款' + }, { prop: 'payPrice', label: '已付款金额' @@ -285,6 +299,20 @@ "fullName": "英镑", "id": "2" }], + isPaymentOptions: [{ + "fullName": "否", + "id": "0" + }, { + "fullName": "是", + "id": "1" + }], + isTransferOptions: [{ + "fullName": "否", + "id": "0" + }, { + "fullName": "是", + "id": "1" + }], currencyProps: { "label": "fullName", "value": "id" diff --git a/SC-web/src/views/scm/basicInformation/receiptout/ReservoirareaBox.vue b/SC-web/src/views/scm/basicInformation/receiptout/ReservoirareaBox.vue new file mode 100644 index 00000000..18e39a6f --- /dev/null +++ b/SC-web/src/views/scm/basicInformation/receiptout/ReservoirareaBox.vue @@ -0,0 +1,156 @@ + + + + diff --git a/SC-web/src/views/scm/basicInformation/tradeupload/index.vue b/SC-web/src/views/scm/basicInformation/tradeupload/index.vue index b295e630..1be7d78d 100644 --- a/SC-web/src/views/scm/basicInformation/tradeupload/index.vue +++ b/SC-web/src/views/scm/basicInformation/tradeupload/index.vue @@ -76,7 +76,7 @@ - @@ -157,9 +157,9 @@ 审核 - + 删除 Date: Tue, 4 Apr 2023 10:24:50 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E7=9A=84=E6=96=87=E4=BB=B6=E5=BF=BD=E7=95=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SC-boot/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/SC-boot/.gitignore b/SC-boot/.gitignore index 4b83fbdf..c6d018a9 100644 --- a/SC-boot/.gitignore +++ b/SC-boot/.gitignore @@ -5,6 +5,7 @@ target/ log/ logback-test.xml +application-dev.yml # Compiled class file *.class From 5cea3c22f23ce9f8963b6e3fd8601361c092480f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=B8=96=E5=BC=BA?= Date: Tue, 4 Apr 2023 11:16:13 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SC-web/src/views/extend/paymentdoc/form.vue | 71 ++++++++++--------- .../purchaseorder/receiptinForm.vue | 13 +++- .../scm/basicInformation/receiptin/Form.vue | 29 +++++--- .../scm/basicInformation/receiptout/Form.vue | 12 ++-- 4 files changed, 74 insertions(+), 51 deletions(-) diff --git a/SC-web/src/views/extend/paymentdoc/form.vue b/SC-web/src/views/extend/paymentdoc/form.vue index 92d4632b..6b3a3ca0 100644 --- a/SC-web/src/views/extend/paymentdoc/form.vue +++ b/SC-web/src/views/extend/paymentdoc/form.vue @@ -1,13 +1,13 @@ @@ -362,7 +362,7 @@ width="250"> @@ -370,7 +370,7 @@ :disabled="true">