diff --git a/src/api/inout/orderDetailBiz.js b/src/api/inout/orderDetailBiz.js
index c6ef9fe7..79953cc4 100644
--- a/src/api/inout/orderDetailBiz.js
+++ b/src/api/inout/orderDetailBiz.js
@@ -8,4 +8,14 @@ export function getBizDetailList(params) {
});
}
+export function getCheckDetailList(params) {
+ return axios({
+ url: "/udiwms/inout/wditCheck/filterList",
+ method: "get",
+ params: params
+ });
+}
+
+
+
diff --git a/src/views/inout/IoDealOrder.vue b/src/views/inout/IoDealOrder.vue
index 515110b2..9ad7ed8e 100644
--- a/src/views/inout/IoDealOrder.vue
+++ b/src/views/inout/IoDealOrder.vue
@@ -83,11 +83,12 @@
>查询
-
-
@@ -185,6 +186,120 @@
@pagination="getList"
/>
+
+
+
+
+
+ 单据 {{ currentRow.billNo }}-业务详情
+
+
+
+
+
+
+
+ 重置
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -202,6 +317,8 @@ import store from "../../store";
import {getInvListByUser} from "@/api/system/invWarehouse";
import {getLocalJoinByUser} from "@/api/basic/busType";
import {selectSysParamByKey} from "@/api/param/systemParamConfig";
+import {isBlank} from "@/utils/strUtil";
+import {getBizDetailList, getCheckDetailList} from "@/api/inout/orderDetailBiz";
export default {
@@ -220,7 +337,6 @@ export default {
startTime: null,
endTime: null,
invCode: this.$store.getters.locInvCode,
-
},
viewType: 3,
checkStatus: {
@@ -306,6 +422,19 @@ export default {
},
],
},
+ currentRow: {
+ billNo: ""
+ },
+ bizQuery: {
+ productName: null,
+ orderIdFk: null,
+ page: 1,
+ limit: 10
+ },
+ bizTotal: 0,
+ bizDetailLoading: false,
+ bizDetailList: [],
+
};
},
components: {
@@ -474,6 +603,60 @@ export default {
return statusMap[status];
},
+ rowStyle({row, rowIndex}) {
+ let rowBackground = {};
+ if (!this.$isNotBlank(row.supId) || !this.$isNotBlank(row.bindRlFk)) {
+ rowBackground.color = '#f60303';
+ return rowBackground;
+ }
+ if (!row.checkSuccess) {
+ rowBackground.color = '#f60303';
+ }
+ return rowBackground;
+ },
+
+
+ onBizReset() {
+ this.bizQuery = {
+ productName: null,
+ orderIdFk: null,
+ page: 1,
+ limit: 10
+ };
+ this.getBizDetailList();
+ },
+ onBizSubmit() {
+ this.bizQuery.page = 1;
+ this.getBizDetailList();
+ },
+
+ handleSelectionChange(val) {
+ this.currentRow = val;
+ this.getBizDetailList();
+ },
+ getBizDetailList() {
+ if (isBlank(this.currentRow.billNo)) {
+ this.$message.error("请先选择需要查询的单据!")
+ return;
+ }
+ this.bizDetailLoading = true;
+ this.bizQuery.orderIdFk = this.currentRow.billNo;
+ getCheckDetailList(this.bizQuery).then((res) => {
+ this.bizDetailLoading = false;
+ if (res.code === 20000) {
+ this.bizDetailList = res.data || [];
+ } else {
+ this.$message.error(res.message);
+ this.bizDetailList = [];
+ }
+ }).catch((error) => {
+ this.bizDetailLoading = false;
+ this.$message.error(error.message);
+ this.bizDetailList = [];
+ this.bizTotal = 0;
+ })
+ },
+
},
mounted() {
document.body.ondrop = function (event) {