Commit 0450f69a authored by 我在何方's avatar 我在何方

修复跟客户经理

parent 71359030
......@@ -278,11 +278,11 @@ export function creatDelayApproval(data){
}
// 取消客户延期调入公海池的审批申请
export function cancelDelayApproval(data) {
export function cancelDelayApproval(query) {
return request({
url: '/ecw/customer/cancel/delay/approval',
method: 'put',
data: data,
params:query,
})
}
......
......@@ -154,7 +154,7 @@
// var ccIds = Array.isArray(this.handlerParams.ccIds) ? this.handlerParams.ccIds.join(',') : this.handlerParams.ccIds
// params.ccIds = ccIds
params.voucher = Array.isArray(this.handlerParams.voucher) ? this.handlerParams.voucher.join(',') : this.handlerParams.voucher
params.estimateEnterOpenSeaTime = this.getNowDate(this.handlerParams.estimateEnterOpenSeaTime)
creatDelayApproval(params).then(res=>{
this.$modal.msgSuccess(this.$t('提交成功'));
......@@ -201,10 +201,11 @@
inputPattern: /[\S]+/,
inputErrorMessage: '不能为空'
}).then(({value}) => {
return cancelDelayApproval(this.handlerParams.formId, value)
console.log(this.handlerParams.approvalId)
return cancelDelayApproval({approveId:this.handlerParams.approvalId,reason:value})
})
.then(res => {
this.getList()
this.$store.dispatch('tagsView/delCurrentView')
})
}
}
......
......@@ -95,7 +95,7 @@
if(this.$route.query.number){
this.form.number = this.$route.query.number
}
userList('documentary customer service').then(res =>this.creatorData = res.data)
userList('customer service').then(res =>this.creatorData = res.data)
},
methods: {
getList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment