@@ -123,7 +123,7 @@ export default {
title: '厂区',
dataIndex: 'flag',
customRender: (text, record, index) => {
- return text ? this.BaseTool.Object.getField(this.flagMap, text) : '混合厂区'
+ return text != -1 ? this.BaseTool.Object.getField(this.flagMap, text) : '混合厂区'
}
},
{
@@ -49,7 +49,7 @@
>
<a-select v-decorator="['flag']" placeholder="请选择">
<a-select-option
- :value="null">混合厂区
+ :value="-1">混合厂区
</a-select-option>
v-for="(label,value) in flagMap"