客户
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
v-model="dataForm.isOn"
|
||||
active-color="#409EFF"
|
||||
inactive-color="#F56C6C"
|
||||
:active-value="1"
|
||||
:inactive-value="0"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -42,7 +44,7 @@
|
||||
juridicalPerson: '',
|
||||
address: '',
|
||||
industry: '',
|
||||
isOn: false
|
||||
isOn: 0
|
||||
},
|
||||
dataRule: {
|
||||
clientName: [
|
||||
@@ -78,7 +80,6 @@
|
||||
this.dataForm.address = data.client.address
|
||||
this.dataForm.industry = data.client.industry
|
||||
this.dataForm.isOn = data.client.isOn
|
||||
this.dataForm.createTime = data.client.createTime
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -97,8 +98,7 @@
|
||||
'juridicalPerson': this.dataForm.juridicalPerson,
|
||||
'address': this.dataForm.address,
|
||||
'industry': this.dataForm.industry,
|
||||
'isOn': this.dataForm.isOn,
|
||||
'createTime': this.dataForm.createTime
|
||||
'isOn': this.dataForm.isOn
|
||||
})
|
||||
}).then(({data}) => {
|
||||
if (data && data.code === 0) {
|
||||
|
||||
Reference in New Issue
Block a user