Commit 7ab61093 authored by qinj's avatar qinj

审批注册资金可编辑

parent af2d1f75
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
:sections="sections"> :sections="sections">
<template v-slot:ExtRegisteredCapital_SDK="{ formData }"> <template v-slot:ExtRegisteredCapital_SDK="{ formData }">
<el-input v-if="formData.ExtProcessNode_SDK==4" v-model="formData.ExtRegisteredCapital_SDK" :disabled="!formData.ExtRegisteredCapital_SDK=='' || !formData.ExtRegisteredCapital_SDK==null"> <el-input v-if="formData.ExtProcessNode_SDK==4" v-model="formData.ExtRegisteredCapital_SDK" :disabled="isEdit">
</el-input> </el-input>
</template> </template>
<template v-slot:ExtLockRsp_SDK="{ formData }"> <template v-slot:ExtLockRsp_SDK="{ formData }">
...@@ -340,6 +340,7 @@ export default { ...@@ -340,6 +340,7 @@ export default {
], ],
tableData: [], tableData: [],
TotalRecords: 0, TotalRecords: 0,
isEdit:true,
page: {}, page: {},
apptions: [], apptions: [],
cOptions: [], cOptions: [],
...@@ -377,6 +378,11 @@ export default { ...@@ -377,6 +378,11 @@ export default {
getCustomer({ objectID: this.id }).then((resp) => { getCustomer({ objectID: this.id }).then((resp) => {
this.loading=false this.loading=false
this.formData = resp.results[0] this.formData = resp.results[0]
if(this.formData.ExtProcessNode_SDK==4){
if(!this.formData.ExtRegisteredCapital_SDK){
this.isEdit=false
}
}
if(this.formData.ExtProcessNode_SDK==2){ if(this.formData.ExtProcessNode_SDK==2){
this.formData.extChannelType_SDK='' this.formData.extChannelType_SDK=''
this.formData.ExtLockRsp_SDK=[] this.formData.ExtLockRsp_SDK=[]
...@@ -438,7 +444,7 @@ export default { ...@@ -438,7 +444,7 @@ export default {
approve() { approve() {
if(this.formData.ExtLockRsp_SDK.length==0||this.formData.ExtLockCity_SDK.length==0||this.formData.ExtChannelType_SDK.length==0){ if(this.formData.ExtLockRsp_SDK.length==0||this.formData.ExtLockCity_SDK.length==0||this.formData.ExtChannelType_SDK.length==0){
return this.$message.warning('请输入必填信息') return this.$message.warning('请输入必填信息')
}else if(formData.ExtRegisteredCapital_SDK=='' || formData.ExtRegisteredCapital_SDK==null){ }else if(this.formData.ExtRegisteredCapital_SDK=='' || this.formData.ExtRegisteredCapital_SDK==null){
return this.$message.warning('请输入注册资金') return this.$message.warning('请输入注册资金')
}else{ }else{
this.dialogFormVisible = true this.dialogFormVisible = true
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
:rules="rules" :rules="rules"
:sections="sections"> :sections="sections">
<template v-slot:ExtRegisteredCapital_SDK="{ formData }"> <template v-slot:ExtRegisteredCapital_SDK="{ formData }">
<el-input v-if="formData.ExtProcessNode_SDK==5" v-model="formData.ExtRegisteredCapital_SDK" :disabled="!formData.ExtRegisteredCapital_SDK=='' || !formData.ExtRegisteredCapital_SDK==null"> <el-input v-if="formData.ExtProcessNode_SDK==5" v-model="formData.ExtRegisteredCapital_SDK" :disabled="isEdit">
</el-input> </el-input>
</template> </template>
<template v-slot:ExtLockCity_SDK="{ formData }"> <template v-slot:ExtLockCity_SDK="{ formData }">
...@@ -307,6 +307,7 @@ export default { ...@@ -307,6 +307,7 @@ export default {
}, },
], ],
tableData: [], tableData: [],
isEdit:true,
TotalRecords: 0, TotalRecords: 0,
page: {}, page: {},
// 同 vue-ele-form // 同 vue-ele-form
...@@ -349,6 +350,11 @@ export default { ...@@ -349,6 +350,11 @@ export default {
getCustomer({ objectID: this.id }).then((resp) => { getCustomer({ objectID: this.id }).then((resp) => {
this.loading=false this.loading=false
this.formData = resp.results[0] this.formData = resp.results[0]
if(this.formData.ExtProcessNode_SDK==5){
if(!this.formData.ExtRegisteredCapital_SDK){
this.isEdit=false
}
}
if(this.formData.ExtProcessNode_SDK==2){ if(this.formData.ExtProcessNode_SDK==2){
this.formData.ExtLockCity_SDK=[] this.formData.ExtLockCity_SDK=[]
} }
......
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