{
@@ -564,7 +565,6 @@ export default {
this.deleteData.billNo = data;
deleteByOrderId(this.deleteData)
.then((response) => {
-
if (response.code == 20000) {
this.getList();
this.$message({
diff --git a/src/views/inventory/InvPreProducts.vue b/src/views/inventory/InvPreProducts.vue
index 2be71d6b..499fbbd5 100644
--- a/src/views/inventory/InvPreProducts.vue
+++ b/src/views/inventory/InvPreProducts.vue
@@ -73,6 +73,33 @@
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
@@ -115,7 +142,7 @@
-
+
详情
- 删除
-
+
+
+
+
+
+
+
@@ -180,7 +207,7 @@ export default {
supId: null,
zczbhhzbapzbh: null,
ylqxzcrbarmc: null,
- invCode: this.$store.getters.locInvCode,
+ invCode: null,
page: 1,
limit: 10,
},
@@ -224,7 +251,7 @@ export default {
supId: null,
zczbhhzbapzbh: null,
ylqxzcrbarmc: null,
- invCode: this.$store.getters.locInvCode,
+ invCode: null,
page: 1,
limit: 10,
};
@@ -253,7 +280,7 @@ export default {
getList() {
this.loading = true;
- this.filterQuery.supId = this.$store.getters.customerId;
+ // this.filterQuery.supId = this.$store.getters.customerId;
getInvPreProduct(this.filterQuery).then((res) => {
this.loading = false;
if (res.code === 20000) {
@@ -273,7 +300,7 @@ export default {
},
getInvList() {
let query = {
- advanceType: 3,
+ advanceType: 3, //获取寄售库1:入账,2:预验收,3:寄售
};
getInvListByUser(query)
.then((response) => {
diff --git a/src/views/inventory/InvProducts.vue b/src/views/inventory/InvProducts.vue
index 2f029514..153938b8 100644
--- a/src/views/inventory/InvProducts.vue
+++ b/src/views/inventory/InvProducts.vue
@@ -16,28 +16,28 @@
-
-
-
-
@@ -46,14 +46,14 @@
-
-
@@ -81,7 +81,7 @@
remote
clearable="true"
reserve-keyword
- placeholder="供应商名称"
+ placeholder="请选择供应商名称"
:remote-method="findMethod"
size="mini"
:loading="corpLoading"
@@ -141,7 +141,7 @@
-
+
详情
- 删除
-
@@ -204,6 +197,7 @@
>
+
@@ -215,7 +209,6 @@ import {isBlank} from "@/utils/strUtil";
import invProductsDetail from "@/views/inventory/InvProductsDetail.vue";
import addInvRemindSetDialog from "@/views/inventory/addInvRemindSetDialog.vue";
-
export default {
name: "InvProducts",
data() {
@@ -306,7 +299,6 @@ export default {
},
getList() {
this.loading = true;
-
getProduct(this.filterQuery).then((res) => {
this.loading = false;
if (res.code === 20000) {
@@ -350,7 +342,7 @@ export default {
this.fromOptions = res.data.list || [];
}).catch(() => {
this.corpLoading = false;
- })
+ });
},
corpChange(value) {
if (!isBlank(value)) {
diff --git a/src/views/inventory/InvSupPreInProducts.vue b/src/views/inventory/InvSupPreInProducts.vue
index f7a91894..37f21871 100644
--- a/src/views/inventory/InvSupPreInProducts.vue
+++ b/src/views/inventory/InvSupPreInProducts.vue
@@ -73,6 +73,34 @@
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
@@ -158,7 +186,7 @@ import {getInvListByUser} from "@/api/system/invWarehouse";
import {getInvPreInProduct, deleteInvPreInProduct} from "@/api/inventory/invPreInSearch";
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain";
import {isBlank} from "@/utils/strUtil";
-import invPreProductsDetail from "@/views/inventory/InvPreProductsDetail.vue";
+import invPreProductsDetail from "@/views/inventory/InvPreInProductsDetail.vue";
export default {
name: "InvPreProducts",
@@ -173,7 +201,7 @@ export default {
supId: null,
zczbhhzbapzbh: null,
ylqxzcrbarmc: null,
- invCode: this.$store.getters.locInvCode,
+ invCode: null,
page: 1,
limit: 10,
},
@@ -217,9 +245,9 @@ export default {
supId: null,
zczbhhzbapzbh: null,
ylqxzcrbarmc: null,
- invCode: this.$store.getters.locInvCode,
page: 1,
limit: 10,
+ invCode: null,
};
this.getList();
},
@@ -246,7 +274,7 @@ export default {
getList() {
this.loading = true;
- this.filterQuery.supId = this.$store.getters.customerId;
+ // this.filterQuery.supId = this.$store.getters.customerId;
getInvPreInProduct(this.filterQuery).then((res) => {
this.loading = false;
if (res.code === 20000) {
diff --git a/vue.config.js b/vue.config.js
index a4f03f6d..cfcca24b 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://192.168.1.14:9991/`,
+ target: `http://127.0.0.1:9991/`,
changeOrigin: true,
pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "",