5a8b29e4 by xiaomiao

--no commit message

1 parent 88f5e7c8
...@@ -11,7 +11,11 @@ ...@@ -11,7 +11,11 @@
11 </div> 11 </div>
12 12
13 <div v-for="(item, index) in tableData" :key="index"> 13 <div v-for="(item, index) in tableData" :key="index">
14 <el-form :model="tableData[index]" label-width="120px" ref="ruleForm'" :rules="rules"> 14 <el-form
15 :model="tableData[index]"
16 label-width="120px"
17 ref="ruleForm'"
18 >
15 <div class="spyj_form"> 19 <div class="spyj_form">
16 <div class="item_left"> 20 <div class="item_left">
17 <div class="right">{{ item.jdmc }}意见</div> 21 <div class="right">{{ item.jdmc }}意见</div>
...@@ -21,7 +25,6 @@ ...@@ -21,7 +25,6 @@
21 <el-col :span="24"> 25 <el-col :span="24">
22 <el-form-item 26 <el-form-item
23 label-width="0" 27 label-width="0"
24 prop="shyj"
25 class="opinion_item" 28 class="opinion_item"
26 > 29 >
27 <el-input 30 <el-input
...@@ -35,7 +38,7 @@ ...@@ -35,7 +38,7 @@
35 <el-button 38 <el-button
36 class="opinion_btn" 39 class="opinion_btn"
37 @click="commonOpinion(index)" 40 @click="commonOpinion(index)"
38 v-if="viewEdit" 41 :disabled="!viewEdit|| item.show"
39 >常用意见</el-button 42 >常用意见</el-button
40 > 43 >
41 </el-form-item> 44 </el-form-item>
...@@ -90,9 +93,6 @@ export default { ...@@ -90,9 +93,6 @@ export default {
90 jdmc: "", 93 jdmc: "",
91 indexdqlc: 0, 94 indexdqlc: 0,
92 shows: false, 95 shows: false,
93 rules: {
94 shyj: [{ required: true, message: "意见不能为空", trigger: "blur" }],
95 },
96 }; 96 };
97 }, 97 },
98 98
...@@ -189,8 +189,6 @@ export default { ...@@ -189,8 +189,6 @@ export default {
189 * @author: renchao 189 * @author: renchao
190 */ 190 */
191 onSubmit() { 191 onSubmit() {
192 this.$refs.ruleForm.validate((valid) => {
193 if (valid) {
194 this.shows = true; 192 this.shows = true;
195 this.tableData.forEach((item, index) => { 193 this.tableData.forEach((item, index) => {
196 item["bsmBusiness"] = this.propsParam.bsmBusiness; 194 item["bsmBusiness"] = this.propsParam.bsmBusiness;
...@@ -205,10 +203,6 @@ export default { ...@@ -205,10 +203,6 @@ export default {
205 this.$message.error(res.message); 203 this.$message.error(res.message);
206 } 204 }
207 }); 205 });
208 } else {
209 return false;
210 }
211 });
212 }, 206 },
213 //打开常用意见列表弹窗 207 //打开常用意见列表弹窗
214 /** 208 /**
......