|
@@ -107,8 +107,21 @@
|
|
|
:labelCol="BaseTool.Constant.labelCol"
|
|
|
:wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
>
|
|
|
- <a-input
|
|
|
- v-decorator="['producerId']" />
|
|
|
+ <a-select
|
|
|
+ show-search
|
|
|
+ option-filter-prop="children"
|
|
|
+ :filter-option="filterOptionProducer"
|
|
|
+ v-decorator="['producerId']"
|
|
|
+ placeholder="请选择">
|
|
|
+ <a-select-option
|
|
|
+ v-for="({id, name}) in producerList"
|
|
|
+ :key="id"
|
|
|
+ :label="name"
|
|
|
+ :value="id">{{ name }}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ <!-- <a-input
|
|
|
+ v-decorator="['producerId']" /> -->
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
@@ -347,6 +360,8 @@ import { queryDept, getDeptsAllByParentId } from '@/api/upms/dept'
|
|
|
import { queryUser } from '@/api/upms/user'
|
|
|
import DetailList from '@/components/tools/DetailList'
|
|
|
import SbInfoSelectModal from '@/views/sb/info/modules/SbInfoSelectModal'
|
|
|
+import { queryFirmProducer } from '@/api/firm/producer'
|
|
|
+
|
|
|
const DetailListItem = DetailList.Item
|
|
|
|
|
|
export default {
|
|
@@ -376,6 +391,7 @@ export default {
|
|
|
measureMap: {},
|
|
|
statusMap: {},
|
|
|
isFinancingMap: {},
|
|
|
+ producerList: {},
|
|
|
userList: {},
|
|
|
sbInfoSelectType: null,
|
|
|
repairFileList: [], // 维修手册
|
|
@@ -400,6 +416,9 @@ export default {
|
|
|
this.measureMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SB_MEASURE_RESULT)
|
|
|
this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SB_MEASURE_STATUS)
|
|
|
this.isFinancingMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SB_IS_FINANCING)
|
|
|
+ queryFirmProducer({}).then(res => {
|
|
|
+ this.producerList = res.data
|
|
|
+ })
|
|
|
},
|
|
|
methods: {
|
|
|
base (record, type) {
|