Commit 468d4e45 authored by youjie's avatar youjie

no message

parent 88054fe9
...@@ -288,6 +288,14 @@ ...@@ -288,6 +288,14 @@
}}</span> }}</span>
</p> </p>
</div> </div>
<div style="margin-top: 10px;" v-if="item.ApplyForState==4">
<p v-if="item.ManagerRefuseReason">
主管拒绝理由:<span style="color: red;">{{item.ManagerRefuseReason}}</span>
</p>
<p v-if="item.RefuseReason">
总经理拒绝理由:<span style="color: red;">{{item.RefuseReason}}</span>
</p>
</div>
<div style="margin-top: 10px;" v-if="item.ApplyForState <div style="margin-top: 10px;" v-if="item.ApplyForState
||(item.ApplyForState==1&&item.ManagerExamineName) ||(item.ApplyForState==1&&item.ManagerExamineName)
||(userInfo.EmployeeId==1&&item.ManagerExamineName)"> ||(userInfo.EmployeeId==1&&item.ManagerExamineName)">
...@@ -615,6 +623,14 @@ ...@@ -615,6 +623,14 @@
方可帐平</span> 方可帐平</span>
</span> </span>
</div> </div>
<div style="padding: 10px 0;" v-if="changePriceObj.ApplyForState==4">
<p v-if="changePriceObj.ManagerRefuseReason">
主管拒绝理由:<span style="color: red;">{{changePriceObj.ManagerRefuseReason}}</span>
</p>
<p v-if="changePriceObj.RefuseReason">
总经理拒绝理由:<span style="color: red;">{{changePriceObj.RefuseReason}}</span>
</p>
</div>
<div slot="footer" class="dialog-footer" <div slot="footer" class="dialog-footer"
style="float: right;margin-right: 5%;position: relative; z-index: 1;"> style="float: right;margin-right: 5%;position: relative; z-index: 1;">
<button <button
...@@ -623,9 +639,11 @@ ...@@ -623,9 +639,11 @@
> >
{{ $t("pub.cancelBtn") }} {{ $t("pub.cancelBtn") }}
</button> </button>
<button class="normalBtn" type="primary" @click="setChangePrice"> <el-button
:loading="loading"
class="normalBtn" type="primary" @click="setChangePrice">
{{ $t("pub.sureBtn") }} {{ $t("pub.sureBtn") }}
</button> </el-button>
</div> </div>
<el-form label-width="100px"> <el-form label-width="100px">
<el-row> <el-row>
...@@ -664,7 +682,8 @@ ...@@ -664,7 +682,8 @@
class="dialog-footer" class="dialog-footer"
style="float: right;margin-right: 5%;position: relative; z-index: 1;" style="float: right;margin-right: 5%;position: relative; z-index: 1;"
> >
<button <el-button
:loading="loading"
v-if="titlePrice != '改价详情'" v-if="titlePrice != '改价详情'"
:class="[ :class="[
changePriceMsg.ApplyForState == 2||changePriceMsg.ApplyForState == 3 ? 'normalBtn' : 'hollowFixedBtn' changePriceMsg.ApplyForState == 2||changePriceMsg.ApplyForState == 3 ? 'normalBtn' : 'hollowFixedBtn'
...@@ -677,8 +696,9 @@ ...@@ -677,8 +696,9 @@
" "
> >
通过 通过
</button> </el-button>
<button <el-button
:loading="loading"
v-if="titlePrice != '改价详情'" v-if="titlePrice != '改价详情'"
:class="[ :class="[
changePriceMsg.ApplyForState == 4 ? 'normalBtn' : 'hollowFixedBtn' changePriceMsg.ApplyForState == 4 ? 'normalBtn' : 'hollowFixedBtn'
...@@ -691,7 +711,7 @@ ...@@ -691,7 +711,7 @@
" "
> >
拒绝 拒绝
</button> </el-button>
<button <button
class="hollowFixedBtn" class="hollowFixedBtn"
@click="changePriceMsg.outerVisible2 = false" @click="changePriceMsg.outerVisible2 = false"
...@@ -773,6 +793,7 @@ export default { ...@@ -773,6 +793,7 @@ export default {
queryObj: null, queryObj: null,
cdState: false, cdState: false,
copyId: 0, copyId: 0,
loading: true,
loading0: false, loading0: false,
loading1: false, loading1: false,
loading2: false, loading2: false,
...@@ -995,10 +1016,12 @@ export default { ...@@ -995,10 +1016,12 @@ export default {
}, },
// 审核接口 // 审核接口
ExamineOrderChangePrice(){ ExamineOrderChangePrice(){
this.loading = true
this.apipost( this.apipost(
"CarSingle_post_ExamineOrderChangePrice", "CarSingle_post_ExamineOrderChangePrice",
this.changePriceMsg, this.changePriceMsg,
res => { res => {
this.loading = false
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.changePriceMsg.setPlatDialog = true; this.changePriceMsg.setPlatDialog = true;
this.changePriceMsg.outerVisible = false; this.changePriceMsg.outerVisible = false;
...@@ -1009,14 +1032,16 @@ export default { ...@@ -1009,14 +1032,16 @@ export default {
this.$message.info(res.data.message); this.$message.info(res.data.message);
} }
} }
); )
}, },
// 申请接口 // 申请接口
SetOrderChangePrice(){ SetOrderChangePrice(){
this.loading = true
this.apipost( this.apipost(
"CarSingle_post_SetOrderChangePrice", "CarSingle_post_SetOrderChangePrice",
this.changePriceMsg, this.changePriceMsg,
res => { res => {
this.loading = false
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.changePriceMsg.setPlatDialog = true; this.changePriceMsg.setPlatDialog = true;
this.changePriceMsg.outerVisible = false; this.changePriceMsg.outerVisible = false;
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<em>审核状态</em> <em>审核状态</em>
<el-select v-model='msg2.TicketStatus' class="w200" @change="msg2.papageIndex==1,GetList()"> <el-select v-model='msg2.TicketStatus' class="w200" @change="msg2.papageIndex==1,GetList()">
<!-- <el-option :value="0" label="不限"></el-option> --> <!-- <el-option :value="0" label="不限"></el-option> -->
<el-option v-for='item in OrderStatusList' <el-option v-for='item in TicketStatusList2'
:label='item.Name' :label='item.Name'
:value='item.Id' :value='item.Id'
:key='item.Id'> :key='item.Id'>
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
<li> <li>
<span> <span>
<em>公司</em> <em>公司</em>
<el-select filterable v-model='msg2.RB_Branch_Id' class="w200" clearable> <el-select filterable v-model='msg2.RB_Branch_Id' class="w200">
<el-option value="-1" label="不限"></el-option> <el-option value="-1" label="不限"></el-option>
<el-option <el-option
v-for="item in companyList" v-for="item in companyList"
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
<li> <li>
<span> <span>
<em>业务员</em> <em>业务员</em>
<el-select filterable v-model='msg2.EnterId' class="w200" clearable> <el-select filterable v-model='msg2.EnterId' class="w200">
<el-option :value="0" label="不限"></el-option> <el-option :value="0" label="不限"></el-option>
<el-option v-for='item in EmployeeList' <el-option v-for='item in EmployeeList'
:label='item.EmName' :label='item.EmName'
...@@ -530,16 +530,17 @@ ...@@ -530,16 +530,17 @@
], ],
LineList: [], LineList: [],
SummaryList: [], SummaryList: [],
OrderStatusList: [ TicketStatusList2: [
{ Name: "不限", Id: "0" }, { Name: "不限", Id: "0" },
{ Name: "待审核", Id: "1" }, { Name: "待审核", Id: "1" },
{ Name: "已通过", Id: "2" }, { Name: "已通过", Id: "2" },
{ Name: "已取消", Id: "3" }, { Name: "已拒绝", Id: "3" },
], ],
TicketStatusList: [ TicketStatusList: [
{ Name: "不限", Id: "0" }, { Name: "不限", Id: "0" },
{ Name: "待申请", Id: "1" }, { Name: "待申请", Id: "1" },
{ Name: "已申请", Id: "2" }, { Name: "已申请", Id: "2" },
{ Name: "已拒绝", Id: "3" },
], ],
changePriceOuterVisible: true, changePriceOuterVisible: true,
......
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