diff --git a/public/config.js b/public/config.js
index 3ac1b91..c2a36c1 100644
--- a/public/config.js
+++ b/public/config.js
@@ -1,6 +1,6 @@
window.global_config = {
- "BASE_URL": "http://139.159.187.130:8080/UDI_WMS_MC",
- // "BASE_URL":"http://127.0.0.1:9991",
+ // "BASE_URL": "http://139.159.187.130:8080/UDI_WMS_MC",
+ "BASE_URL":"http://127.0.0.1:9991",
/**
*
"UDI_SYNC_SERVER_IP": "http://192.168.0.109:9995/",
diff --git a/src/api/inventory/invCountOrder.js b/src/api/inventory/invCountOrder.js
new file mode 100644
index 0000000..f3c1d7f
--- /dev/null
+++ b/src/api/inventory/invCountOrder.js
@@ -0,0 +1,2 @@
+import axios from "../../utils/axios";
+
diff --git a/src/router/index.js b/src/router/index.js
index 7ed39f3..8f08423 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1413,15 +1413,6 @@ export const asyncRouterMap = [
},
]
},
-
- // {
- // path: "stockCheck",
- // name: "盘点单据",
- // component: stockCheck,
- // meta: {
- // authRule: ["inv/stockCheck"]
- // }
- // },
{
path: "udiTrace",
name: "UDI码流向",
diff --git a/src/views/basic/BussinessTypeLoclModify.vue b/src/views/basic/BussinessTypeLoclModify.vue
index 8f38ef3..8289850 100644
--- a/src/views/basic/BussinessTypeLoclModify.vue
+++ b/src/views/basic/BussinessTypeLoclModify.vue
@@ -393,6 +393,7 @@ export default {
key: query,
onlyMain: true,
}
+
getOriginBusType(tQuery)
.then((response) => {
this.originTypes = response.data.list || [];
diff --git a/src/views/basic/BussinessTypeModify.vue b/src/views/basic/BussinessTypeModify.vue
index a96ba89..4c85732 100644
--- a/src/views/basic/BussinessTypeModify.vue
+++ b/src/views/basic/BussinessTypeModify.vue
@@ -256,7 +256,7 @@
出库时必须校验预验收库存
- 是否允许无库存出库
+ 是否允许无库存出库
采集UDI码时进行三期校验
@@ -579,6 +579,7 @@ export default {
,
//获取单据类型
getOrderType() {
+
this.orderTypeList = [];
let query = {
mainAction: this.inputQuery.mainAction,
diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue
index d00ba8c..8cf3119 100644
--- a/src/views/basic/invWarehouse.vue
+++ b/src/views/basic/invWarehouse.vue
@@ -877,7 +877,7 @@ export default {
bussinessTypeQuery: {
enabled: true,
page: 1,
- limit: 100
+ limit: 10
},
bussinessTypeTotal: 0,
curSeleUser: null,
@@ -1027,7 +1027,9 @@ export default {
}
this.$message.success("操作成功");
this.formVisible = false;
+
if (this.formName !== "edit") {
+
if (response.data && response.data.id) {
data.id = response.data.id;
if (this.pidData) {
@@ -1357,6 +1359,7 @@ export default {
if (val != null) {
this.bussinessTypeQuery.page = val;
}
+ this.bussinessTypeQuery.code=this.busQuery.code;
getJoinBussinessType(this.bussinessTypeQuery).then((res) => {
this.selectBussinessTypeList = [];
this.bussinessTypeList = res.data.list;
@@ -1367,10 +1370,8 @@ export default {
that.$refs.typeList.clearSelection();
}
that.bussinessTypeList.forEach(row => {
- for (let j in that.bussinessTypeData) {
- if (row.action == that.bussinessTypeData[j].action) {
+ if (row.checkSelect==true) {
that.$refs.typeList.toggleRowSelection(row, true);
- }
}
});
});
diff --git a/src/views/business/stockOrderDelSearch.vue b/src/views/business/stockOrderDelSearch.vue
index 2ec9f3c..2b0369e 100644
--- a/src/views/business/stockOrderDelSearch.vue
+++ b/src/views/business/stockOrderDelSearch.vue
@@ -24,7 +24,7 @@
-
+
@@ -147,7 +147,6 @@
完成验收
+ >验收
@@ -458,6 +458,20 @@
:idQuery="idQuery"
>
+
+
+
@@ -474,6 +488,7 @@ import stockOrderQRCodeDetail from "./stockOrderQRCodeDetail";
import stockOrderEditDistribution from "./stockOrderEditDistribution";
import stockQRCodeExport from "./stockQRCodeExport";
import draggable from "vuedraggable";
+import acceptOrder from "@/views/inout/acceptOrder";
import {inspectionStockOrderPDFFromTemplateFile, stockOrderPDFFromTemplateFile} from "../../api/itextpdf/itextpdf";
import store from "../../store";
import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalType";
@@ -555,8 +570,10 @@ export default {
detailFormLoading: false,
haveDistributionVisible: true,
qrcodeDetailVisible: false,
+ acceptOrderVisible: false,
qrcodeExportVisible: false,
actDateRange: [],
+ acceptQuery: null,
isReceAble: false,
pickerOptions: {
shortcuts: [
@@ -740,6 +757,12 @@ export default {
this.detailList = [];
});
},
+ parentByFn: function (childValue) {
+ this.getList();
+ },
+ acceptOrderFn: function (childValue) {
+ this.getList();
+ },
distributionForm(index, row) {
this.idQuery.id = '';
if (this.$isNotBlank(row.id)) {
@@ -917,6 +940,10 @@ export default {
}
}
},
+ closeAcceptDialog() {
+ this.acceptOrderVisible = false;
+
+ },
getBusType() {
let query = {
code: this.query.invWarehouseCode,
@@ -1017,18 +1044,20 @@ export default {
let query = {
stockOrderId: row.billNo,
};
- updateStatus(query)
- .then((response) => {
- if (response.code == 20000) {
- this.getList();
- this.$message.success("验收成功!");
- } else {
- this.$message.error(response.message);
- }
+ this.acceptQuery = row;
+ this.acceptOrderVisible = true;
+ // updateStatus(query)
+ // .then((response) => {
+ // if (response.code == 20000) {
+ // this.getList();
+ // this.$message.success("验收成功!");
+ // } else {
+ // this.$message.error(response.message);
+ // }
- })
- .catch(() => {
- });
+ // })
+ // .catch(() => {
+ // });
},
rollback(row) {
this.$confirm('此操作将回退单据, 是否继续?', '提示', {
@@ -1055,6 +1084,7 @@ export default {
stockOrderEditDistribution,
stockOrderQRCodeDetail,
stockQRCodeExport,
+ acceptOrder,
}
,
filters: {
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 12f632c..4df565b 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -62,12 +62,8 @@