Commit 9acc8f28 authored by qinj's avatar qinj

修改字段

parent 5fe23907
......@@ -8,7 +8,30 @@
v-model="formData"
:rules="rules"
:sections="sections"
>
<template v-slot:ExtLockRsp_SDK="{ formData }">
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select v-model="formData.ExtLockRsp_SDK" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option
v-for="item in province"
:key="item.AccountID"
:label="item.Name"
:value="item.ExtSocialUnifiedCreditCode_SDK"
/>
</el-select>
</template>
<template v-slot:ExtLockCity_SDK="{ formData }">
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select v-model="formData.ExtLockCity_SDK" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option
v-for="item in apptions"
:key="item.Code"
:label="item.Name"
:value="item.Code"
/>
</el-select>
</template>
</ele-form-section>
<div class="table-contain">
<div class="form-container">审批意见</div>
<div class="btn">
......@@ -57,6 +80,7 @@
import Title from '@/components/Title'
import { getCustomer,typeSearch,lockRsp,ProcessApproval,processHistory } from '@/api/customers';
import Pagination from '@/components/Pagination'
import { Country } from '@/api/qcc'
export default {
components: {
Pagination,
......@@ -223,7 +247,7 @@ export default {
label: '签约渠道类型',
layout: 12,
options: async data => {
const res = await typeSearch({code:'ExtChannelType_SDK',module:'Customer'})
const res = await typeSearch({code:'ExtChannelType_SDK',module:'Customer',content:'CCP'})
var result = res.map(item => {
return {
text: item.content,
......@@ -254,17 +278,20 @@ export default {
extStartDate_SDK: {
type: 'date',
label: '初始合作开始时间',
layout: 12
layout: 12,
disabled:true
},
extAuthenticationDate_SDK: {
type: 'date',
label: '高级认证日期',
layout: 12
layout: 12,
disabled:true
},
extEndDate_SDK: {
type: 'date',
label: '合作终止日期',
layout: 12
layout: 12,
disabled:true
},
}
......@@ -273,6 +300,7 @@ export default {
tableData:[],
TotalRecords:0,
page:{},
apptions:[],
// 同 vue-ele-form
rules: {
Name: {required: true, message: '名称必填'},
......@@ -296,6 +324,13 @@ export default {
getList(){
getCustomer({objectID:this.id}).then((resp)=>{
this.formData=resp.results[0]
lockRsp({extProvince_SDK: resp.results[0].ExtProvince_SDK}).then((resp)=>{
this.province=resp.results
})
const app={provinceCode:resp.results[0].ExtProvince_SDK}
this.$request(Country.searchCity,app).then((resp) => {
this.apptions=resp.results
})
})
},
getHistoryList(){
......
......@@ -237,13 +237,13 @@ export default {
layout: 12,
disabled:true
},
ExtLockRsp_SDK: {
ExtLockRsp_KUT: {
type: 'input',
label: '签约产品组',
layout: 12,
disabled:true
},
ExtTotalAgent_SDK: {
ExtTotalAgent_KUT: {
type: 'input',
label: '签约总代',
layout: 12,
......@@ -309,10 +309,6 @@ export default {
getList(){
getCustomer({objectID:this.id}).then((resp)=>{
this.formData=resp.results[0]
// lockRsp({extProvince_SDK: resp.results[0].ExtProvince_SDK}).then((resp)=>{
// this.province=resp.results
// })
const app={provinceCode:resp.results[0].ExtProvince_SDK}
this.$request(Country.searchCity,app).then((resp) => {
this.province=resp.results
......
......@@ -289,7 +289,7 @@
</el-col>
<el-col :span="12" class="padding-bottom">
<el-form-item label="签约产品组:" prop="ExtProductGroup_SDK" label-width="120px" >
<el-select v-model="formData.ExtProductGroup_SDK" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-select v-model="formData.ExtProductGroup_KUT" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option
v-for="item in bOptions"
:key="item.id"
......@@ -301,7 +301,7 @@
</el-col>
<el-col :span="11" :offset="1" class="padding-bottom">
<el-form-item label="签约总代:" prop="extTotalAgent_SDK" label-width="100px" >
<el-select v-model="formData.extTotalAgent_SDK" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-select v-model="formData.ExtTotalAgent_KUT" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option
v-for="item in cOptions"
:key="item.id"
......@@ -481,11 +481,11 @@ export default {
this.$request(Common.searchUrl, adata).then((resp) => {
this.aOptions=resp
})
const bdata={code:'ExtProductGroup_SDK',module:'Customer'}
const bdata={code:'ExtProductGroup_KUT',module:'Customer'}
this.$request(Common.searchUrl, bdata).then((resp) => {
this.bOptions=resp
})
const cdata={code:'ExtTotalAgent_SDK',module:'Customer'}
const cdata={code:'ExtTotalAgent_KUT',module:'Customer'}
this.$request(Common.searchUrl, cdata).then((resp) => {
this.cOptions=resp
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment