Commit 9a65a36f authored by 黄奎's avatar 黄奎

新增页面

parent b597f0de
<template>
<div class="DirectQuotation clearfix" v-loading="loading">
<div class="btnFixedDiv">
<div class="toTop">
<i class="iconfont icon-huidaodingbu"></i>
</div>
<div class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="SaveData(2)">提交</div>
<div class="DTSaveBtn" style="display:none;">复制</div>
<div class="DTSaveBtn caogao" :class="{'disClick':!isSubmit}" @click="SaveData(1)">
<span>保存</span>
<span>草稿</span>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
ConfigID: 0,
//基本配置
postData: {
ID: 0,
StartCityId: 0,
LineId: 0,
LineteamId: 0,
Title: "",
IsOrder: 1,
IsSubstitution: 1,
IsB2B: 1,
IsB2C: 1,
FSeat: 0,
CSeat: 0,
YSeat: 0,
//最低成团人数
LowNum: 0,
//OP备注
OpRemark: "",
//产品经理备注
ProductRecommend: "",
IsDirect: 0, //是否直采(0-否-1-是)【全部默认非直采】
PriceIsDirect: 1, //是否直采报价(1-否-2-是)【全部默认非直采】
PDFAlias: "", //pdf别名
ImgCover: "", //封面图
DayNum: 0, //天数
NightNum: 0, //晚数
StartCityId: 0,
ReturnArriveCityId: 0, //返回抵达城市
CustomerName: "", //客户名称
TeamType: 0, //团队类型
TravelState:1,//团控状态(1-草稿,2-待审核,3-审核通过,4-审核拒绝,5已撤销)
},
LineList: [], //线路列表
loading: false
};
},
methods: {
},
created() {
},
};
</script>
......@@ -204,6 +204,9 @@
<th>
编号
</th>
<th>
地区
</th>
<th>
行程
</th>
......@@ -213,6 +216,9 @@
<th>
公里数
</th>
<th>
详细
</th>
<th>
操作人
</th>
......@@ -229,6 +235,9 @@
<td>
{{item.Id}}
</td>
<td>
{{item.AreaTypeIdStr}}
</td>
<td>
{{item.Trip}}
</td>
......@@ -238,6 +247,55 @@
<td>
{{item.Kilometre}}
</td>
<td>
<el-popover width="590" trigger="click">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr style="text-align:center;">
<th width="80">车型</th>
<th width="80">{{$t('ground.jsPrice')}}</th>
<th width="80">{{$t('ground.AllDayPrice')}}</th>
<th width="80">{{$t('ground.btbj')}}</th>
<th width="80">公里价格</th>
<th width="80">{{$t('ground.qtgs')}}</th>
<th width="80">{{$t('ground.jsgs')}}</th>
<th width="80">{{$t('ground.qtchadai')}}</th>
<th width="80">{{$t('ground.jschadai')}}</th>
</tr>
<tr v-for="(fItem,fIndex) in item.PriceList" :key="fIndex" style="text-align:center;">
<td>
{{fItem.BusTypeStr}}
</td>
<td>
{{fItem.ReceivePrice}}
</td>
<td>
{{fItem.AllDayPrice}}
</td>
<td>
{{fItem.HalfDayPrice}}
</td>
<td>
{{fItem.KMPrice}}
</td>
<td>
{{fItem.AllDayHighSpeedFee}}
</td>
<td>
{{fItem.PickUpHighSpeedFee}}
</td>
<td>
{{fItem.AllDayChaDaiFee}}
</td>
<td>
{{fItem.PickUpChaDaiFee}}
</td>
</tr>
</table>
<span slot="reference" style="cursor:pointer;">{{$t('fnc.xiangqing')}}
<i class="iconfont icon-xiaotuziCduan_1"></i>
</span>
</el-popover>
</td>
<td>{{item.UpdateByName}}</td>
<td>{{item.UpdateDateStr}}</td>
<td style="text-align:center;">
......@@ -255,7 +313,7 @@
</tbody>
<tfoot>
<tr>
<td colspan="7">
<td colspan="9">
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.currentPage"
layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="msg.total">
</el-pagination>
......@@ -276,6 +334,14 @@
</el-row>
<el-form :model="addMsg" ref="addMsg" label-width="100px">
<el-row>
<el-col :span="5">
<el-form-item label="地区">
<el-select filterable :placeholder="$t('pub.pleaseSel')" v-model="addMsg.AreaTypeId">
<el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option>
<el-option v-for="item in AreaList" :key="item.Id" :label="item.Name" :value="item.Id"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="行程">
<el-input type="textarea" autosize :placeholder="$t('pub.pleaseImport')" v-model="addMsg.Trip">
......@@ -307,6 +373,7 @@
export default {
data() {
return {
AreaList: [], //地区列表
dataList: [],
isShow: false,
msg: {
......@@ -324,6 +391,7 @@
VietnamTrip: '', //越文行程
Kilometre: 0, //公里数
SortNum: 0, //排序
AreaTypeId: 0, //地区编号
},
};
},
......@@ -345,6 +413,7 @@
this.msg.loading = false;
if (res.data.resultCode == 1) {
this.dataList = res.data.data.pageData;
console.log("this",this.dataList);
this.msg.total = res.data.data.count;
}
},
......@@ -436,8 +505,21 @@
);
});
},
//获取地区下拉
getAreaList() {
this.apipost(
"busprice_get_GetBusAreaType", {},
res => {
if (res.data.resultCode == 1) {
this.AreaList = res.data.data;
}
},
null
);
},
},
mounted() {
this.getAreaList();
this.initData();
},
}
......
......@@ -2427,6 +2427,14 @@ export default {
title: '报价单'
},
},
{
path: '/newQuotation_SWT',
name: 'newQuotation_SWT',
component: resolve => require(['@/components/TravelManager/TravelNewQuotation/newQuotation_SWT'], resolve),
meta: {
title: '报价单'
},
},
//销售-自主开团报价单
{
path: '/newQuotation2',
......@@ -2922,6 +2930,14 @@ export default {
title: '制作报价单'
},
},
{ //新版制作报价单[SWT旅行社]
path: '/QuotationPrice_SWT',
name: 'QuotationPrice_SWT',
component: resolve => require(['@/components/TravelManager/TravelNewQuotation/QuotationPrice_SWT'], resolve),
meta: {
title: '制作报价单'
},
},
{ //新版报价单审核
path: '/QuotationAduit',
name: 'QuotationAduit',
......
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