From a181fc113d024ed34d6b488c65882961bd1de3f4 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 02 六月 2020 19:00:57 +0800
Subject: [PATCH] 2020-06-02

---
 src/tabviews/subtable/index.jsx |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx
index c11b488..c78e7bc 100644
--- a/src/tabviews/subtable/index.jsx
+++ b/src/tabviews/subtable/index.jsx
@@ -469,6 +469,7 @@
     let _BID = this.props.BID
 
     let requireFields = search.filter(item => item.required && (!item.value || item.value.length === 0))
+    let prex = this.props.Tab && this.props.Tab.label ? this.props.Tab.label + '-' : ''
 
     if (requireFields.length > 0) {
       let labels = requireFields.map(item => item.label)
@@ -476,7 +477,7 @@
 
       notification.warning({
         top: 92,
-        message: this.state.dict['form.required.input'] + labels.join('銆�') + ' !',
+        message: prex + this.state.dict['form.required.input'] + labels.join('銆�') + ' !',
         duration: 3
       })
       return
@@ -522,7 +523,6 @@
       this.setState({
         loading: false
       })
-      let prex = this.props.Tab && this.props.Tab.label ? this.props.Tab.label + ': ' : ''
 
       notification.error({
         top: 92,
@@ -800,6 +800,8 @@
     } else if (btn.execSuccess === 'equaltab' && type === 'success') {
       this.reloadtable()
       this.props.handleMainTable('equaltab')
+    }else if (btn.execSuccess === 'mainline' && type === 'success') {
+      this.props.handleMainTable('mainline')
     }
   }
 

--
Gitblit v1.8.0