Commit 9acc8f28 authored by qinj's avatar qinj

修改字段

parent 5fe23907
...@@ -8,7 +8,30 @@ ...@@ -8,7 +8,30 @@
v-model="formData" v-model="formData"
:rules="rules" :rules="rules"
:sections="sections" :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="table-contain">
<div class="form-container">审批意见</div> <div class="form-container">审批意见</div>
<div class="btn"> <div class="btn">
...@@ -57,6 +80,7 @@ ...@@ -57,6 +80,7 @@
import Title from '@/components/Title' import Title from '@/components/Title'
import { getCustomer,typeSearch,lockRsp,ProcessApproval,processHistory } from '@/api/customers'; import { getCustomer,typeSearch,lockRsp,ProcessApproval,processHistory } from '@/api/customers';
import Pagination from '@/components/Pagination' import Pagination from '@/components/Pagination'
import { Country } from '@/api/qcc'
export default { export default {
components: { components: {
Pagination, Pagination,
...@@ -223,7 +247,7 @@ export default { ...@@ -223,7 +247,7 @@ export default {
label: '签约渠道类型', label: '签约渠道类型',
layout: 12, layout: 12,
options: async data => { 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 => { var result = res.map(item => {
return { return {
text: item.content, text: item.content,
...@@ -254,17 +278,20 @@ export default { ...@@ -254,17 +278,20 @@ export default {
extStartDate_SDK: { extStartDate_SDK: {
type: 'date', type: 'date',
label: '初始合作开始时间', label: '初始合作开始时间',
layout: 12 layout: 12,
disabled:true
}, },
extAuthenticationDate_SDK: { extAuthenticationDate_SDK: {
type: 'date', type: 'date',
label: '高级认证日期', label: '高级认证日期',
layout: 12 layout: 12,
disabled:true
}, },
extEndDate_SDK: { extEndDate_SDK: {
type: 'date', type: 'date',
label: '合作终止日期', label: '合作终止日期',
layout: 12 layout: 12,
disabled:true
}, },
} }
...@@ -273,6 +300,7 @@ export default { ...@@ -273,6 +300,7 @@ export default {
tableData:[], tableData:[],
TotalRecords:0, TotalRecords:0,
page:{}, page:{},
apptions:[],
// 同 vue-ele-form // 同 vue-ele-form
rules: { rules: {
Name: {required: true, message: '名称必填'}, Name: {required: true, message: '名称必填'},
...@@ -296,6 +324,13 @@ export default { ...@@ -296,6 +324,13 @@ export default {
getList(){ getList(){
getCustomer({objectID:this.id}).then((resp)=>{ getCustomer({objectID:this.id}).then((resp)=>{
this.formData=resp.results[0] 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(){ getHistoryList(){
......
...@@ -237,13 +237,13 @@ export default { ...@@ -237,13 +237,13 @@ export default {
layout: 12, layout: 12,
disabled:true disabled:true
}, },
ExtLockRsp_SDK: { ExtLockRsp_KUT: {
type: 'input', type: 'input',
label: '签约产品组', label: '签约产品组',
layout: 12, layout: 12,
disabled:true disabled:true
}, },
ExtTotalAgent_SDK: { ExtTotalAgent_KUT: {
type: 'input', type: 'input',
label: '签约总代', label: '签约总代',
layout: 12, layout: 12,
...@@ -309,10 +309,6 @@ export default { ...@@ -309,10 +309,6 @@ export default {
getList(){ getList(){
getCustomer({objectID:this.id}).then((resp)=>{ getCustomer({objectID:this.id}).then((resp)=>{
this.formData=resp.results[0] 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} const app={provinceCode:resp.results[0].ExtProvince_SDK}
this.$request(Country.searchCity,app).then((resp) => { this.$request(Country.searchCity,app).then((resp) => {
this.province=resp.results this.province=resp.results
......
...@@ -289,7 +289,7 @@ ...@@ -289,7 +289,7 @@
</el-col> </el-col>
<el-col :span="12" class="padding-bottom"> <el-col :span="12" class="padding-bottom">
<el-form-item label="签约产品组:" prop="ExtProductGroup_SDK" label-width="120px" > <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 <el-option
v-for="item in bOptions" v-for="item in bOptions"
:key="item.id" :key="item.id"
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
</el-col> </el-col>
<el-col :span="11" :offset="1" class="padding-bottom"> <el-col :span="11" :offset="1" class="padding-bottom">
<el-form-item label="签约总代:" prop="extTotalAgent_SDK" label-width="100px" > <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 <el-option
v-for="item in cOptions" v-for="item in cOptions"
:key="item.id" :key="item.id"
...@@ -481,11 +481,11 @@ export default { ...@@ -481,11 +481,11 @@ export default {
this.$request(Common.searchUrl, adata).then((resp) => { this.$request(Common.searchUrl, adata).then((resp) => {
this.aOptions=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.$request(Common.searchUrl, bdata).then((resp) => {
this.bOptions=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.$request(Common.searchUrl, cdata).then((resp) => {
this.cOptions=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