From 051145654d6b1b5556c70f91ca29384a35aa5f7d Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期四, 16 十一月 2023 13:46:38 +0800
Subject: [PATCH] 公共组件选择产品改为下拉可搜索框、库存调整、补货、上架规则、重订货规则修改
---
src/views/operate/scrap/AddScrapDialog.vue | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/views/operate/scrap/AddScrapDialog.vue b/src/views/operate/scrap/AddScrapDialog.vue
index b877a3e..ab6c744 100644
--- a/src/views/operate/scrap/AddScrapDialog.vue
+++ b/src/views/operate/scrap/AddScrapDialog.vue
@@ -168,7 +168,7 @@
currentState: "todo", // 褰撳墠鐘舵��
unit: "",
showButton: true,
- isValidateClick: false, // 楠岃瘉鏄惁鏄剧ず
+ isValidateClick: false // 楠岃瘉鏄惁鏄剧ず
}
},
created() {
@@ -195,7 +195,7 @@
// 鑾峰彇浠撳簱浣嶇疆鍒楄〃
async getLocationList() {
await getLocationList({
- keyWord: "",
+ isScrapLocation: true,
page: 0,
pageSize: 0
}).then((res) => {
@@ -267,7 +267,7 @@
} else if (this.editCommonConfig.title === "缂栬緫") {
this.$refs[formName].validate((valid) => {
if (valid) {
- let params={
+ let params = {
amount: this.editConfig.infomation.amount,
baseOperationType: this.editConfig.infomation.baseOperationType,
fromLocationId: this.editConfig.infomation.fromLocationId,
@@ -279,9 +279,7 @@
status: this.editConfig.infomation.status,
toLocationId: this.editConfig.infomation.toLocationId
}
- updateScrap(
- params
- ).then((res) => {
+ updateScrap(params).then((res) => {
console.log(res)
this.editConfig.visible = false
if (res.code === 200) {
--
Gitblit v1.8.0