业务员页面-发货 参数问题修改

This commit is contained in:
aihe 2024-10-30 22:57:04 +08:00
parent 3eed2f6b40
commit 66fe393f4b
3 changed files with 6 additions and 7 deletions

View File

@ -73,8 +73,6 @@
this.modelInfo._bindTsmName = data.empName
this.modelInfo._bindTsmCode = data.empCode
this.modelInfo._bindTsmAvatar = data.avatar
// this.modelInfo.payee = data.empName
// this.modelInfo.salesmen = data.empNam
this.$emit("onChange", this.modelInfo)
}
},

View File

@ -285,8 +285,6 @@
billCode: '', // 运单id
orderSn: '', // 订单id
copyBillCode: '', // 复制的运单id
bindEmpName: '',
bindEmpCode: ''
},
wayRes: { list: [] },
yuejieRes: { list: [] },
@ -317,8 +315,6 @@
console.error("queryOption.defaultSubParams=====转换失败===", this.queryOption.defaultSubParams)
}
}
this.submitParam.payee = this.queryOption.bindEmpName
this.submitParam.salesmen = this.queryOption.bindEmpName
if(this.isEdit) {
let res = await apiService.getOrderDetail({...this.queryOption, _loading: true})

View File

@ -209,7 +209,12 @@
})
this.goBack()
} 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) {