liuhj 6 months ago
parent
commit
5b700832b1
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/components/OP/SuppliesInventory.vue

+ 7 - 1
src/components/OP/SuppliesInventory.vue

@@ -462,7 +462,7 @@
                     <el-form-item label="关联团组" prop="groupId">
                         <el-select size="small" v-model="ClaimsruleForm.groupId" clearable filterable
                             placeholder="请选择">
-                            <el-option v-for="item in groupNameData" :key="item.id" :label="item.groupName"
+                            <el-option :style="item.id==0?'color:#67c23a;':''" v-for="item in groupNameData" :key="item.id" :label="item.groupName"
                                 :value="item.id">
                             </el-option>
                         </el-select>
@@ -907,6 +907,12 @@ export default {
                     that.AddMaterialTypearr=res.data.data.goodsTypeData;
                     that.userNameData=res.data.data.userNameData;
                     that.groupNameData=res.data.data.groupNameData;
+                    that.groupNameData.unshift(
+                        {
+                            id:0,
+                            groupName:"其他物资"
+                        }
+                    )
                     // that.MaterialType=that.MaterialTypearr[0].id;
                     that.MaterialTypechange();
                     for (let k = 0; k < that.MaterialTypearr.length; k++) {