| 
															
																@@ -8,98 +8,95 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																              label-width="120px"> 
															 | 
															
															 | 
															
																              label-width="120px"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																       <el-row  :gutter="15"> 
															 | 
															
															 | 
															
																       <el-row  :gutter="15"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <el-col :span="12"> 
															 | 
															
															 | 
															
																         <el-col :span="12"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="施工单位Id" prop="unitId" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                 ]"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.unitId" placeholder="请填写施工单位Id"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        </el-col> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        <el-col :span="12"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="大类Id" prop="classId" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                 ]"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.classId" placeholder="请填写大类Id"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        </el-col> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        <el-col :span="12"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="小类Id" prop="subClassId" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                 ]"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.subClassId" placeholder="请填写小类Id"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        </el-col> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        <el-col :span="12"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <el-form-item label="年份" prop="yearOfEvaluation" 
															 | 
															
															 | 
															
																             <el-form-item label="年份" prop="yearOfEvaluation" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 :rules="[ 
															 | 
															
															 | 
															
																                 :rules="[ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                  ]"> 
															 | 
															
															 | 
															
																                  ]"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.yearOfEvaluation" placeholder="请填写年份"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              <el-input readonly v-model="inputForm.yearOfEvaluation" placeholder="请填写年份"     ></el-input> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            </el-form-item> 
															 | 
															
															 | 
															
																            </el-form-item> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </el-col> 
															 | 
															
															 | 
															
																         </el-col> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <el-col :span="12"> 
															 | 
															
															 | 
															
																         <el-col :span="12"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <el-form-item label="名称" prop="unitName" 
															 | 
															
															 | 
															
																             <el-form-item label="名称" prop="unitName" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 :rules="[ 
															 | 
															
															 | 
															
																                 :rules="[ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                  ]"> 
															 | 
															
															 | 
															
																                  ]"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.unitName" placeholder="请填写名称"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              <el-input readonly v-model="inputForm.unitName" placeholder="请填写名称"     ></el-input> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            </el-form-item> 
															 | 
															
															 | 
															
																            </el-form-item> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </el-col> 
															 | 
															
															 | 
															
																         </el-col> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <el-col :span="12"> 
															 | 
															
															 | 
															
																         <el-col :span="12"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="大类名称" prop="bigName" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          <el-form-item label="扣分大类" prop="classId" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        :rules="[ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  {required: true, message:'扣分大类不能为空', trigger:'blur'} 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                  ]"> 
															 | 
															
															 | 
															
																                  ]"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.bigName" placeholder="请填写大类名称"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            <el-select v-model="inputForm.classId" placeholder="请选择" @change="selectGoodsByGroupId($event)"  style="width: 100%;"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              <el-option 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                v-for="item in bigClass" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                :key="item.value" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                :label="item.label" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                :value="item.value"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              </el-option> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            </el-select> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          </el-form-item> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </el-col> 
															 | 
															
															 | 
															
																         </el-col> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <el-col :span="12"> 
															 | 
															
															 | 
															
																         <el-col :span="12"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="小类序号" prop="serialNumber" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          <el-form-item label="扣分小类" prop="subClassId" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        :rules="[ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  {required: true, message:'扣分小类不能为空', trigger:'blur'} 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                  ]"> 
															 | 
															
															 | 
															
																                  ]"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.serialNumber" placeholder="请填写小类序号"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            <el-select v-model="inputForm.subClassId" placeholder="请选择" @change="selectVeto($event)"  style="width: 100%;"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              <el-option 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                v-for="item in subClass" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                :key="item.value" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                :label="item.label" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                :value="item.value"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              </el-option> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            </el-select> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          </el-form-item> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </el-col> 
															 | 
															
															 | 
															
																         </el-col> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <el-col :span="12"> 
															 | 
															
															 | 
															
																         <el-col :span="12"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="小类名称" prop="smallName" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          <el-form-item v-if="inputForm.veto != 1" label="扣分" prop="deductPoints" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        :rules="[ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  {required: true,  message:'扣分分数不为空', trigger:'blur'}, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  {validator: isNumberZero, trigger:'blur'} 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                  ]"> 
															 | 
															
															 | 
															
																                  ]"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.smallName" placeholder="请填写小类名称"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            <el-input type="number" v-model="inputForm.deductPoints" placeholder="请填写扣分"     ></el-input> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          </el-form-item> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </el-col> 
															 | 
															
															 | 
															
																         </el-col> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <el-col :span="12"> 
															 | 
															
															 | 
															
																         <el-col :span="12"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="扣分分数" prop="deductPoints" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                  {required: true, message:'扣分分数不能为空', trigger:'blur'} 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          <el-form-item label="扣分详情" prop="deductionDetails" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        :rules="[ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  {required: true,  message:'扣分详情不为空', trigger:'blur'}, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                  ]"> 
															 | 
															
															 | 
															
																                  ]"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.deductPoints" placeholder="请填写扣分分数"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            <el-input type="textarea" resize="none" :autosize="{ minRows: 4, maxRows: 4 }" v-model="inputForm.deductionDetails" placeholder="请填写扣分详情"     ></el-input> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          </el-form-item> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </el-col> 
															 | 
															
															 | 
															
																         </el-col> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <el-col :span="12"> 
															 | 
															
															 | 
															
																         <el-col :span="12"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="扣分详情" prop="deductionDetails" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                  {required: true, message:'扣分详情不能为空', trigger:'blur'} 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          <el-form-item label="日期" prop="deductionDate" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        :rules="[ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  {required: true,  message:'扣分日期不为空', trigger:'blur'}, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                  ]"> 
															 | 
															
															 | 
															
																                  ]"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.deductionDetails" placeholder="请填写扣分详情"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            <el-date-picker 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              style="width: 100%;" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              readonly 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              v-model="inputForm.deductionDate" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              type="date" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              value-format="yyyy-MM-dd" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              placeholder="选择扣分日期"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            </el-date-picker> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          </el-form-item> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </el-col> 
															 | 
															
															 | 
															
																         </el-col> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <el-col :span="12"> 
															 | 
															
															 | 
															
																         <el-col :span="12"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="扣分日期" prop="deductionDate" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          <el-form-item v-if="veto == '1'" label="是否否决" prop="veto" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        :rules="[ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  {required: true,  message:'是否否决不能为空', trigger:'blur'}, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                  ]"> 
															 | 
															
															 | 
															
																                  ]"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              <el-input v-model="inputForm.deductionDate" placeholder="请填写扣分日期"     ></el-input> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        </el-col> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        <el-col :span="12"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-form-item label="是否否决" prop="veto" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                :rules="[ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                  {required: true, message:'是否否决不能为空', trigger:'blur'} 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                 ]"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                <el-select v-model="inputForm.veto" placeholder="请选择"  style="width: 100%;"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                          <el-option 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                            v-for="item in $dictUtils.getDictList('')" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                            :key="item.value" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                            :label="item.label" 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                            :value="item.value"> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                          </el-option> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                      </el-select> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-           </el-form-item> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            <el-select v-model="inputForm.veto" placeholder="请选择"  style="width: 100%;"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              <el-option 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                v-for="item in options" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                :key="item.value" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                :label="item.label" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                :value="item.value"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              </el-option> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            </el-select> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          </el-form-item> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </el-col> 
															 | 
															
															 | 
															
																         </el-col> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </el-row> 
															 | 
															
															 | 
															
																         </el-row> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     </el-form> 
															 | 
															
															 | 
															
																     </el-form> 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -119,6 +116,19 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         method: '', 
															 | 
															
															 | 
															
																         method: '', 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         visible: false, 
															 | 
															
															 | 
															
																         visible: false, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         loading: false, 
															 | 
															
															 | 
															
																         loading: false, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        isNumberZero: (rule, value, callback) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          const reg = /^[+]?[1-9]+$/ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          if (!reg.test(value)) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            return callback(new Error('情输入正确的扣分分数')) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          this.$http.get(`/database/datalink/dataSource/checkEnName?oldEnName=${this.inputForm.oldEnName}&enName=${value}`).then(({data}) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (!data.success) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              return callback(new Error('连接英文名已存在!')) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            } else { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              return callback() 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          }) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         inputForm: { 
															 | 
															
															 | 
															
																         inputForm: { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           id: '', 
															 | 
															
															 | 
															
																           id: '', 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           unitId: '', 
															 | 
															
															 | 
															
																           unitId: '', 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -133,7 +143,17 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           deductionDetails: '', 
															 | 
															
															 | 
															
																           deductionDetails: '', 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           deductionDate: '', 
															 | 
															
															 | 
															
																           deductionDate: '', 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           veto: '' 
															 | 
															
															 | 
															
																           veto: '' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        } 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        bigClass: [], 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        subClass: [], 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        veto: '0', 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        options: [ { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          value: '0', 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          label: '否' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }, { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          value: '1', 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          label: '是' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }] 
															 | 
														
													
												
													
														
															| 
															 | 
															
																       } 
															 | 
															
															 | 
															
																       } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     }, 
															 | 
															
															 | 
															
																     }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     components: { 
															 | 
															
															 | 
															
																     components: { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -145,7 +165,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         if (method === 'add') { 
															 | 
															
															 | 
															
																         if (method === 'add') { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           this.title = `新建扣分详细` 
															 | 
															
															 | 
															
																           this.title = `新建扣分详细` 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } else if (method === 'edit') { 
															 | 
															
															 | 
															
																         } else if (method === 'edit') { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-          this.title = '查看扣分详细' 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          this.title = '修改' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } else if (method === 'view') { 
															 | 
															
															 | 
															
																         } else if (method === 'view') { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           this.title = '查看扣分详细' 
															 | 
															
															 | 
															
																           this.title = '查看扣分详细' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -156,10 +176,26 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           if (method === 'edit' || method === 'view') { // 修改或者查看 
															 | 
															
															 | 
															
																           if (method === 'edit' || method === 'view') { // 修改或者查看 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.loading = true 
															 | 
															
															 | 
															
																             this.loading = true 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.$http({ 
															 | 
															
															 | 
															
																             this.$http({ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              url: `/deductionshowdetails/deductionShowDetails/queryById?id=${this.inputForm.id}`, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              url: `/deductionShowDetails/deductionShowDetails/queryById?id=${this.inputForm.id}`, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																               method: 'get' 
															 | 
															
															 | 
															
																               method: 'get' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             }).then(({data}) => { 
															 | 
															
															 | 
															
																             }).then(({data}) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              console.log(data) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																               this.inputForm = this.recover(this.inputForm, data.deductionShowDetails) 
															 | 
															
															 | 
															
																               this.inputForm = this.recover(this.inputForm, data.deductionShowDetails) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              this.veto = data.deductionShowDetails.veto 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              this.$http({ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                url: `/deductiondetails/deductionDetails/getBigClass?id=0`, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                method: 'get' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              }).then(({data}) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                this.bigClass = data.bigClass 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                this.loading = false 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                this.$http({ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  url: `/deductiondetails/deductionDetails/getSubClass?id=${this.inputForm.classId}`, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  method: 'get' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                }).then(({data}) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  this.subClass = data.subClass 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                  this.loading = false 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                }) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              }) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																               this.loading = false 
															 | 
															
															 | 
															
																               this.loading = false 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             }) 
															 | 
															
															 | 
															
																             }) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           } 
															 | 
															
															 | 
															
																           } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -171,7 +207,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           if (valid) { 
															 | 
															
															 | 
															
																           if (valid) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.loading = true 
															 | 
															
															 | 
															
																             this.loading = true 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.$http({ 
															 | 
															
															 | 
															
																             this.$http({ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-              url: `/deductionshowdetails/deductionShowDetails/save`, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+              url: `/deductionShowDetails/deductionShowDetails/update`, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																               method: 'post', 
															 | 
															
															 | 
															
																               method: 'post', 
															 | 
														
													
												
													
														
															| 
															 | 
															
																               data: this.inputForm 
															 | 
															
															 | 
															
																               data: this.inputForm 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             }).then(({data}) => { 
															 | 
															
															 | 
															
																             }).then(({data}) => { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -184,6 +220,29 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             }) 
															 | 
															
															 | 
															
																             }) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																           } 
															 | 
															
															 | 
															
																           } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }) 
															 | 
															
															 | 
															
																         }) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+      }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+      selectGoodsByGroupId (val) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        this.$http({ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          url: `/deductiondetails/deductionDetails/getSubClass?id=${this.inputForm.classId}`, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          method: 'get' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }).then(({data}) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          console.log(data) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          this.subClass = data.subClass 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          this.inputForm.subClassId = '' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          this.loading = false 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+      }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+      selectVeto (val) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        console.log(val) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        this.$http({ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          url: `/deductiondetails/deductionDetails/getVeto?id=${this.inputForm.subClassId}`, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          method: 'get' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }).then(({data}) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          console.log(data) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          this.veto = data.veto 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          this.inputForm.veto = '0' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+          this.loading = false 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																       } 
															 | 
															
															 | 
															
																       } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     } 
															 | 
															
															 | 
															
																     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   } 
															 | 
															
															 | 
															
																   } 
															 |