Commit 185af0cd authored by 华国豪's avatar 华国豪 🙄

导游问题修复

parent dec35a73
...@@ -497,7 +497,7 @@ ...@@ -497,7 +497,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('system.table_sex')" prop="Sex" v-if="addMsg.LeaderGuidClass==0"> <el-form-item :label="$t('system.table_sex')" prop="Sex" >
<el-select v-model="addMsg.Sex" :placeholder="$t('leader.leader_Sex')" class="w210"> <el-select v-model="addMsg.Sex" :placeholder="$t('leader.leader_Sex')" class="w210">
<el-option v-for='item in SexOptions' :key="item.value" :label="item.type" :value="item.value"> <el-option v-for='item in SexOptions' :key="item.value" :label="item.type" :value="item.value">
</el-option> </el-option>
...@@ -591,7 +591,7 @@ export default { ...@@ -591,7 +591,7 @@ export default {
}, },
addMsg: { addMsg: {
ID: "0", ID: "0",
Type: "", Type: "3",
EmployeeId: "", EmployeeId: "",
Surname: "", Surname: "",
Name: "", Name: "",
...@@ -1072,7 +1072,7 @@ export default { ...@@ -1072,7 +1072,7 @@ export default {
//初始化创建、修改表单数据 //初始化创建、修改表单数据
let newMsg = { let newMsg = {
ID: "0", ID: "0",
Type: "", Type: "3",
EmployeeId: "", EmployeeId: "",
Surname: "", Surname: "",
Name: "", Name: "",
......
...@@ -127,7 +127,7 @@ input[type="number"] { ...@@ -127,7 +127,7 @@ input[type="number"] {
</table> </table>
<table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2"> <table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2">
<tr> <tr>
<th colspan="9" class="bgwhite">门票使用</th> <th colspan="10" class="bgwhite">门票使用</th>
</tr> </tr>
<tr> <tr>
<th width="180">使用日期</th> <th width="180">使用日期</th>
...@@ -139,6 +139,7 @@ input[type="number"] { ...@@ -139,6 +139,7 @@ input[type="number"] {
<th width="">预计总金额</th> <th width="">预计总金额</th>
<th width="">实付金额</th> <th width="">实付金额</th>
<th width="100">备注</th> <th width="100">备注</th>
<th width="40">操作</th>
</tr> </tr>
<template v-for='(item,index) in ScenicDataList'> <template v-for='(item,index) in ScenicDataList'>
<template v-for="(subItem,subIndex) in item.data"> <template v-for="(subItem,subIndex) in item.data">
...@@ -178,6 +179,7 @@ input[type="number"] { ...@@ -178,6 +179,7 @@ input[type="number"] {
<td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length">
{{subItem.Remarks}} {{subItem.Remarks}}
</td> </td>
<td><span class="cursorpointer text-decoratio" @click="godetail('ticket', childItem)">明细</span></td>
</tr> </tr>
</template> </template>
</template> </template>
...@@ -225,7 +227,7 @@ input[type="number"] { ...@@ -225,7 +227,7 @@ input[type="number"] {
<table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2"> <table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2">
<tr> <tr>
<th colspan="4" class="bgwhite">车辆使用</th> <th colspan="5" class="bgwhite">车辆使用</th>
</tr> </tr>
<tr> <tr>
<th width="">使用日期</th> <th width="">使用日期</th>
...@@ -233,6 +235,7 @@ input[type="number"] { ...@@ -233,6 +235,7 @@ input[type="number"] {
<!-- <th width="">预计总金额</th>--> <!-- <th width="">预计总金额</th>-->
<th width="">实付金额</th> <th width="">实付金额</th>
<th width="">备注</th> <th width="">备注</th>
<th width="40">操作</th>
</tr> </tr>
<template v-for='(item,index) in busDataList'> <template v-for='(item,index) in busDataList'>
<tr v-for='(item2,index2) in item.data'> <tr v-for='(item2,index2) in item.data'>
...@@ -249,13 +252,14 @@ input[type="number"] { ...@@ -249,13 +252,14 @@ input[type="number"] {
<td> <td>
{{item2.Remarks}} {{item2.Remarks}}
</td> </td>
<td><span class="cursorpointer text-decoratio" @click="godetail('bus', item2)">明细</span></td>
</tr> </tr>
</template> </template>
</table> </table>
<table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2"> <table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2">
<tr> <tr>
<th colspan="10" class="bgwhite">餐食使用</th> <th colspan="11" class="bgwhite">餐食使用</th>
</tr> </tr>
<tr> <tr>
<th width="180">使用日期</th> <th width="180">使用日期</th>
...@@ -268,6 +272,7 @@ input[type="number"] { ...@@ -268,6 +272,7 @@ input[type="number"] {
<th width="">预计总金额</th> <th width="">预计总金额</th>
<th width="">实付金额</th> <th width="">实付金额</th>
<th width="100">备注</th> <th width="100">备注</th>
<th width="40">操作</th>
</tr> </tr>
<template v-for='(item,index) in DiningDataList'> <template v-for='(item,index) in DiningDataList'>
<template v-for='(subItem,subIndex) in item.data'> <template v-for='(subItem,subIndex) in item.data'>
...@@ -309,6 +314,7 @@ input[type="number"] { ...@@ -309,6 +314,7 @@ input[type="number"] {
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
{{subItem.Remarks}} {{subItem.Remarks}}
</td> </td>
<td><span class="cursorpointer text-decoratio" @click="godetail('dining', childItem)">明细</span></td>
</tr> </tr>
</template> </template>
</template> </template>
...@@ -356,7 +362,7 @@ input[type="number"] { ...@@ -356,7 +362,7 @@ input[type="number"] {
<table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2"> <table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2">
<tr> <tr>
<th colspan="11" class="bgwhite">酒店使用</th> <th colspan="12" class="bgwhite">酒店使用</th>
</tr> </tr>
<tr> <tr>
<th width="180">使用日期</th> <th width="180">使用日期</th>
...@@ -370,6 +376,7 @@ input[type="number"] { ...@@ -370,6 +376,7 @@ input[type="number"] {
<th width="">预计总金额</th> <th width="">预计总金额</th>
<th width="">实付金额</th> <th width="">实付金额</th>
<th width="100">备注</th> <th width="100">备注</th>
<th width="40">操作</th>
</tr> </tr>
<template v-for='(item, index) in HotelDataList'> <template v-for='(item, index) in HotelDataList'>
<template v-for="(subItem,subIndex) in item.data"> <template v-for="(subItem,subIndex) in item.data">
...@@ -433,6 +440,7 @@ input[type="number"] { ...@@ -433,6 +440,7 @@ input[type="number"] {
<td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length"> <td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length">
{{subItem.Remarks}} {{subItem.Remarks}}
</td> </td>
<td><span class="cursorpointer text-decoratio" @click="godetail('hotel', childItem)">明细</span></td>
</tr> </tr>
</template> </template>
</template> </template>
...@@ -921,6 +929,23 @@ export default { ...@@ -921,6 +929,23 @@ export default {
}; };
}, },
methods: { methods: {
// 明细
godetail: function (name, obj) {
let path = "", msg = {};
if (name == 'ticket') {
} else if (name === 'bus') {
} else if (name === 'dining') {
} else if (name === 'hotel') {
}
let fullPath = `/${path}?data=${msg}`;
let dom = document.querySelector("#blankLink");
dom.href = `http://${window.location.host}/#${fullPath}`;
dom.click();
},
// 稽核单据 // 稽核单据
ZhiDanJiHe: function(obj){ ZhiDanJiHe: function(obj){
if(!obj.price) { if(!obj.price) {
......
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