2
3
baichengfei 5 лет назад
Родитель
Сommit
94f949d053

+ 8 - 5
src/dashoo.cn/frontend_web/src/pages/oilsupplier/infochangech/_opera/operation.vue

@@ -2477,7 +2477,7 @@
         this.audithistoryshow = true
       },
       // 保存信息变更数据
-      saveinfochange () {
+      saveinfochange (val) {
         this.$refs['formData'].validate((valid) => {
           if (valid) {
             let AllInfochangeItemList = {
@@ -2491,10 +2491,12 @@
               if (res.data.code === 0) {
                 // 保存成功后,初始化数据,变成修改
                 this.initDatas()
-                this.$message({
-                  type: 'success',
-                  message: res.data.message
-                })
+                if (val !== 1) {
+                  this.$message({
+                    type: 'success',
+                    message: res.data.message
+                  })
+                }
               } else {
                 this.$message({
                   type: 'warning',
@@ -2577,6 +2579,7 @@
         })
       },
       submitApplyBtn () {
+        this.saveinfochange(1)
         this.getFirAuditerByDept()
         this.commitshow = true
       },