Преглед изворни кода

修改供应商联系人判断

mainqaq пре 3 година
родитељ
комит
7adb55f9ed
1 измењених фајлова са 1 додато и 12 уклоњено
  1. 1 12
      src/xt_pages/supply/components/addSupply.vue

+ 1 - 12
src/xt_pages/supply/components/addSupply.vue Прегледај датотеку

@@ -92,23 +92,12 @@
92 92
           <!-- 联系人填写 -->
93 93
           <el-table-column label="联系人" align="center" width="130">
94 94
             <template slot="header" slot-scope="scope">
95
-              <span>联系人<span style="color: red">*</span></span>
95
+              <span>联系人</span>
96 96
             </template>
97 97
             <!-- tableRules.name -->
98 98
             <template slot-scope="scope">
99 99
               <el-form-item
100 100
                 :prop="'contacts.' + scope.$index + '.name'"
101
-                :rules="
102
-                  scope.row.name != ''
103
-                    ? [
104
-                        {
105
-                          required: 'true',
106
-                          message: '请输入主要联系人',
107
-                          trigger: ['blur'],
108
-                        },
109
-                      ]
110
-                    : null
111
-                "
112 101
               >
113 102
                 <el-input
114 103
                   v-model="scope.row.name"