Commit 39fc7064 authored by zhengke's avatar zhengke

增加单据驳回备注

parent 84b138e5
......@@ -352,6 +352,19 @@
color: #3980C8;
font-size: 12px;
}
.FD_remark_list{
margin-top:10px;
color:#E95252;
}
.FD_remark_list span:first-child{
display: inline-block;
width:26px;
vertical-align: top;
}
.FD_remark_list span:last-child{
display: inline-block;
width:90%;
}
</style>
<template>
......@@ -772,6 +785,21 @@
<viewer :images="images" :options='imageOptions' @inited="inited" class="viewer" ref="viewer">
<img v-for="src in images" :src="src" :key="src">
</viewer>
<el-dialog custom-class='w400' title="提示" :visible.sync="finacialDialog" center>
<template>
<el-input type="textarea" v-model="AuditOrRefundMsg.Description" rows="3" resize="none"></el-input>
<div class="FD_remark_list">
<span>注:</span>
<span>驳回后,单据将重新开始审批流程。备注内容将在操作日志里显示</span>
</div>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="finacialDialog=false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="setBoHui()">{{$t('pub.sureBtn')}}</button>
</div>
</template>
</el-dialog>
</div>
</template>
<script>
......@@ -790,6 +818,8 @@ import myDJieBill from "./FinancialSubmodule/DjieMergeBillModule.vue";
export default {
data(){
return{
//驳回弹窗
finacialDialog:false,
ZhiDanRen: -1,
imageOptions:{
navbar:false,
......@@ -808,6 +838,7 @@ export default {
},
AuditOrRefundMsg:{
WorkFlowId:'',
Description:''
},
AuditListData:{
AuditList:[]
......@@ -951,30 +982,20 @@ export default {
}, null)
},
bohui(){
this.AuditOrRefundMsg.WorkFlowId = this.ID;
this.$confirm('是否驳回单号'+'“'+this.ID+'”'+'的单据?驳回后,单据将重新开始审批流程。', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.finacialDialog = true;
this.AuditOrRefundMsg.WorkFlowId = this.ID;
},
//确定驳回
setBoHui(){
this.apipost('Financial_post_PersonRefund',this.AuditOrRefundMsg,res=>{
if(res.data.resultCode==1){
this.$message.success(res.data.message);
let _this = this;
setTimeout(function () {
_this.MsgBus.$emit('msg','close');
},500)
this.Success(res.data.message);
this.finacialDialog = false;
this.Financial_post_GetDetail(this.ID)
}else{
this.resultCode = res.data.resultCode;
this.$message.error(res.data.message);
this.Error(res.data.message);
}
},err=>{})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消'
});
});
},
goPrintPage(type,id,Merge,OrderSource){
if(type===1){
......
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