From 4872a9409f4428d55c896a4f53d42500f6c805a2 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 25 四月 2024 12:01:47 +0800
Subject: [PATCH] 销售订单隶属品牌必填校验
---
vue.config.js | 4 ++--
src/views/plan/customerorder/sample-customerorder-form.vue | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/views/plan/customerorder/sample-customerorder-form.vue b/src/views/plan/customerorder/sample-customerorder-form.vue
index e87342d..765dc1a 100644
--- a/src/views/plan/customerorder/sample-customerorder-form.vue
+++ b/src/views/plan/customerorder/sample-customerorder-form.vue
@@ -409,6 +409,10 @@
let isError = false
_than.buttonDisable = true
_than.tableData.forEach(ele=>{
+ if(ele.productType==null || ele.productType=='' || ele.productType==undefined){
+ _than.$message.error("浜у搧鐨勯毝灞炲搧鐗屼笉鑳戒负绌�!")
+ isError = true
+ }
if(ele.buyQtyDue==null || ele.buyQtyDue=='' || ele.buyQtyDue==undefined){
_than.$message.error("闆朵欢鏁伴噺涓嶈兘涓虹┖!")
isError = true
diff --git a/vue.config.js b/vue.config.js
index e94f4c8..3b58a3e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -6,8 +6,8 @@
// const url = 'https://ztms-mes.chinaztt.cn/'
-// const url = 'http://localhost:9999'
-const url = 'http://192.168.32.45:9999'
+ const url = 'http://localhost:9999'
+//const url = 'http://192.168.32.45:9999'
const localUrl = 'http://localhost:8089'
--
Gitblit v1.9.3