Commit f80dd58d authored by 我在何方's avatar 我在何方

客户延期更新

parent afc4f2f7
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
待审核可能没有bpmStatus字段 待审核可能没有bpmStatus字段
--> -->
<template v-if="handlerParams.status == 1"> <template v-if="handlerParams.status == 1">
<el-button type="primary" @click="$router.push()">{{$t('审核中')}}</el-button> <el-button type="primary" @click="$router.push(`/bpm/process-instance/detail?id=`+handlerParams.bpmId)">{{$t('审核中')}}</el-button>
<el-button plain type="primary" @click="cancelAudit">{{$t('取消审核')}}</el-button> <el-button plain type="primary" @click="cancelAudit">{{$t('取消审核')}}</el-button>
<el-button plain type="primary" @click="$store.dispatch('tagsView/delCurrentView')">{{$t('返回')}}</el-button> <el-button plain type="primary" @click="$store.dispatch('tagsView/delCurrentView')">{{$t('返回')}}</el-button>
</template> </template>
...@@ -119,9 +119,9 @@ ...@@ -119,9 +119,9 @@
ids.map(v=>{ ids.map(v=>{
that.ccIdArr.push(parseInt(v)) that.ccIdArr.push(parseInt(v))
}) })
} }
console.log(that.handlerParams) console.log(that.ccIdArr)
}else{ }else{
that.handlerParams = { that.handlerParams = {
customerId:that.customerData.id, customerId:that.customerData.id,
...@@ -149,11 +149,12 @@ ...@@ -149,11 +149,12 @@
// this.$modal.msgError(this.$t('请上传报关资料')); // this.$modal.msgError(this.$t('请上传报关资料'));
// return // return
// } // }
this.$set(this.handlerParams,'createTime',this.formatDate())
var params = Object.assign({},this.handlerParams) var params = Object.assign({},this.handlerParams)
// var ccIds = Array.isArray(this.handlerParams.ccIds) ? this.handlerParams.ccIds.join(',') : this.handlerParams.ccIds // var ccIds = Array.isArray(this.handlerParams.ccIds) ? this.handlerParams.ccIds.join(',') : this.handlerParams.ccIds
// params.ccIds = ccIds // params.ccIds = ccIds
params.voucher = Array.isArray(this.handlerParams.voucher) ? this.handlerParams.voucher.join(',') : this.handlerParams.voucher params.voucher = Array.isArray(this.handlerParams.voucher) ? this.handlerParams.voucher.join(',') : this.handlerParams.voucher
this.$set(this.handlerParams,'createTime',this.formatDate())
params.estimateEnterOpenSeaTime = this.getNowDate(this.handlerParams.estimateEnterOpenSeaTime) params.estimateEnterOpenSeaTime = this.getNowDate(this.handlerParams.estimateEnterOpenSeaTime)
creatDelayApproval(params).then(res=>{ creatDelayApproval(params).then(res=>{
this.$modal.msgSuccess(this.$t('提交成功')); this.$modal.msgSuccess(this.$t('提交成功'));
......
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