|
@@ -105,7 +105,15 @@
|
|
|
<!-- 供应商分类 -->
|
|
|
<template slot="cvenCodeType" slot-scope="text, record, index" >
|
|
|
<a-form-model-item prop="cvenCodeType" :rules="rules.cvenCodeType" v-if="record.status == '0'">
|
|
|
- <a-input style="width:100%" type="text" v-model="record.cvenCodeType" />
|
|
|
+ <a-select v-model="record.cvenCodeType" show-search :filterOption="filterOption" style="width: 200px" >
|
|
|
+ <a-select-option
|
|
|
+ v-for="(item,index) in SupplierTypeOption"
|
|
|
+ :key="index"
|
|
|
+ :value="item.cvenCodeType">
|
|
|
+ {{item.cvenCodeType}}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ <!-- <a-input style="width:100%" type="text" v-model="record.cvenCodeType" /> -->
|
|
|
</a-form-model-item>
|
|
|
<a-form-model-item prop="cvenCodeType" :rules="rules.cvenCodeType" v-if="record.status == '1'">
|
|
|
<span>{{record.cvenCodeType}}</span>
|
|
@@ -249,8 +257,11 @@ export default {
|
|
|
loading: false, // 表格加载
|
|
|
|
|
|
// 查询条件
|
|
|
- queryParam: { },
|
|
|
+ queryParam: {
|
|
|
+ cvenCodeType:'成衣厂'
|
|
|
+ },
|
|
|
pagination: {
|
|
|
+
|
|
|
// total: '',
|
|
|
// current: 0,
|
|
|
// pageSize: 0
|
|
@@ -260,9 +271,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- created() {
|
|
|
+ async created() {
|
|
|
+ await this.getOption()
|
|
|
this.getSupplierList()
|
|
|
- this.getOption()
|
|
|
+
|
|
|
|
|
|
},
|
|
|
computed: {},
|
|
@@ -303,7 +315,9 @@ export default {
|
|
|
},
|
|
|
//重置
|
|
|
searchReset(){
|
|
|
- this.queryParam = {}
|
|
|
+ this.queryParam = {
|
|
|
+ cvenCodeType:'成衣厂'
|
|
|
+ }
|
|
|
this.getSupplierList()
|
|
|
},
|
|
|
//报关品名下拉框模糊搜索
|
|
@@ -323,6 +337,7 @@ export default {
|
|
|
supplier:'',
|
|
|
capacityQuota:'',
|
|
|
workingHours:'',
|
|
|
+ cvenCodeType:'成衣厂',
|
|
|
supplierState:'',
|
|
|
remarks:'',
|
|
|
status : '0'
|