diff --git a/src/views/inout/IOCheckErrorOrder.vue b/src/views/inout/IOCheckErrorOrder.vue
index 5c14cd2..98aba34 100644
--- a/src/views/inout/IOCheckErrorOrder.vue
+++ b/src/views/inout/IOCheckErrorOrder.vue
@@ -763,8 +763,13 @@ export default {
filterOrder(this.filterQuery)
.then((response) => {
this.loading = false;
- this.list = response.data.list || [];
- this.total = response.data.total || 0;
+ if (response.code == 20000) {
+ this.list = response.data.list || [];
+ this.total = response.data.total || 0;
+
+ }else {
+ this.$message.error(response.message);
+ }
this.detailList = [];
})
.catch(() => {
diff --git a/src/views/inout/IOCheckWaitOrder.vue b/src/views/inout/IOCheckWaitOrder.vue
index 6a6165b..2f1517f 100644
--- a/src/views/inout/IOCheckWaitOrder.vue
+++ b/src/views/inout/IOCheckWaitOrder.vue
@@ -615,10 +615,16 @@ export default {
this.filterQuery.customerId = store.getters.customerId;
filterOrder(this.filterQuery)
.then((response) => {
+
this.loading = false;
- this.list = response.data.list || [];
- this.total = response.data.total || 0;
+ if(response.code == 20000){
+ this.list = response.data.list || [];
+ this.total = response.data.total || 0;
+ }else {
+ this.$message.error(response.message);
+ }
this.detailList = [];
+
})
.catch(() => {
this.loading = false;
diff --git a/src/views/inout/IOErrorOrder.vue b/src/views/inout/IOErrorOrder.vue
index 381e0e2..b326920 100644
--- a/src/views/inout/IOErrorOrder.vue
+++ b/src/views/inout/IOErrorOrder.vue
@@ -81,27 +81,27 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -333,7 +333,7 @@ export default {
"6": "缺量补录单据",
"7": "UDI供应商平台",
"8": "平衡补录单据",
- "10":"手动补单"
+ "10": "手动补单"
},
storageList: [],
subInvList: [],
@@ -460,10 +460,15 @@ export default {
this.filterQuery.customerId = store.getters.customerId;
filterOrder(this.filterQuery)
.then((response) => {
- console.log(response)
+
this.loading = false;
- this.list = response.data.list || [];
- this.total = response.data.total || 0;
+ if (response.code == 20000) {
+ this.list = response.data.list || [];
+ this.total = response.data.total || 0;
+ } else {
+ this.$message.error(response.message);
+ }
+
})
.catch(() => {
this.loading = false;
diff --git a/src/views/inventory/invUdiTraceOrder.vue b/src/views/inventory/invUdiTraceOrder.vue
index d959cd4..7d7addd 100644
--- a/src/views/inventory/invUdiTraceOrder.vue
+++ b/src/views/inventory/invUdiTraceOrder.vue
@@ -7,6 +7,7 @@
:model="filterQuery"
label-width="480px"
size="mini"
+ v-if="searchVisible"
>
@@ -115,12 +116,12 @@
>详情
- 删除
-
+
+
+
+
+
+
@@ -257,12 +258,20 @@ export default {
type: Boolean,
default: false,
},
+ diloadTrue: {
+ type: Boolean,
+ default: false,
+ },
+ udiCode: {
+ type: Object,
+ required: true,
+ },
},
data() {
return {
- query: {
- code: null,
+ filterQuery: {
+ code: "",
batchNo: null,
productIdFk: null,
customerId: null,
@@ -270,6 +279,7 @@ export default {
limit: 20,
supId: null,
},
+ searchVisible: true,
sitcomScan: false,
checkStatus: {
1: "校验异常",
@@ -307,15 +317,6 @@ export default {
fromCorp: "",
},
actDateRange: [],
- filterQuery: {
- code: null,
- batchNo: null,
- productIdFk: null,
- customerId: null,
- page: 1,
- limit: 20,
- supId: null,
- },
detailQuery: {
orderId: "",
},
@@ -331,7 +332,7 @@ export default {
codeDetailVisible: false,
successOrderExportPDFSettingVisible: false,
total: 0,
- loading: true,
+ loading: false,
index: null,
formName: null,
orderId: "",
@@ -763,7 +764,7 @@ export default {
sc.onInput = function (text) {
//onInput事件在检测到回车键按下或在连续输入后超过500ms没有继续输入时触发
if (text.includes("delete")) {
- that.formData.code = "";
+ that.filterQuery.code = "";
return;
}
if (that.sitcomScan) {
@@ -777,16 +778,17 @@ export default {
},
created() {
+ if (this.$isNotBlank(this.udiCode)) {
+
+ if (!this.diloadTrue) {
+ this.searchVisible = false;
+ }
+ console.log(this.diloadTrue + "----" + this.searchVisible);
+
+ this.filterQuery.code = this.udiCode;
+ this.getList();
+ }
this.getBusType();
- let query = this.$route.query;
- this.query = Object.assign(this.query, query);
- this.query.limit = parseInt(this.query.limit);
- // 加载表格数据
- this.getList();
- let end = new Date();
- let start = new Date();
- start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
- this.actDateRange = [start, end];
},
};
diff --git a/src/views/inventory/sickerUdiTraceOrder.vue b/src/views/inventory/sickerUdiTraceOrder.vue
new file mode 100644
index 0000000..3d25ac2
--- /dev/null
+++ b/src/views/inventory/sickerUdiTraceOrder.vue
@@ -0,0 +1,520 @@
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+ {{ getActionName(scope.row.action) }}
+
+
+
+
+
+ {{ fromTypeMap[scope.row.fromType] }}
+
+
+
+
+
+
+
+ {{ scope.row.actDate }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 流向详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ errorDetail }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/thrsys/SysUdimsConfig.vue b/src/views/thrsys/SysUdimsConfig.vue
index beb96a0..168e411 100644
--- a/src/views/thrsys/SysUdimsConfig.vue
+++ b/src/views/thrsys/SysUdimsConfig.vue
@@ -220,9 +220,9 @@
prop="action"
show-overflow-tooltip
>
-
+
- 缺量补单
+ 自动补单
diff --git a/src/views/thrsys/ThrProductsAdd.vue b/src/views/thrsys/ThrProductsAdd.vue
index e5c2cce..25593c0 100644
--- a/src/views/thrsys/ThrProductsAdd.vue
+++ b/src/views/thrsys/ThrProductsAdd.vue
@@ -12,7 +12,7 @@