From b97ba4b765bef0d9edead0a553c4bcb9829ad4a6 Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Wed, 4 Jun 2025 14:31:40 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/stocks/component/addRuku.vue | 12 ++++++------
src/views/stocks/component/addStock.vue | 18 ------------------
2 files changed, 6 insertions(+), 24 deletions(-)
diff --git a/src/views/stocks/component/addRuku.vue b/src/views/stocks/component/addRuku.vue
index 6bb6fd0..998559b 100644
--- a/src/views/stocks/component/addRuku.vue
+++ b/src/views/stocks/component/addRuku.vue
@@ -616,12 +616,12 @@
nextStep() {
if (this.activeStep === 0) {
- // this.$refs.basicForm.validate(valid => {
- // if (valid) {
- // this.activeStep++
- // }
- // })
- this.activeStep++
+ this.$refs.basicForm.validate(valid => {
+ if (valid) {
+ this.activeStep++
+ }
+ })
+ // this.activeStep++
} else if (this.activeStep === 1) {
if (this.mingxiList.length === 0) {
this.$message.warning('请至少添加一条物资明细')
diff --git a/src/views/stocks/component/addStock.vue b/src/views/stocks/component/addStock.vue
index 754e208..9362f3d 100644
--- a/src/views/stocks/component/addStock.vue
+++ b/src/views/stocks/component/addStock.vue
@@ -14,23 +14,6 @@
选择
-
-
-
@@ -322,7 +305,6 @@
if(item.extra.suozaicangku){
this.handleCkChange(item.extra.suozaicangku)
}
-
this.formData.dengjifenlei = item.extra.dengjifenlei
this.formData.chanquanxinxi = item.extra.chanquanxinxi
this.formData.cunfangyaoqiu = item.extra.cunfangyaoqiu