|
|
@@ -138,18 +138,7 @@ export default {
|
|
|
},
|
|
|
methods:{
|
|
|
onshow(){
|
|
|
- console.log(this.data,"编辑数据")
|
|
|
this.dialogFormVisible = true
|
|
|
- // this.form.sys_enterpriseid = this.data.sys_enterpriseid
|
|
|
- // this.form.contactsid = this.data.contactsid
|
|
|
- // this.form.remarks = this.data.remarks
|
|
|
- // this.form.address = this.data.address
|
|
|
- // this.form.province = this.data.province
|
|
|
- // this.form.city = this.data.city
|
|
|
- // this.county = this.data.county
|
|
|
- // this.form.value[0] = this.data.province
|
|
|
- // this.form.value[1] = this.data.city
|
|
|
- // this.form.value[2] = this.data.county
|
|
|
this.form = Object.assign({},this.form,this.data)
|
|
|
if (this.form.isdefault === 0){
|
|
|
this.form.isdefault = '0'
|