Commit 8f1c9ae7 authored by 黄媛媛's avatar 黄媛媛

update

parent 57d601c5
......@@ -53,6 +53,12 @@
value="新增"
@click="addRule"
>
<input v-if="EmployeeId==1 || EmployeeId==5"
type="button"
class="hollowFixedBtn"
value="制单"
@click="goUrl"
>
</li>
</ul>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
......
......@@ -415,7 +415,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="4">
<el-form-item :label="$t('fnc.feiyongfangxiang') + ':'">
<el-radio v-model="addMsg.Type" :label="1">{{$t('restaurant.res_income')}}</el-radio>
<el-radio v-model="addMsg.Type" :label="2">{{$t('restaurant.res_outcome')}}</el-radio>
......@@ -428,12 +428,18 @@
<el-radio v-model="addMsg.IsShareAccount" :label="0">{{$t('fnc.fou')}}</el-radio>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="4">
<el-form-item :label="$t('fnc.ysbaobiao') + ':'">
<el-radio v-model="addMsg.Is_Report" :label="0">{{$t('fnc.bujinru')}}</el-radio>
<el-radio v-model="addMsg.Is_Report" :label="1">{{$t('fnc.jinru')}}</el-radio>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="机密费用:">
<el-radio v-model="addMsg.IsSecret" :label="1">{{$t('fnc.yes')}}</el-radio>
<el-radio v-model="addMsg.IsSecret" :label="0">{{$t('fnc.fou')}}</el-radio>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
......@@ -498,7 +504,8 @@
DepartmentID:-1,
EmployeeID: -1,
list:[],
Is_Report:0
Is_Report:0,
IsSecret:0,
},
EmployeeIDList:[],
text:'',
......@@ -880,7 +887,8 @@
DepartmentID:-1,
EmployeeID:-1,
list:[],
Is_Report:0
Is_Report:0,
IsSecret:0,
}
if(!t){
this.addShow=false
......@@ -925,6 +933,7 @@
if(res.data.resultCode == 1) {
this.addShow=true;
var dataList = res.data.data;
console.log("dataList",dataList)
this.getPostList();
this.getDepartmentList();
this.getEmployeeList('all');
......@@ -938,6 +947,8 @@
this.addMsg.IsShareAccount = dataList.IsShareAccount;
this.addMsg.Sort = dataList.Sort;
this.addMsg.Is_Report = dataList.Is_Report;
this.addMsg.IsSecret = dataList.IsSecret;
// this.addMsg = dataList;
if(dataList.DepartList.length>0){
dataList.DepartList.forEach(x=>{
......@@ -984,7 +995,8 @@
DepartmentID:-1,
EmployeeID: -1,
list:[],
Is_Report:0
Is_Report:0,
IsSecret:0,
}
this.addMsg = msg;
},
......
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