whj 1 жил өмнө
parent
commit
b25409d04d

+ 1 - 1
src/views/project/Project.vue

@@ -123,7 +123,7 @@ export default {
           title: '厂区',
           title: '厂区',
           dataIndex: 'flag',
           dataIndex: 'flag',
           customRender: (text, record, index) => {
           customRender: (text, record, index) => {
-            return text ? this.BaseTool.Object.getField(this.flagMap, text) : '混合厂区'
+            return text != -1 ? this.BaseTool.Object.getField(this.flagMap, text) : '混合厂区'
           }
           }
         },
         },
         {
         {

+ 1 - 1
src/views/project/modules/BaseForm.vue

@@ -49,7 +49,7 @@
       >
       >
         <a-select v-decorator="['flag']" placeholder="请选择">
         <a-select v-decorator="['flag']" placeholder="请选择">
           <a-select-option
           <a-select-option
-            :value="null">混合厂区
+            :value="-1">混合厂区
           </a-select-option>
           </a-select-option>
           <a-select-option
           <a-select-option
             v-for="(label,value) in flagMap"
             v-for="(label,value) in flagMap"