From 81cb2288fc7377a745287346e37b30224510654b Mon Sep 17 00:00:00 2001
From: zhangli <2235006734@qq.com>
Date: Thu, 26 Oct 2023 09:33:57 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AD=96=E7=95=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/wms/strategy/downShelfStrategy/AddForm.vue | 4 ++--
src/views/wms/strategy/downShelfStrategy/index.vue | 2 +-
src/views/wms/strategy/purchaseReceiptStrategy/AddForm.vue | 4 ++--
src/views/wms/strategy/purchaseReceiptStrategy/index.vue | 2 +-
src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue | 4 ++--
src/views/wms/strategy/supplieDeliveryStrategy/index.vue | 2 +-
src/views/wms/strategy/upShelfStrategy/AddForm.vue | 4 ++--
src/views/wms/strategy/upShelfStrategy/index.vue | 2 +-
8 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/views/wms/strategy/downShelfStrategy/AddForm.vue b/src/views/wms/strategy/downShelfStrategy/AddForm.vue
index 468ee08b1..8149ed38e 100644
--- a/src/views/wms/strategy/downShelfStrategy/AddForm.vue
+++ b/src/views/wms/strategy/downShelfStrategy/AddForm.vue
@@ -445,7 +445,7 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.name = data.name
formData.value.description = data.description
formData.value.priority = data.priority
- formData.value.status = data.status == 1 ? true : false
+ formData.value.status = data.status == 0 ? true : false
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
}
@@ -491,7 +491,7 @@ const submitForm = async () => {
name: formData.value.name,//名称
description: formData.value.description,//描述
priority: formData.value.priority,//优先级
- status: formData.value.status ? 1 : 0,//状态
+ status: formData.value.status ? 0 : 1,//状态
//规则条件集合
condition: JSON.stringify(formData.value.condition),
configuration: JSON.stringify(formData.value.configuration)
diff --git a/src/views/wms/strategy/downShelfStrategy/index.vue b/src/views/wms/strategy/downShelfStrategy/index.vue
index 5db913e63..dd5f89a05 100644
--- a/src/views/wms/strategy/downShelfStrategy/index.vue
+++ b/src/views/wms/strategy/downShelfStrategy/index.vue
@@ -12,7 +12,7 @@
-
+
diff --git a/src/views/wms/strategy/purchaseReceiptStrategy/AddForm.vue b/src/views/wms/strategy/purchaseReceiptStrategy/AddForm.vue
index 563ee2b05..a1d5626dc 100644
--- a/src/views/wms/strategy/purchaseReceiptStrategy/AddForm.vue
+++ b/src/views/wms/strategy/purchaseReceiptStrategy/AddForm.vue
@@ -243,7 +243,7 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.name = data.name
formData.value.description = data.description
formData.value.priority = data.priority
- formData.value.status = data.status == 1 ? true : false
+ formData.value.status = data.status == 0 ? true : false
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
}
@@ -277,7 +277,7 @@ const submitForm = async () => {
name: formData.value.name,//名称
description: formData.value.description,//描述
priority: formData.value.priority,//优先级
- status: formData.value.status ? 1 : 0,//状态
+ status: formData.value.status ? 0 : 1,//状态
//规则条件集合
condition: JSON.stringify(formData.value.condition),
configuration: JSON.stringify(formData.value.configuration)
diff --git a/src/views/wms/strategy/purchaseReceiptStrategy/index.vue b/src/views/wms/strategy/purchaseReceiptStrategy/index.vue
index d7be6760b..683a6a00c 100644
--- a/src/views/wms/strategy/purchaseReceiptStrategy/index.vue
+++ b/src/views/wms/strategy/purchaseReceiptStrategy/index.vue
@@ -12,7 +12,7 @@
-
+
diff --git a/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue b/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue
index ac0a9f41e..8300007cb 100644
--- a/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue
+++ b/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue
@@ -302,7 +302,7 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.name = data.name
formData.value.description = data.description
formData.value.priority = data.priority
- formData.value.status = data.status == 1 ? true : false
+ formData.value.status = data.status == 0 ? true : false
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
}
@@ -336,7 +336,7 @@ const submitForm = async () => {
name: formData.value.name,//名称
description: formData.value.description,//描述
priority: formData.value.priority,//优先级
- status: formData.value.status ? 1 : 0,//状态
+ status: formData.value.status ? 0 : 1,//状态
//规则条件集合
condition: JSON.stringify(formData.value.condition),
configuration: JSON.stringify(formData.value.configuration)
diff --git a/src/views/wms/strategy/supplieDeliveryStrategy/index.vue b/src/views/wms/strategy/supplieDeliveryStrategy/index.vue
index 7e15a84f1..21ff30d3b 100644
--- a/src/views/wms/strategy/supplieDeliveryStrategy/index.vue
+++ b/src/views/wms/strategy/supplieDeliveryStrategy/index.vue
@@ -12,7 +12,7 @@
-
+
diff --git a/src/views/wms/strategy/upShelfStrategy/AddForm.vue b/src/views/wms/strategy/upShelfStrategy/AddForm.vue
index 711e4873f..74cbb3d89 100644
--- a/src/views/wms/strategy/upShelfStrategy/AddForm.vue
+++ b/src/views/wms/strategy/upShelfStrategy/AddForm.vue
@@ -366,7 +366,7 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.name = data.name
formData.value.description = data.description
formData.value.priority = data.priority
- formData.value.status = data.status == 1 ? true : false
+ formData.value.status = data.status == 0 ? true : false
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
}
@@ -413,7 +413,7 @@ const submitForm = async () => {
name: formData.value.name,//名称
description: formData.value.description,//描述
priority: formData.value.priority,//优先级
- status: formData.value.status ? 1 : 0,//状态
+ status: formData.value.status ? 0 : 1,//状态
//规则条件集合
condition: JSON.stringify(formData.value.condition),
configuration: JSON.stringify(formData.value.configuration)
diff --git a/src/views/wms/strategy/upShelfStrategy/index.vue b/src/views/wms/strategy/upShelfStrategy/index.vue
index 3f4f1d24d..30126820f 100644
--- a/src/views/wms/strategy/upShelfStrategy/index.vue
+++ b/src/views/wms/strategy/upShelfStrategy/index.vue
@@ -12,7 +12,7 @@
-
+