diff --git a/.env.production b/.env.production
index 53b4793..d54efe1 100644
--- a/.env.production
+++ b/.env.production
@@ -4,7 +4,7 @@ VUE_APP_TITLE = UDI自助平台
# 生产环境配置
ENV = 'production'
# VUE_APP_BASE_API = 'http://116.204.71.86:9150/UDI_WMS_MC/'
-VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_SPMS_SERVER/'
+VUE_APP_BASE_API = 'http://101.43.77.55:9150/UDI_SPMS_SERVER/'
# VUE_APP_BASE_API = 'http://192.168.0.66:9160/UDI_WMS_MC/'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/UDI_SPMS_CLIENT/'
diff --git a/src/views/purchase/purDelivery/purDelivery.vue b/src/views/purchase/purDelivery/purDelivery.vue
index 1a8b850..da48f2e 100644
--- a/src/views/purchase/purDelivery/purDelivery.vue
+++ b/src/views/purchase/purDelivery/purDelivery.vue
@@ -82,6 +82,9 @@
+
+
+
diff --git a/src/views/purchase/purDelivery/purDeliveryEditDialog.vue b/src/views/purchase/purDelivery/purDeliveryEditDialog.vue
index 31df9ba..4af7795 100644
--- a/src/views/purchase/purDelivery/purDeliveryEditDialog.vue
+++ b/src/views/purchase/purDelivery/purDeliveryEditDialog.vue
@@ -18,12 +18,12 @@
@@ -36,10 +36,10 @@
+ v-for="item in invCodeList"
+ :key="item.name"
+ :label="item.name"
+ :value="item.code">
{{ item.name }}
{{ item.warehouseName }}
@@ -119,7 +119,7 @@
-
+
编辑
@@ -134,35 +134,35 @@
@@ -179,7 +179,7 @@ import {
updateDetail
} from "@/api/purchase/purDelivery";
import {filterSubByInv} from "@/api/system/invSubWarehouse";
-import SelectPlanListDialog from "@/views/purchase/purPlan/selectPlanListDialog";
+import SelectPlanListDialog from "@/views/purchase/purOrder/DialogSelectOrderList";
export default {
@@ -312,18 +312,18 @@ export default {
type: 1,
}
inserThrOrderWeb(tQuery)
- .then(response => {
- this.loading = false;
- if (response.code === 20000) {
- this.$message.success(tMessage + "成功");
- this.closeDialog(true);
- } else {
- this.$message.error(response.message);
- }
- })
- .catch(() => {
- this.loading = false;
- })
+ .then(response => {
+ this.loading = false;
+ if (response.code === 20000) {
+ this.$message.success(tMessage + "成功");
+ this.closeDialog(true);
+ } else {
+ this.$message.error(response.message);
+ }
+ })
+ .catch(() => {
+ this.loading = false;
+ })
},
selectProductFunction() {
this.selectProductVisible = true;
@@ -349,17 +349,17 @@ export default {
orderIdFk: this.pId
}
selectOrderDetail(this.query) //查找该单号下的所有条码
- .then((response) => {
- console.log(response)
- this.codeArray = response.data.list || [];
- this.total = response.data.total || 0;
- this.loading = false;
- })
- .catch(() => {
- this.loading = false;
- this.list = [];
- this.total = 0;
- });
+ .then((response) => {
+ console.log(response)
+ this.codeArray = response.data.list || [];
+ this.total = response.data.total || 0;
+ this.loading = false;
+ })
+ .catch(() => {
+ this.loading = false;
+ this.list = [];
+ this.total = 0;
+ });
},
rowChange(val) {
this.tableCountChange(this.currentRow);
@@ -400,19 +400,19 @@ export default {
let delIds = [];
delIds.push(row.id)
delOrderDetail(delIds)
- .then(response => {
- this.detailLoading = false;
- if (response.code === 20000) {
- this.$message.success(response.data);
- // this.getStockOrderDetailList();
- this.codeArray.splice(index, 1);
- } else {
- this.$message.error(response.message);
- }
- })
- .catch(() => {
- this.detailLoading = false;
- })
+ .then(response => {
+ this.detailLoading = false;
+ if (response.code === 20000) {
+ this.$message.success(response.data);
+ // this.getStockOrderDetailList();
+ this.codeArray.splice(index, 1);
+ } else {
+ this.$message.error(response.message);
+ }
+ })
+ .catch(() => {
+ this.detailLoading = false;
+ })
} else {
this.$message.success('删除成功');
this.codeArray.splice(index, 1);
@@ -428,17 +428,17 @@ export default {
getStockOrderDetailList() {
this.loading = true;
listOrderDetail(this.query) //查找该单号下的所有条码
- .then((response) => {
- console.log(response)
- this.codeArray = response.data.list || [];
- this.total = response.data.total || 0;
- this.loading = false;
- })
- .catch(() => {
- this.loading = false;
- this.list = [];
- this.total = 0;
- });
+ .then((response) => {
+ console.log(response)
+ this.codeArray = response.data.list || [];
+ this.total = response.data.total || 0;
+ this.loading = false;
+ })
+ .catch(() => {
+ this.loading = false;
+ this.list = [];
+ this.total = 0;
+ });
},
findSubInvs() {
this.invCodeList = [];
@@ -446,14 +446,14 @@ export default {
filter: 3
};
filterSubByInv(query)
- .then((response) => {
- this.invCodeList = response.data || [];
- if (this.invCodeList != null && this.invCodeList.length == 1) {
- this.formData.invCode = this.invCodeList[0].code;
- }
- })
- .catch(() => {
- });
+ .then((response) => {
+ this.invCodeList = response.data || [];
+ if (this.invCodeList != null && this.invCodeList.length == 1) {
+ this.formData.invCode = this.invCodeList[0].code;
+ }
+ })
+ .catch(() => {
+ });
},
selectApply() {
this.selectApplyVisible = true;
diff --git a/src/views/purchase/purOrder/DialogSelectOrderList.vue b/src/views/purchase/purOrder/DialogSelectOrderList.vue
index fe4852f..adce119 100644
--- a/src/views/purchase/purOrder/DialogSelectOrderList.vue
+++ b/src/views/purchase/purOrder/DialogSelectOrderList.vue
@@ -67,7 +67,7 @@
-
+
@@ -79,6 +79,7 @@