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,