-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
+
{{ statusMap[scope.row.printStatus] }}
@@ -95,17 +82,6 @@
{{ scope.row.updateTime }}
-
-
-
-
-
-
-
-
-
-
-
@@ -123,8 +99,13 @@
diff --git a/src/views/inout/IOCheckWaitOrder.vue b/src/views/inout/IOCheckWaitOrder.vue
index 988bfb9..624086e 100644
--- a/src/views/inout/IOCheckWaitOrder.vue
+++ b/src/views/inout/IOCheckWaitOrder.vue
@@ -842,7 +842,7 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
- this.invChange();
+ this.getSubInvList();
this.getList();
}
})
@@ -862,6 +862,20 @@ export default {
.catch(() => {
});
},
+
+
+ getSubInvList() {
+ let query = {
+ pcode: this.filterQuery.locStorageCode
+ };
+ filterSubByInv(query)
+ .then((response) => {
+ this.subInvList = response.data || [];
+ })
+ .catch(() => {
+ });
+ },
+
subInvChange() {
this.getBusType();
},
diff --git a/src/views/inout/IOFinishOrder.vue b/src/views/inout/IOFinishOrder.vue
index 7b16557..250c784 100644
--- a/src/views/inout/IOFinishOrder.vue
+++ b/src/views/inout/IOFinishOrder.vue
@@ -80,7 +80,7 @@
查询
- 导出单据
+
@@ -601,8 +601,8 @@ export default {
.then((response) => {
this.storageList = response.data || [];
if (this.storageList.length > 0) {
- this.filterQuery.locStorageCode = this.storageList[0].code;
- this.invChange();
+ // this.filterQuery.locStorageCode = this.storageList[0].code;
+ this.getSubInvList();
this.getList();
}
})
@@ -911,6 +911,19 @@ export default {
.catch(() => {
});
},
+
+ getSubInvList() {
+ let query = {
+ pcode: this.filterQuery.locStorageCode
+ };
+ filterSubByInv(query)
+ .then((response) => {
+ this.subInvList = response.data || [];
+ })
+ .catch(() => {
+ });
+ },
+
subInvChange() {
this.getBusType();
},
diff --git a/src/views/inout/IONewOrder.vue b/src/views/inout/IONewOrder.vue
index cf65b48..9c61421 100644
--- a/src/views/inout/IONewOrder.vue
+++ b/src/views/inout/IONewOrder.vue
@@ -73,7 +73,7 @@
合并单据
- 新增订单
+ 新增单据
异常单据
@@ -82,7 +82,7 @@
-
@@ -220,7 +220,7 @@
{
this.storageList = response.data || [];
if (this.storageList.length > 0) {
- this.invChange();
+ this.getSubInvList();
this.getList();
}
})
@@ -540,17 +540,17 @@ export default {
let unit = repeatData[0].fromCorp;
let action = repeatData[0].action;
let orderList = [];
- repeatData.forEach((obj, index) => {
- if (unit !== obj.fromCorp) {
- this.$message.warning("往来单位不一致!");
+ for (let index in repeatData) {
+ if (action !== repeatData[index].action) {
+ this.$message.warning("业务类型不一致!");
return;
}
- if (action !== obj.action) {
- this.$message.warning("业务类型不一致!");
+ if (unit !== repeatData[index].fromCorp) {
+ this.$message.warning("往来单位不一致!");
return;
}
- orderList.push(obj.id);
- });
+ orderList.push(repeatData[index].id);
+ }
let tquery = {
orderList: orderList,
type: 2,
@@ -668,6 +668,20 @@ export default {
.catch(() => {
});
},
+
+ getSubInvList() {
+ let query = {
+ pcode: this.filterQuery.locStorageCode
+ };
+ filterSubByInv(query)
+ .then((response) => {
+ this.subInvList = response.data || [];
+ })
+ .catch(() => {
+ });
+ },
+
+
subInvChange() {
this.getBusType();
},
diff --git a/src/views/inout/errorCode.vue b/src/views/inout/errorCode.vue
index 67f6042..5ec2a52 100644
--- a/src/views/inout/errorCode.vue
+++ b/src/views/inout/errorCode.vue
@@ -118,7 +118,8 @@
@@ -132,7 +133,8 @@
title="绑定产品ID"
:visible.sync="selectRlVisible"
width="80%"
- v-if="selectRlVisible"
+ v-if="selectRlVisible" :close-on-click-modal="false"
+ :close-on-press-escape="false"
append-to-body
>
@@ -203,7 +206,7 @@ export default {
};
},
components: {
- draggable, DialogSelectUnit, selectRlDialog,editCodeDialog
+ draggable, DialogSelectUnit, selectRlDialog, editCodeDialog
},
methods: {
handleSelectionChange(val) {
@@ -355,6 +358,7 @@ export default {
},
closeCodeDialog() {
this.editCodeVisible = false;
+ this.getCodeList();
},
editCode(row) {
this.codeDetail = row;
diff --git a/src/views/inventory/InvPreInProductsDetail.vue b/src/views/inventory/InvPreInProductsDetail.vue
index 1c6942f..fba3ae4 100644
--- a/src/views/inventory/InvPreInProductsDetail.vue
+++ b/src/views/inventory/InvPreInProductsDetail.vue
@@ -43,12 +43,12 @@
-
+
- 查询
@@ -106,6 +106,7 @@
@current-change="handleCurrentChange"
layout="prev, pager, next,total"
:total="total"
+ :current-page="query.page"
>
diff --git a/src/views/thrsys/thrOrderNew.vue b/src/views/thrsys/thrOrderNew.vue
index 570a5dc..33b2bac 100644
--- a/src/views/thrsys/thrOrderNew.vue
+++ b/src/views/thrsys/thrOrderNew.vue
@@ -479,9 +479,9 @@ export default {
if (this.$isBlank(this.codeArray[i].batchNo)) {
return this.$message.error('批次号不能为空');
}
- if (this.$isBlank(this.codeArray[i].productDate) && this.$isBlank(this.codeArray[i].expireDate)) {
- return this.$message.error('生产日期与失效日期不能全部为空');
- }
+ // if (this.$isBlank(this.codeArray[i].productDate) && this.$isBlank(this.codeArray[i].expireDate)) {
+ // return this.$message.error('生产日期与失效日期不能全部为空');
+ // }
// if (this.$isBlank(this.codeArray[i].expireDate)) {
// return this.$message.error('失效日期不能为空');
// }