linwenxin vor 1 Jahr
Ursprung
Commit
1d1818f87c

+ 2 - 2
src/views/workOrder/workOrderPool/detailModule/SettleAccounts/index.vue

@@ -432,14 +432,14 @@ export default {
                   row.repairAmount = ""
                   row.settleNormId = ""
                   if (val) {
-                    var data = this.classifyListChuLi("parentCategoryId", "parentCategoryName", (item) => item.orderChannelId == row.channelId && item.parentCategoryId == row.parentCategoryId).find(item => item.value == val)
+                    var data = this.classifyListChuLi("categoryId", "categoryName", (item) => item.orderChannelId == row.channelId && item.parentCategoryId == row.parentCategoryId).find(item => item.value == val)
                     row.categoryName = data.label
                   } else {
                     row.categoryName = ""
                   }
                 }}
                 placeholder="请选择">
-                {this.classifyListChuLi("parentCategoryId", "parentCategoryName", (item) => item.orderChannelId == row.channelId && item.parentCategoryId == row.parentCategoryId).map((item, index_) => <el-option key={index_} label={item.label} value={item.value}></el-option>)}
+                {this.classifyListChuLi("categoryId", "categoryName", (item) => item.orderChannelId == row.channelId && item.parentCategoryId == row.parentCategoryId).map((item, index_) => <el-option key={index_} label={item.label} value={item.value}></el-option>)}
               </el-select>
             </el-form-item>
           </div> : null