Commit 0f836e78 authored by 黄奎's avatar 黄奎

页面修改

parent 83cba45d
......@@ -571,7 +571,7 @@
<td v-if="subIndex==0 && childIndex == 0" :rowspan="item.row">
{{subItem.HotelName}}
</td>
<td v-if="subIndex==0 && childIndex == 0" :rowspan="item.row">
<td v-if="subIndex==0 && childIndex == 0" :rowspan="item.row">
{{subItem.NewHotelName}}
</td>
<td>
......@@ -974,6 +974,8 @@
<input type="button" class="leader2Btn" @click="AuditOrder(1)" value="审核不通过"
v-show="dataList.LeaderApply.Status==1">
<input type="button" class="leader2Btn" value="打印" @click="printTable()">
<input v-if="UserId==615 && dataList.LeaderApply.Status==2" type="button" class="leader2Btn" value="取消审核" @click="CancelLeaderApply()">
</div>
</div>
<a :href="blankUrl" id="blankLink" target="_blank" style="display:none">1</a>
......@@ -1024,6 +1026,7 @@
export default {
data() {
return {
UserId: 0,
LineId: 0,
planPriceList: [],
zhuijiaList: [],
......@@ -1094,9 +1097,7 @@
if (subItem.DiningID == DiningID && subItem.UseDinnerType == UseDinnerType && subItem.UseTimeStr ==
UseTimeStr) {
totalPrice += 0
}
else
{
} else {
totalPrice += subItem.TradingTotalPrice
}
DiningID = subItem.DiningID;
......@@ -1398,7 +1399,7 @@
} else {
this.$message.error(res.data.message)
}
}, null)
},
goZhiDan: function (obj) {
......@@ -1656,11 +1657,10 @@
let list = []
for (var j = 0; j < Diningdest.length; j++) {
var dj = Diningdest[j];
if (dj.id == (ai.NewDiningID + ai.UseTimeStr + ai.UseDinnerTypeStr)) {
if (dj.id == (ai.NewDiningID + ai.UseTimeStr + ai.UseDinnerTypeStr)) {
dj.data.push(ai);
break;
}
else {
} else {
list.push(ai)
}
}
......@@ -1668,7 +1668,7 @@
Diningdest.push({
UseTimeStr: ai.UseTimeStr,
DiningID: ai.NewDiningID,
id: ai.NewDiningID + ai.UseTimeStr + ai.UseDinnerTypeStr,
id: ai.NewDiningID + ai.UseTimeStr + ai.UseDinnerTypeStr,
data: [ai]
});
}
......@@ -1842,12 +1842,33 @@
this.$message.error(res.data.message);
}
}, err => {})
},
//取消审核
CancelLeaderApply()
{
var that = this;
this.Confirm("是否要取消审核?", function() {
var msg = {
TCIDs: that.msg.TCIDs
};
that.apipost("miniProgram_price_CancelLeaderApplyService",msg,
res => {
if (res.data.resultCode == 1) {
that.Success('取消审核成功!');
that.getList();
}else{
that.Error(res.data.data);
}
},null);
});
}
},
created() {},
mounted() {
this.isUpdate = this.$route.query.isUpdate;
this.msg.TCIDs = this.$route.query.id;
let userInfo = this.getLocalStorage();
this.UserId = userInfo.EmployeeId;
this.getzongJE();
this.getNav();
this.getList();
......
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