Commit fd66d41e authored by youjie's avatar youjie

no message

parent 4290574d
...@@ -390,6 +390,7 @@ ...@@ -390,6 +390,7 @@
</span> </span>
</li> </li>
<li> <li>
<el-button class="hollowFixedBtn" v-if="IsSupperOrderEdit&&pagesTitle!='销售'" @click="setCompleted">{{$t('objFill.oneclickfinish')}}</el-button>
<input v-if="userInfo.SimpleEasy==1" type="button" class="hollowFixedBtn" :value="$t('pub.addBtn')" @click="addOrders"/> <input v-if="userInfo.SimpleEasy==1" type="button" class="hollowFixedBtn" :value="$t('pub.addBtn')" @click="addOrders"/>
<button class="hollowFixedBtn" @click="getList()">{{$t('pub.searchBtn')}}</button> <button class="hollowFixedBtn" @click="getList()">{{$t('pub.searchBtn')}}</button>
</li> </li>
...@@ -405,7 +406,7 @@ ...@@ -405,7 +406,7 @@
<span class="groupTourOrderByTuan_ico"><i <span class="groupTourOrderByTuan_ico"><i
style="background-color:#ff9800"></i><span>{{$t('fnc.ytongguo')}}</span></span></p> style="background-color:#ff9800"></i><span>{{$t('fnc.ytongguo')}}</span></span></p>
</div> </div>
<visaOrderList :pagesTitle="pagesTitle" :OrderList="dataList" v-loading="loading" @success="getList"> <visaOrderList ref="visaOrderList" :pagesTitle="pagesTitle" :OrderList="dataList" v-loading="loading" @success="getList">
</visaOrderList> </visaOrderList>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total"> layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total">
...@@ -645,7 +646,8 @@ ...@@ -645,7 +646,8 @@
PostId: 0, PostId: 0,
IsLeave: 0, IsLeave: 0,
}, },
layerCompanyList: [] layerCompanyList: [],
IsSupperOrderEdit: false,
} }
}, },
computed: { computed: {
...@@ -663,6 +665,9 @@ ...@@ -663,6 +665,9 @@
this.getList(); this.getList();
this.$message.success('保存成功'); this.$message.success('保存成功');
}, },
setCompleted() {
this.$refs.visaOrderList.setCompleted()
},
pickerEnd(){ pickerEnd(){
if (this.msg.FinishSDate > this.msg.FinishEDate && this.msg.FinishEDate !== "") { if (this.msg.FinishSDate > this.msg.FinishEDate && this.msg.FinishEDate !== "") {
this.$message.error(this.$t('tips.jsrqbndyksriqi')); this.$message.error(this.$t('tips.jsrqbndyksriqi'));
...@@ -692,6 +697,12 @@ ...@@ -692,6 +697,12 @@
}, },
GetSupperOrderEditAuth() { GetSupperOrderEditAuth() {
var actionCode = this.$AuthCode.F_InvoiceManagement; var actionCode = this.$AuthCode.F_InvoiceManagement;
var actionCodeOrderEdit = this.$AuthCode.SupperOrderEdit;
this.CheckUserAuth(actionCodeOrderEdit, res => {
if (res.data.resultCode == 1 && res.data.data == 1) {
this.IsSupperOrderEdit = true;
}
});
this.CheckUserAuth(actionCode, res => { this.CheckUserAuth(actionCode, res => {
if (res.data.resultCode == 1 && res.data.data == 1) { if (res.data.resultCode == 1 && res.data.data == 1) {
this.F_InvoiceManagement = true; this.F_InvoiceManagement = true;
......
...@@ -505,10 +505,10 @@ ...@@ -505,10 +505,10 @@
<template> <template>
<div> <div>
<div style="text-align: right;position: fixed;top: 62px; right: 89px;"> <!-- <div style="text-align: right;position: fixed;top: 62px; right: 89px;">
<el-button class="hollowFixedBtn" v-if="IsSupperOrderEdit&&pagesTitle!='销售'" @click="setCompleted" <el-button class="hollowFixedBtn" v-if="IsSupperOrderEdit&&pagesTitle!='销售'" @click="setCompleted"
:loading="CompletedLoading">{{$t('objFill.oneclickfinish')}}</el-button> :loading="CompletedLoading">{{$t('objFill.oneclickfinish')}}</el-button>
</div> </div> -->
<el-table ref="multipleTable" :data="OrderList" tooltip-effect="dark" style="width: 100%" row-key="id" <el-table ref="multipleTable" :data="OrderList" tooltip-effect="dark" style="width: 100%" row-key="id"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column type="selection" :selectable="selectable" :reserve-selection="true" <el-table-column type="selection" :selectable="selectable" :reserve-selection="true"
......
This diff is collapsed.
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