2
3
Переглянути джерело

Merge branch 'develop' of http://code.dashoo.cn/dashoo/supplier_system into develop

dubch 5 роки тому
батько
коміт
c039acaf8d

+ 0 - 8
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/basisedit.vue

@@ -1416,14 +1416,6 @@ export default {
         valid2 = valid
       })
 
-      if (this.formData.RegCapital <= 0) {
-        this.$message({
-          type: 'warning',
-          message: '注册资本必须大于0万元!'
-        })
-        return
-      }
-
       if (valid1 && valid2) {
         if (!this.formData.SetupTime) {
           this.formData.SetupTime = null

+ 1 - 7
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -1570,13 +1570,7 @@ export default {
       this.$refs['GoodsInfo'].$refs['EntityFormCert'].validate((valid) => {
         valid2 = valid
       })
-      if (this.formData.RegCapital <= 0) {
-        this.$message({
-          type: 'warning',
-          message: '注册资本必须大于0万元!'
-        })
-        return
-      }
+
       if (this.formData.Grade == 1 && (this.formData.PACNumber == '' || typeof this.formData.PACNumber == 'undefined')) {
         this.$message({
           type: 'warning',

+ 1 - 7
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/techedit.vue

@@ -1417,13 +1417,7 @@ export default {
       this.$refs['TechInfo'].$refs['EntityFormCert'].validate(valid => {
         valid2 = valid
       })
-      if (this.formData.RegCapital <= 0) {
-        this.$message({
-          type: 'warning',
-          message: '注册资本必须大于0万元!'
-        })
-        return
-      }
+
       if (valid1 && valid2) {
         if (!this.formData.SetupTime) {
           this.formData.SetupTime = null