业务员页面-发货 参数问题修改
This commit is contained in:
parent
3eed2f6b40
commit
66fe393f4b
@ -73,8 +73,6 @@
|
|||||||
this.modelInfo._bindTsmName = data.empName
|
this.modelInfo._bindTsmName = data.empName
|
||||||
this.modelInfo._bindTsmCode = data.empCode
|
this.modelInfo._bindTsmCode = data.empCode
|
||||||
this.modelInfo._bindTsmAvatar = data.avatar
|
this.modelInfo._bindTsmAvatar = data.avatar
|
||||||
// this.modelInfo.payee = data.empName
|
|
||||||
// this.modelInfo.salesmen = data.empNam
|
|
||||||
this.$emit("onChange", this.modelInfo)
|
this.$emit("onChange", this.modelInfo)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -285,8 +285,6 @@
|
|||||||
billCode: '', // 运单id
|
billCode: '', // 运单id
|
||||||
orderSn: '', // 订单id
|
orderSn: '', // 订单id
|
||||||
copyBillCode: '', // 复制的运单id
|
copyBillCode: '', // 复制的运单id
|
||||||
bindEmpName: '',
|
|
||||||
bindEmpCode: ''
|
|
||||||
},
|
},
|
||||||
wayRes: { list: [] },
|
wayRes: { list: [] },
|
||||||
yuejieRes: { list: [] },
|
yuejieRes: { list: [] },
|
||||||
@ -317,8 +315,6 @@
|
|||||||
console.error("queryOption.defaultSubParams=====转换失败===", this.queryOption.defaultSubParams)
|
console.error("queryOption.defaultSubParams=====转换失败===", this.queryOption.defaultSubParams)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.submitParam.payee = this.queryOption.bindEmpName
|
|
||||||
this.submitParam.salesmen = this.queryOption.bindEmpName
|
|
||||||
|
|
||||||
if(this.isEdit) {
|
if(this.isEdit) {
|
||||||
let res = await apiService.getOrderDetail({...this.queryOption, _loading: true})
|
let res = await apiService.getOrderDetail({...this.queryOption, _loading: true})
|
||||||
|
|||||||
@ -209,7 +209,12 @@
|
|||||||
})
|
})
|
||||||
this.goBack()
|
this.goBack()
|
||||||
} else {
|
} else {
|
||||||
this.goto(`post/post?bindEmpCode=${item.empCode}&bindEmpName=${item.empName}`)
|
let cpData = {
|
||||||
|
_bindTsmName: item.empName,
|
||||||
|
_bindTsmCode: item.empCode,
|
||||||
|
_bindTsmAvatar: item.avatar,
|
||||||
|
}
|
||||||
|
this.goto(`post/post?defaultSubParams=${encodeURIComponent(JSON.stringify(cpData))}&type=create`)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async handleDelItem(item) {
|
async handleDelItem(item) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user