|
@@ -798,8 +798,11 @@ export default {
|
|
this.form.discountrate === 0 ? this.form.discountrate = '' : this.form.discountrate = Math.round((this.form.discountrate * 100) * 100)/100
|
|
this.form.discountrate === 0 ? this.form.discountrate = '' : this.form.discountrate = Math.round((this.form.discountrate * 100) * 100)/100
|
|
this.address = this.form.province + this.form.city + this.form.county + this.form.address
|
|
this.address = this.form.province + this.form.city + this.form.county + this.form.address
|
|
this.form.salername = this.form.leader[0].name
|
|
this.form.salername = this.form.leader[0].name
|
|
- this.form.customername = this.data.ascription_enterprisename
|
|
|
|
- this.form.customerid = this.data.ascription_enterpriseid
|
|
|
|
|
|
+ if (this.$route.query.type == '居间'){
|
|
|
|
+ this.form.enterprisename = this.data.ascription_enterprisename
|
|
|
|
+ this.form.customername = this.data.enterprisename
|
|
|
|
+ }
|
|
|
|
+
|
|
this.drawer = true
|
|
this.drawer = true
|
|
if (!this.form.reminddays){
|
|
if (!this.form.reminddays){
|
|
let siteid = JSON.parse(sessionStorage.getItem('active_account')).siteid
|
|
let siteid = JSON.parse(sessionStorage.getItem('active_account')).siteid
|