Commit b802d08f authored by youjie's avatar youjie

no message

parent c4550d0a
...@@ -115,6 +115,39 @@ ...@@ -115,6 +115,39 @@
</el-pagination> </el-pagination>
</div> </div>
<el-dialog
custom-class="w600"
title="驳回缘由"
:visible.sync="cancelOrderDialog"
>
<div style="padding-bottom:20px">
<el-input
type="textarea"
autofocus
rows="5"
placeholder="请填写驳回该团的缘由"
clear="w300"
v-model="cancelRemark"
></el-input>
<el-row :gutter="20" style="margin-top: 20px;">
<el-col :span="24" style="text-align: right;">
<input
type="button"
class="normalBtn"
value="确定驳回"
@click="cancelOrderHandler"
/>
<input
type="button"
class="hollowFixedBtn"
value="关闭"
@click="cancelOrderDialog = false"
/>
</el-col>
</el-row>
</div>
</el-dialog>
</div> </div>
</template> </template>
...@@ -122,6 +155,9 @@ ...@@ -122,6 +155,9 @@
export default { export default {
data() { data() {
return { return {
cancelRemark: '',
dataRow: null,
cancelOrderDialog: false,
loading: false, loading: false,
dataList: [], dataList: [],
active: '1', active: '1',
...@@ -202,7 +238,24 @@ ...@@ -202,7 +238,24 @@
}); });
}, },
cancelOrderHandler(){
if(!this.cancelRemark) return this.Error('请输入驳回缘由')
let that = this;
that.$confirm('是否驳回该团?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
//掉接口
this.groupAudit(3,this.dataRow.TCID)
}).catch(() => {
});
},
bohui(item) { bohui(item) {
this.dataRow = item
this.cancelOrderDialog = true
return
let that = this; let that = this;
that.$confirm('是否驳回该团?', '提示', { that.$confirm('是否驳回该团?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
...@@ -216,15 +269,20 @@ ...@@ -216,15 +269,20 @@
}); });
}, },
groupAudit(type,TCID){ groupAudit(type,TCID){
this.apipost("travel_post_SetOutGroupAuditInfo", {TCID:TCID,OutGroupAuditState:type}, res => { this.apipost("travel_post_SetOutGroupAuditInfo", {
TCID:TCID,
OutGroupAuditState:type,
OutGroupAuditRemark:this.cancelRemark
}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.cancelOrderDialog = false
this.Success(res.data.message); this.Success(res.data.message);
this.getList() this.getList()
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
err => { } err => { }
); );
}, },
goTeamBalance(id, OutBranchId) {//团队收支明细 goTeamBalance(id, OutBranchId) {//团队收支明细
......
...@@ -1044,7 +1044,11 @@ ...@@ -1044,7 +1044,11 @@
</div> </div>
</div> </div>
</div> </div>
<div class="TC_remarkContent" v-if="item.OPRemark||item.OPInnerRemark||item.DmcRemarkLast"> <div class="TC_remarkContent" v-if="item.OPRemark||item.OPInnerRemark||item.DmcRemarkLast||item.OutGroupAuditRemark">
<div class="clearfix TCL-redType" v-if="item.OutGroupAuditState==3&&item.OutGroupAuditRemark">
<div class="TCL_remarkTitle">驳回缘由:</div>
<div class="TCL_Content">{{item.OutGroupAuditRemark}} 日期:{{item.OutGroupAuditDate}}</div>
</div>
<div class="clearfix TCL-redType" v-if="item.OPRemark"> <div class="clearfix TCL-redType" v-if="item.OPRemark">
<div class="TCL_remarkTitle">{{$t('Operation.Op_duiwaiRemark')}}:</div> <div class="TCL_remarkTitle">{{$t('Operation.Op_duiwaiRemark')}}:</div>
<div class="TCL_Content">{{item.OPRemark}}</div> <div class="TCL_Content">{{item.OPRemark}}</div>
......
...@@ -634,7 +634,11 @@ ...@@ -634,7 +634,11 @@
</div> </div>
</div> </div>
</div> </div>
<div class="TC_remarkContent" v-if="item.OPRemark||item.OPInnerRemark||item.DmcRemarkLast"> <div class="TC_remarkContent" v-if="item.OPRemark||item.OPInnerRemark||item.DmcRemarkLast||item.OutGroupAuditRemark">
<div class="clearfix TCL-redType" v-if="item.OutGroupAuditState==3&&item.OutGroupAuditRemark">
<div class="TCL_remarkTitle">驳回缘由:</div>
<div class="TCL_Content">{{item.OutGroupAuditRemark}} 日期:{{item.OutGroupAuditDate}}</div>
</div>
<div class="clearfix TCL-redType" v-if="item.OPRemark"> <div class="clearfix TCL-redType" v-if="item.OPRemark">
<div class="TCL_remarkTitle">{{$t('Operation.Op_duiwaiRemark')}}</div> <div class="TCL_remarkTitle">{{$t('Operation.Op_duiwaiRemark')}}</div>
<div class="TCL_Content">{{item.OPRemark}}</div> <div class="TCL_Content">{{item.OPRemark}}</div>
......
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