Commit e24a53f2 authored by zhengke's avatar zhengke

修改

parent 9e5120d8
...@@ -2007,6 +2007,7 @@ ...@@ -2007,6 +2007,7 @@
<tbody v-for="(childItem,childIndex) in subItem.List" :key="childIndex+2000"> <tbody v-for="(childItem,childIndex) in subItem.List" :key="childIndex+2000">
<tr> <tr>
<td rowspan="3" style="position:relative;"> <td rowspan="3" style="position:relative;">
<div v-if="childItem.IsApplyForCancel==1" style="color:red;">有取消订单</div>
<div class="order_union"> <div class="order_union">
<div v-if="childItem.IsReturnIntermodal==1 || childItem.IsIntermodal==1" class="fl"> <div v-if="childItem.IsReturnIntermodal==1 || childItem.IsIntermodal==1" class="fl">
{{$t('Operation.Op_lian')}}</div> {{$t('Operation.Op_lian')}}</div>
...@@ -2234,6 +2235,7 @@ ...@@ -2234,6 +2235,7 @@
<div v-if="childItem.ScoreNum >= 0" <div v-if="childItem.ScoreNum >= 0"
@click='goInvetig("investigationList", childItem.tcid, childItem.OrderId)'> @click='goInvetig("investigationList", childItem.tcid, childItem.OrderId)'>
{{$t('salesModule.LookTourse')}}</div> {{$t('salesModule.LookTourse')}}</div>
<div v-if="childItem.IsApplyForCancel==1" @click="DingdanCancel(childItem)">取消审核</div>
</div> </div>
<el-button slot="reference" type="primary" <el-button slot="reference" type="primary"
style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;' style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...@@ -3108,6 +3110,31 @@ ...@@ -3108,6 +3110,31 @@
<div slot="tip" class="el-upload__tip">{{$t('ground.znscexcel')}}</div> <div slot="tip" class="el-upload__tip">{{$t('ground.znscexcel')}}</div>
</el-upload> </el-upload>
</el-dialog> </el-dialog>
<el-dialog custom-class='w450' title="op确认" :visible.sync="isShowOpSure" center>
<el-form label-width="110px">
<el-form-item label="审核状态">
<el-radio v-model="OpSureMsg.AuditState" :label="1">通过</el-radio>
<el-radio v-model="OpSureMsg.AuditState" :label="2">拒绝</el-radio>
</el-form-item>
<template v-if="OpSureMsg.AuditState==1">
<el-form-item label="审核备注">
<el-input type="textarea" :rows="4" v-model="OpSureMsg.Remark"></el-input>
</el-form-item>
<el-form-item label="是否收损">
<el-radio v-model="OpSureMsg.IsLoss" :label="1"></el-radio>
<el-radio v-model="OpSureMsg.IsLoss" :label="2"></el-radio>
</el-form-item>
<el-form-item v-if="OpSureMsg.IsLoss==1" label="收损金额">
<el-input v-model="OpSureMsg.LossMoney" @keyup.native="checkPrice(OpSureMsg,'LossMoney')"></el-input>
</el-form-item>
</template>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="opSureAudit">{{$t('pub.saveBtn')}}</button>
<button class="hollowFixedBtn" @click="isShowOpSure=false">{{$t('pub.cancelBtn')}}</button>
</div>
</el-dialog>
</div> </div>
</template> </template>
...@@ -3118,6 +3145,7 @@ ...@@ -3118,6 +3145,7 @@
export default { export default {
data() { data() {
return { return {
isShowOpSure:false, //op确认弹窗
IsSupperOrderEdit: false, //获取总经理副总经理超级修改权限 IsSupperOrderEdit: false, //获取总经理副总经理超级修改权限
IsLookOrder: false, //出纳查看订单权限 IsLookOrder: false, //出纳查看订单权限
EditBtn: false, //恢复订单 EditBtn: false, //恢复订单
...@@ -3534,6 +3562,13 @@ ...@@ -3534,6 +3562,13 @@
zhuijiaMsg: {}, zhuijiaMsg: {},
SetShouSunGuestNum: 0, SetShouSunGuestNum: 0,
RBBranchId: '', RBBranchId: '',
OpSureMsg:{
OrderId:0,
AuditState:1, //1通过 2拒绝
Remark:'',
IsLoss:1, //是否受损 1是2否
LossMoney:'' //收损金额
}
}; };
}, },
components: { components: {
...@@ -5697,6 +5732,27 @@ ...@@ -5697,6 +5732,27 @@
} }
}); });
}, },
//点击取消订单
DingdanCancel(item){
this.OpSureMsg.OrderId = item.OrderId;
this.OpSureMsg.AuditState = 1, //1通过 2拒绝
this.OpSureMsg.Remark = '',
this.OpSureMsg.IsLoss = 1, //是否受损 1是2否
this.OpSureMsg.LossMoney = '' //收损金额
this.isShowOpSure=true;
},
//op确认取消
opSureAudit(){
this.apipost('sellorder_post_SetAuditUserApplyForCancel', this.OpSureMsg , res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getList();
this.isShowOpSure=false;
} else {
this.Error(res.data.message);
}
}, err => {})
}
}, },
mounted() { mounted() {
this.GetSupperOrderEditAuth(); this.GetSupperOrderEditAuth();
......
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