Commit 4731e0c0 authored by 黄奎's avatar 黄奎

页面修改

parent 6b8b4ad9
......@@ -2,40 +2,33 @@
<div class="Quotation">
<div class="routerTitle">
<span class="pageTitle">見積書</span>
<span @click="morequery = !morequery" style="display:inline-flex;align-items:center;cursor: pointer;"
class="f12 cd6">
<span style="margin-right:5px">詳細なクエリー</span>
<img v-show="!morequery" style="width:12px;height:12px;" src="../../assets/img/more.png" alt="" />
<img v-show="morequery" class="roatImg" style="width:12px;height:12px" src="../../assets/img/more.png" alt="" />
</span>
<span @click="getMonths" style="margin-left:20px" class="chaxunSpan" title="查询">クエリー</span>
<span @click="clearAddMsg" style="margin-left:20px" class="addSpan" title="新增">
<img style="width:10px;height:10px;margin-right:6px" src="../../assets/img/add.png" alt="" />
新たに</span>
<span @click="DeleteAll" style="margin-left:20px" class="addSpan" title="全部删除">一括削除</span>
</div>
<div class="padContent">
<ul v-show="morequery" class="queryul">
<ul class="queryul">
<li>
<el-date-picker v-model="msg.MonthStr" type="month" value-format="yyyy-MM" placeholder="選択月">
<el-date-picker v-model="condition.month" type="month" value-format="yyyy-MM" placeholder="選択月" @change="getMonths()">
</el-date-picker>
</li>
</ul>
<div class="hotelProductManage2_calendar">
<div class="hotelProductManage2_calendarItem" v-for="(item, index) in dayList" :key="index">
<div class="calendarItem_month" title="点击查看详情">
<div class="calendarItem_month">
{{item.date}}
<el-checkbox style="margin-right:2px;" v-model="item.isCked" @change="changeHotelStatus(item,index)">全テーマ検索
</el-checkbox>
</div>
<div class="calendarItem_week">
<div>周天</div>
<div>月曜日</div>
<div>火曜日</div>
<div>水曜</div>
<div>水曜</div>
<div>金曜日</div>
<div>土曜日に</div>
<div title="星期天">日曜日</div>
<div title="星期一">月曜日</div>
<div title="星期二">火曜日</div>
<div title="星期三">水曜日</div>
<div title="星期四">木曜日</div>
<div title="星期五">金曜日</div>
<div title="星期六">土曜日</div>
</div>
<div class="calendarItem_day">
<div v-for="(subItem, index2) in item.days" :key="index2"
......@@ -48,9 +41,9 @@
<template>
<table style="margin-left:3px;padding-top:2px;width:100%;font-size:12px">
<tr>
<th style="text-align:center">ばいばい価格</th>
<th style="text-align:center">原価</th>
<th style="text-align:center">在庫数量</th>
<th style="text-align:center" title="价格">ばいばい価格</th>
<th style="text-align:center" title="成本价格">原価</th>
<th style="text-align:center" title="库存数量">在庫数量</th>
<th style="text-align:center">操作</th>
</tr>
<tr v-for="(childItem,childIndex) in subItem.data.SubList" :key="childIndex">
......@@ -90,17 +83,17 @@
</el-tag>
</div>
<div class="baseform">
<el-form-item label="" prop="Money">
<el-form-item label="" prop="Money" title="价格">
<span class="label">ばいばい価格</span>
<el-input @keyup.native="checkInteger(addMsg,'Money')" size="mini" v-model="addMsg.Money"
placeholder="ばいばい価格"></el-input>
</el-form-item>
<el-form-item label="" prop="CostPrice">
<el-form-item label="" prop="CostPrice" title="成本价">
<span class="label">原価</span>
<el-input @keyup.native="checkInteger(addMsg,'CostPrice')" size="mini" v-model="addMsg.CostPrice"
placeholder="原価"></el-input>
</el-form-item>
<el-form-item label="" prop="Inventory">
<el-form-item label="" prop="Inventory" title="库存数量">
<span class="label">在庫数量</span>
<el-input @keyup.native="checkInteger(addMsg,'Inventory')" size="mini" v-model="addMsg.Inventory"
placeholder="在庫数量"></el-input>
......@@ -137,13 +130,8 @@
CostPrice: '',
Inventory: '',
},
morequery: false, //高级查询
dateList: [], //日历数据
loading: false,
msg: {
RoomId: 0,
MonthStr: '',
},
rules: {
Money: [{
required: true,
......@@ -176,7 +164,6 @@
};
},
created() {
this.msg.MonthStr = moment().format("YYYY-MM");
this.condition.month = moment().format("YYYY-MM");
},
mounted() {
......@@ -358,7 +345,6 @@
},
}
};
</script>
<style>
......
......@@ -82,6 +82,12 @@
case "/HotelList":
this.defaulActive = "1";
break;
case "/Quotation":
this.defaulActive = "1";
break;
case "/RoomList":
this.defaulActive = "1";
break;
case "/HotelOrder":
this.defaulActive = "2";
break;
......
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