From e1aa1cd964ab2aecb5dc905709e20f7d546e08f5 Mon Sep 17 00:00:00 2001 From: "zhaoxingchang.sd" Date: Tue, 13 Aug 2024 10:53:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=AE=A2=E5=8D=95=E8=AF=BB=E5=85=A5?= =?UTF-8?q?=E5=AE=9A=E5=88=B6=E5=8C=96=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/http/orderApiUrl.js | 5 ++ src/views/order/orderList.vue | 97 +++++++++++++++++++++++++++++++++- 2 files changed, 101 insertions(+), 1 deletion(-) diff --git a/src/common/http/orderApiUrl.js b/src/common/http/orderApiUrl.js index 929ebed..4c9ac74 100644 --- a/src/common/http/orderApiUrl.js +++ b/src/common/http/orderApiUrl.js @@ -880,6 +880,11 @@ export const queryLqModelHttp = (data) => request({ }); +export const orderReadApi = (data) => request({ + method: 'post', + url: '/sims-api/lnjtOrder/orderRead', + data +}); diff --git a/src/views/order/orderList.vue b/src/views/order/orderList.vue index 4dbc9dc..7fc0013 100644 --- a/src/views/order/orderList.vue +++ b/src/views/order/orderList.vue @@ -77,6 +77,8 @@ >批量导入 + 订单读入 + + + + + + + + + + + + + + + + + + + + 取消 + + + 读入 + + @@ -469,7 +527,7 @@ import setting from "@common/mixins/setting"; import { batchInvoiceHttp, mergeCheckHttp, - mergeHttp, + mergeHttp,orderReadApi, queryAccessPointListHttp, queryFpfsBySldIdHttp, queryOrderListHttp, rollbackHttp, updateInvoiceQutoHttp, updateOrderStatusHttp, @@ -768,6 +826,12 @@ export default { }, }, ], + orderreadIndialogShow: false, + orderreadInForm:{ + bukrs:'', + fkdat:'', + vbeln:'' + }, chooseVal: [], hbddDisabled: false, pageInvoiceItemList: [], @@ -1442,6 +1506,37 @@ export default { } }); }, + orderRead() { + this.orderreadInForm = { + bukrs:this.$store.state.system.userInfo.dept.enterpriseNumbers, + fkdat:'', + vbeln:'' + }, + this.orderreadIndialogShow = true; //弹窗显隐 + }, + sureRead() { + showLoading() + orderReadApi(JSON.stringify(this.orderreadInForm)).then((response) => { + if (response.code == "0000") { + this.$message({ + dangerouslyUseHTMLString: true,//开启HTML展示 + message: JSON.stringify(response.data)?.replace(/,/g,'

'), + duration:12000,//两秒自动关闭 + showClose: true,//自定义关闭 + type: "success", + }); + this.orderreadIndialogShow = false; + this.orderList(); + hideLoading() + } else { + this.$message({ + message: response.msg, + type: "error", + }); + hideLoading() + } + }) + }, queryQdTaxAccountFn(xhfNsrsbh){ let data = { nsrsbh: xhfNsrsbh,