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

导游问题修复

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