Commit 884018fe authored by youjie's avatar youjie

我的财务单据 今日订单

parent 26a22137
...@@ -776,8 +776,11 @@ ...@@ -776,8 +776,11 @@
<button v-if="HandShow" class="hollowFixedBtn" <button v-if="HandShow" class="hollowFixedBtn"
@click="Handwithfee">{{$t('objFill.handdistributionfeeincome')}}</button> @click="Handwithfee">{{$t('objFill.handdistributionfeeincome')}}</button>
<button class="hollowFixedBtn" @click="ZhiDanChongDi"> {{$t('objFill.precharge')}}</button> <button class="hollowFixedBtn" @click="ZhiDanChongDi"> {{$t('objFill.precharge')}}</button>
<button v-if="active==1 && ActionMenuCode.indexOf('Finance_Inner')!=-1" class="hollowFixedBtn" @click="openPICPayDialog">今日应付款</button> <button v-if="(active==1 && ActionMenuCode.indexOf('Finance_Inner')!=-1)
<button v-if="this.userId==2739 || this.userId==3038 || this.userId==2604" class="hollowFixedBtn" @click="openPICPayDialog">今日应付款</button> ||(this.userId==2739 || this.userId==3038 || this.userId==2604)
||(userInfo.RB_Branch_id==1248&&userInfo.RB_Post_Id==28)" class="hollowFixedBtn"
@click="openPICPayDialog">今日应付款</button>
<button v-if="this.userId==2739 || this.userId==3038 || this.userId==2604" class="hollowFixedBtn" @click="openMarkDialog"> <button v-if="this.userId==2739 || this.userId==3038 || this.userId==2604" class="hollowFixedBtn" @click="openMarkDialog">
{{$t('objFill.v101.FinancialModule.picyouxfkjl')}}</button> {{$t('objFill.v101.FinancialModule.picyouxfkjl')}}</button>
<!-- v-if="F_Advance_Match" --> <!-- v-if="F_Advance_Match" -->
...@@ -1977,8 +1980,11 @@ ...@@ -1977,8 +1980,11 @@
<el-form-item label="" prop="picPayDate"> <el-form-item label="" prop="picPayDate">
<el-checkbox v-model="picMsg.IsSelectAduiting" true-label="1" false-label="0">只看待付款</el-checkbox> <el-checkbox v-model="picMsg.IsSelectAduiting" true-label="1" false-label="0">只看待付款</el-checkbox>
</el-form-item> </el-form-item>
<el-form-item label="" prop="picPayDate"> <el-form-item label="查看类型" prop="picPayDate">
<el-checkbox v-model="picMsg.IsAirTicketSelect" true-label="1" false-label="0">只看车行</el-checkbox> <el-select v-model="picMsg.IsAirTicketSelect" placeholder="请选择">
<el-option v-if="!(userInfo.RB_Branch_id==1248&&userInfo.RB_Post_Id==28)" label="只看PIC" value="0"></el-option>
<el-option label="只看车行" value="1"></el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<input type="button" :value="$t('pub.searchBtn')" class="hollowFixedBtn" @click="getPICPayList()"> <input type="button" :value="$t('pub.searchBtn')" class="hollowFixedBtn" @click="getPICPayList()">
...@@ -2114,7 +2120,9 @@ ...@@ -2114,7 +2120,9 @@
import shouxufei from "./components/shouxufei.vue"; import shouxufei from "./components/shouxufei.vue";
import editExchangeRate from "./components/editExchangeRate.vue"; import editExchangeRate from "./components/editExchangeRate.vue";
import StartDateLimit from '../public/StartDateLimit.vue'; import StartDateLimit from '../public/StartDateLimit.vue';
import { userMixin } from "../common/mixins/userMixin.js";
export default { export default {
mixins: [userMixin],
data() { data() {
return { return {
BatchAddWagesMessage: '', BatchAddWagesMessage: '',
...@@ -2378,7 +2386,7 @@ ...@@ -2378,7 +2386,7 @@
pageSize: 9999, pageSize: 9999,
QStartDate: "", QStartDate: "",
QEndDate: "", QEndDate: "",
IsSelectAduiting: '1', IsSelectAduiting: '0',
EmployeeId:0 EmployeeId:0
}, },
picPayData:[], picPayData:[],
...@@ -2388,6 +2396,12 @@ ...@@ -2388,6 +2396,12 @@
}; };
}, },
created() { created() {
if(this.userInfo.RB_Branch_id==1248&&this.userInfo.RB_Post_Id==28){
this.picMsg.IsAirTicketSelect = '1'
}else{
this.picMsg.IsAirTicketSelect = '0'
}
this.GetSupperOrderEditAuth() this.GetSupperOrderEditAuth()
if (localStorage.typeSystem && localStorage.typeSystem == 1) this.typeSystem = localStorage.typeSystem if (localStorage.typeSystem && localStorage.typeSystem == 1) this.typeSystem = localStorage.typeSystem
......
...@@ -13,6 +13,16 @@ export const userMixin = { ...@@ -13,6 +13,16 @@ export const userMixin = {
getUserInfo(){ getUserInfo(){
this.userInfo =this.getLocalStorage() this.userInfo =this.getLocalStorage()
}, },
getFunctionalPermission(key){
let ActionMenuCode = this.userInfo.ActionMenuCode;
if(ActionMenuCode.indexOf(key)!=-1){
return true
}else{
return false
}
// S_CheckBranchOrder // 查看分公司订单权限
// S_CheckAllOrder 查看所有订单权限
},
} }
}; };
......
<style> <style>
@import url("../../../assets/css/tripIndexNew2.css");
.dayPage-box { .dayPage-box {
margin-left: 20px; margin-left: 20px;
......
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