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