Commit c0259ef4 authored by zhengke's avatar zhengke

增加供应商手配费页面

parent 330fb033
<template>
<div class="flexOne SupplierHandeFee">
<div class="query-box">
<ul class="user_time_picker">
<li>
<span>
<em>{{$t('hotel.hotel_StartDate')}}</em>
<el-date-picker type="date" v-model="msg.StartDate" :picker-options="pickerBeginDateBefore"
value-format="yyyy-MM-dd" placeholder></el-date-picker>
</span>
</li>
<li>
<span>
<em>{{$t('hotel.hotel_EndDate')}}</em>
<el-date-picker type="date" v-model="msg.EndDate" :picker-options="pickerBeginDateBefore"
value-format="yyyy-MM-dd" placeholder></el-date-picker>
</span>
</li>
<li>
<span>
<em>供应商</em>
<el-select
filterable
v-model="msg.Supplier"
>
<el-option :label="$t('system.ph_buxian')" :value="-1"></el-option>
<!-- <el-option
v-for="item in companyList"
:label="item.BName"
:value="item.Id"
:key="item.Id"
></el-option> -->
</el-select>
</span>
</li>
<li>
<input
type="button"
class="hollowFixedBtn"
value="查询"
@click="getList()"
> &nbsp;
<input type="button" class="normalBtn" value="下载">
</li>
</ul>
</div>
<div class="clearfix"></div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr>
<th>做账主体</th>
<th>团号</th>
<th>单号</th>
<th>日元</th>
<th>人民币</th>
<th>手配定团号</th>
<th>泊数</th>
<th>单价(日元)</th>
<th>小计</th>
</tr>
<tr v-for="item in dataList">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<div class="noDataNotice" v-if="dataList.length<1">
<i class="iconfont icon-kong"></i>
<p>{{$t("active.ld_noData")}}</p>
</div>
<el-pagination
background
@current-change="handleCurrentChange"
v-if="dataList.length>0"
:current-page.sync="currentPage"
layout="total,prev, pager, next, jumper"
:page-size="msg.PageSize"
:total="total"
></el-pagination>
</div>
</template>
<script>
export default {
data() {
return {
//请求
msg: {
StartDate:"2020-01-01",
EndDate:"2020-02-29",
Supplier:30,
PageIndex:1,
PageSize:15,
},
loading:false,
currentPage: 1,
total:0,
dataList:[],
pickerBeginDateBefore: {
disabledDate: time => {
let endTime = new Date(this.msg.EndDate)
return endTime.getTime() < time.getTime()
}
},
pickerBeginDateAfter: {
disabledDate: time => {
let startTime = new Date(this.msg.StartDate)
return startTime.getTime() >= time.getTime()
}
},
}
},
mounted() {
//this.getList();
},
filters: {
},
methods: {
//获取数据
getList() {
this.loading = true;
this.apipost(
'dmcstatistics_get_GetDmcSupplierHotelPageListService',this.msg,
res => {
if (res.data.resultCode == 1) {
console.log(res,'resss');
}else{
this.Error(res.data.message);
}
},
err => {}
)
},
handleCurrentChange(val) {
this.msg.PageIndex = val;
this.getList();
},
}
};
</script>
\ No newline at end of file
...@@ -879,6 +879,15 @@ export default { ...@@ -879,6 +879,15 @@ export default {
title: '供应商管理' title: '供应商管理'
}, },
}, },
{
path: '/SupplierHandFee', //供应商手配费
name: 'SupplierHandFee',
component: resolve => require(['@/components/Hotel/SupplierHandFee'], resolve),
meta: {
title: '供应商手配费'
},
},
{ {
path: '/hotelproductmanage', //酒店产品管理 path: '/hotelproductmanage', //酒店产品管理
name: 'HotelProductManage', name: 'HotelProductManage',
......
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