room.html
6.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<div class="pageheader notab">
<h1 class="pagetitle">房型详情</h1>
<span class="pagedesc">添加修改房间信息</span>
</div>
<!--pageheader-->
<div id="contentwrapper" class="contentwrapper">
<div id="basicform" class="subcontent">
<div class="contenttitle2">
<h3>房型详情</h3>
</div>
<!--contenttitle-->
<form class="stdform stdform2" method="post" action="javascript:void(0);">
<p>
<input type="hidden" ng-value="{{hotel.hotelId}}"/>
<label>房型名称</label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.roomName" ng-value="{{room.roomName}}" />
</span>
</p>
<p>
<label>标准价</label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.retailPrice" ng-value="{{room.retailPrice}}" />
</span>
</p>
<p>
<label>市场价<span style="color: red;font-style: inherit;padding-left: 5px">(输入有效的金额格式)</span></label>
<span class="field">
<input type="text" id="openTime" class="longinput"
ng-model="room.martketPrice" ng-value="{{room.martketPrice}}" />
</span>
</p>
<p>
<label>积分兑换价<span style="color: red;font-style: inherit;padding-left: 5px">(输入有效的金额格式)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.integral" ng-value="{{room.integral}}" />
</span>
</p>
<p>
<label>数量<span style="color: red;font-style: inherit;padding-left: 5px">(输入整数)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.roomStock" ng-value="{{room.roomStock}}" />
</span>
</p>
<p>
<label>楼层 <span style="color: red;font-style: inherit;padding-left: 5px">(文字描述)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.roomFloor" ng-value="{{room.roomFloor}}" />
</span>
</p>
<p>
<label>床型 <span style="color: red;font-style: inherit;padding-left: 5px">(文字描述)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.bedType" ng-value="{{room.bedType}}" />
</span>
</p>
<p>
<label>房间面积<span style="color: red;font-style: inherit;padding-left: 5px">(文字描述)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.roomArea" ng-value="{{room.roomArea}}" />
</span>
</p>
<p>
<label>违约退款扣除金额 <span style="color: red;font-style: inherit;padding-left: 5px">(在规定时间外申请退款扣除违约金)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.deditAmount" ng-value="{{room.deditAmount}}" />
</span>
</p>
<p>
<label>违约退款扣除积分 <span style="color: red;font-style: inherit;padding-left: 5px">(在规定时间外申请退款扣除违积分)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.deditIntegral" ng-value="{{room.deditIntegral}}" />
</span>
</p>
<p>
<label>逾期天数<span style="color: red;font-style: inherit;padding-left: 5px">(规定入住前时间内为逾期退款)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.overdueDays" ng-value="{{room.overdueDays}}" />
</span>
</p>
<p>
<label>逾期退款扣除金额 <span style="color: red;font-style: inherit;padding-left: 5px">(逾期申请退款扣除金额)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.overdueAmount" ng-value="{{room.overdueAmount}}" />
</span>
</p>
<p>
<label>逾期退款扣除积分 <span style="color: red;font-style: inherit;padding-left: 5px">(逾期申请退款扣除金额积分)</span></label>
<span class="field">
<input type="text" id="firstname2" class="longinput"
ng-model="room.overdueIntegral" ng-value="{{room.overdueIntegral}}" />
</span>
</p>
<p>
<label>是否可住</label>
<span class="field">
<select ng-model="room.isOpen">
<option value="1">可住</option>
<option value="0">不可住</option>
</select>
</span>
</p>
<p>
<label>房型缩略图 <span style="color: red;font-style: inherit;padding-left: 5px">(仅上传一张图片)</span></label>
<span class="field">
<span class="weui_uploader_input_wrp">
<input style="height: 100%;"
class="weui_uploader_input"
type="file"
name="attachs"
num="1"
accept="image/jpg,image/jpeg,image/png,image/gif"
action="../fileupload/fdfsUpload"
upload_thumb_image>
</span>
<span id="img_lists" ng-repeat=" image in imageUrls ">
<span style="margin-left: 15px;"><img ng-src='{{image}}' style='width:100px; height:100px;'><span class="delete_icon" ng-click="deleteImg(imageUrls,$index)"></span></span>
</span>
</span>
</p>
<p>
<label>房型图片 <span style="color: red;font-style: inherit;padding-left: 5px">(最多上传三张图片)</span></label>
<span class="field">
<span class="weui_uploader_input_wrp">
<input style="height: 100%;"
class="weui_uploader_input"
type="file"
name="attachs"
num="3"
accept="image/jpg,image/jpeg,image/png,image/gif"
action="../fileupload/fdfsUpload"
upload_product_image>
</span>
<span id="img_lists" ng-repeat=" roomImage in productIms ">
<span style="margin-left: 15px;"><img ng-src='{{roomImage}}' style='width:100px; height:100px;'><span class="delete_icon" ng-click="deleteImg(productIms,$index)"></span></span>
</span>
</span>
</p>
<p>
<label>房型介绍</label>
<span class="field">
<textarea style="height: 87px;width: 748px;" ng-model="room.roomIntro" ng-value="{{room.roomIntro}}" class="longinput" >
</textarea>
</span>
</p>
<p class="stdformbutton">
<button class="submit radius2" ng-click="update()"><span ng-if="room.roomId == ''" style="color: white;">添加</span><span ng-if="room.roomId != ''" style="color: white;">更新</span></button>
<input type="reset" class="reset radius2" value="重置" />
</p>
</form>
<br />
</div>
<!--subcontent-->
</div>