This repository has been archived by the owner on Sep 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OrderDetailForSGD.aspx
377 lines (373 loc) · 17.3 KB
/
OrderDetailForSGD.aspx
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderDetailForSGD.aspx.cs" Inherits="WXShare.OrdersDetailForSGD" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>订单详情</title>
<link rel="stylesheet" type="text/css" href="./css/weui.min.css" />
<link rel="stylesheet" type="text/css" href="./css/example.css" />
</head>
<body>
<form id="form1" runat="server">
<!-- 开工提示 -->
<div class="js_dialog" id="startWorkDialog" style="display: none;">
<div class="weui-mask"></div>
<div class="weui-dialog">
<div class="weui-dialog__hd"><strong class="weui-dialog__title">开工确认</strong></div>
<div class="weui-dialog__bd">
将以今天作为开工日期,确定吗?
</div>
<div class="weui-dialog__ft">
<a id="startWork_cancel" class="weui-dialog__btn weui-dialog__btn_default">取消</a>
<a id="startWork_ok" runat="server" onserverclick="startWork_Click" class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
</div>
</div>
</div>
<!-- 停工提示 -->
<div class="js_dialog" id="stopWorkDialog" style="display: none;">
<div class="weui-mask"></div>
<div class="weui-dialog">
<div class="weui-dialog__hd"><strong class="weui-dialog__title">停工确认</strong></div>
<div class="weui-dialog__bd">
从今天开始计算停工日期,确定吗?<br />
(18点后停工从第二天开始计算)
</div>
<div class="weui-dialog__ft">
<a id="stopWork_cancel" class="weui-dialog__btn weui-dialog__btn_default">取消</a>
<a id="stopWork_ok" runat="server" onserverclick="stopWork_Click" class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
</div>
</div>
</div>
<!-- 重新开工提示 -->
<div class="js_dialog" id="resumeWorkDialog" style="display: none;">
<div class="weui-mask"></div>
<div class="weui-dialog">
<div class="weui-dialog__hd"><strong class="weui-dialog__title">重开工确认</strong></div>
<div class="weui-dialog__bd">
以今天作为重开工日期,确定吗?<br />
(8点前开工今天不计)
</div>
<div class="weui-dialog__ft">
<a id="resumeWork_cancel" class="weui-dialog__btn weui-dialog__btn_default">取消</a>
<a id="resumeWork_ok" runat="server" onserverclick="resumeWork_Click" class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
</div>
</div>
</div>
<!-- 完工提示 -->
<div class="js_dialog" id="finishWorkDialog" style="display: none;">
<div class="weui-mask"></div>
<div class="weui-dialog">
<div class="weui-dialog__hd"><strong class="weui-dialog__title">完工确认</strong></div>
<div class="weui-dialog__bd">
将以今天作为完工日期,确定吗?
</div>
<div class="weui-dialog__ft">
<a id="finishWork_cancel" class="weui-dialog__btn weui-dialog__btn_default">取消</a>
<a id="finishWork_ok" runat="server" onserverclick="finishWork_Click" class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
</div>
</div>
</div>
<!-- 标题 -->
<div class="page__hd" style="padding-left: 15px; padding-bottom: 15px;">
<h1 class="page__title" style="font-size: 25px; font-weight: bold;">订单详情</h1>
</div>
<!-- 表单 -->
<div class="weui-cells">
<!-- 客户姓名 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">姓名</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputName" disabled class="weui-input" type="text" />
</div>
</div>
<!-- 客户手机 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">手机</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputPhone" disabled class="weui-input" type="tel" />
</div>
</div>
<!-- 区县 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">区县</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputLocation" disabled class="weui-input" type="text" />
</div>
</div>
<!-- 详细地址 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">详细地址</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputLocationDetail" disabled class="weui-input" type="text" />
</div>
</div>
<!-- 涂刷类型 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">涂刷类型</label>
</div>
<div class="weui-cell__bd">
<input id="inputBrushType" runat="server" class="weui-input" disabled />
</div>
</div>
<!-- 涂刷需求 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">涂刷需求</label>
</div>
<div class="weui-cell__bd">
<input id="inputBrushDemand" runat="server" class="weui-input" disabled />
</div>
</div>
<!-- 计划开工日期 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">计划开工日期</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputWorkOrderDateSubmitted" class="weui-input" type="date" disabled />
</div>
</div>
<!-- 计划完工日期 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">计划完工日期</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputWorkCompleteOrderDateSubmitted" class="weui-input" type="date" disabled />
</div>
</div>
<!-- 实际开工日期 -->
<div class="weui-cell" runat="server" id="workDateDiv" style="display:none;">
<div class="weui-cell__hd">
<label class="weui-label">实际开工日期</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputWorkDate" class="weui-input" type="date" disabled />
</div>
</div>
<!-- 实际完工日期 -->
<div class="weui-cell" runat="server" id="workCompleteDateDiv" style="display:none;">
<div class="weui-cell__hd">
<label class="weui-label">实际完工日期</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputWorkCompleteDate" class="weui-input" type="date" disabled />
</div>
</div>
<!-- 实际收款 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">实际收款</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="cashRec" class="weui-input" name="cashRec" type="number" disabled />
</div>
</div>
<!-- 订单状态 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">订单状态</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputStatus" disabled class="weui-input" type="text" />
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__hd">
<label id="showAll" class="weui-label" style="color: #1AAD19">显示全部</label>
</div>
</div>
<!-- 附加内容 -->
<div runat="server" id="additionContent" style="display: none;">
<!-- 订单优惠 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">优惠</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputYouHui" class="weui-input" name="inputYouHui" type="text" disabled />
</div>
</div>
<!-- 房屋用途 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">房屋用途</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputHousePurpose" class="weui-input" disabled />
</div>
</div>
<!-- 房屋类型 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">房屋类型</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputHouseType" class="weui-input" disabled />
</div>
</div>
<!-- 房屋结构 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">房屋结构</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputHouseStructure" class="weui-input" disabled />
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">建筑面积</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputMianJiSubmitted" class="weui-input" disabled />
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">内墙</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputNeiQiangSubmitted" class="weui-input" disabled />
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">艺术漆</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputYiShuQiSubmitted" class="weui-input" disabled />
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">外墙</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputWaiQiangSubmitted" class="weui-input" disabled />
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">阳台</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputYangTaiSubmitted" class="weui-input" disabled />
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">木器</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputMuQiSubmitted" class="weui-input" disabled />
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">铁艺</label>
</div>
<div class="weui-cell__bd">
<input runat="server" id="inputTieYiSubmitted" class="weui-input" disabled />
</div>
</div>
<!-- 合同号 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">合同号</label>
</div>
<div class="weui-cell__bd">
<input runat="server" type="text" class="weui-input" id="inputContractNumberSubmitted" disabled />
</div>
</div>
<!-- 主材金额 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">主材金额</label>
</div>
<div class="weui-cell__bd">
<input runat="server" type="number" class="weui-input" id="inputMMSumSubmitted" disabled />
</div>
</div>
<!-- 辅材金额 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">辅材金额</label>
</div>
<div class="weui-cell__bd">
<input runat="server" type="number" class="weui-input" id="inputSMSumSubmitted" disabled />
</div>
</div>
<!-- 施工金额 -->
<div class="weui-cell">
<div class="weui-cell__hd">
<label class="weui-label">施工金额</label>
</div>
<div class="weui-cell__bd">
<input runat="server" type="number" class="weui-input" id="inputWorkSumSubmitted" disabled />
</div>
</div>
</div>
</div>
<div class="weui-cells" runat="server" id="statusBtn_8">
<!-- 开始施工按钮 -->
<div class="weui-btn-area">
<a class="weui-btn weui-btn_primary" id="startWork">开工进场</a>
</div>
</div>
<div class="weui-cells" runat="server" id="statusBtn_9">
<!-- 施工完成按钮 -->
<div class="weui-btn-area">
<a class="weui-btn weui-btn_primary" id="finishWork">施工完成</a>
</div>
<label for="weuiAgree" class="weui-agree" style="text-align: center;">
<span class="weui-agree__text">
<a id="stopWork">临时停工</a>
</span>
</label>
</div>
<div class="weui-cells" runat="server" id="statusBtn_8_5" style="display:none;">
<!-- 继续施工按钮 -->
<div class="weui-btn-area">
<a class="weui-btn weui-btn_primary" id="resumeWork">继续施工</a>
</div>
</div>
<script src="./js/zepto.js"></script>
<script type="text/javascript" src="./js/jweixin-1.00.js"></script>
<script src="./js/weui.min.js"></script>
<script>
$('#showAll').on('click', function () {
if (this.innerText == '显示全部') {
$('#additionContent').show();
this.innerText = '收起详情';
} else {
$('#additionContent').hide();
this.innerText = '显示全部';
}
});
$('#startWork').on('click', function () {
$('#startWorkDialog').fadeIn(200);
});
$('#finishWork').on('click', function () {
$('#finishWorkDialog').fadeIn(200);
});
$('#stopWork').on('click', function () {
$('#stopWorkDialog').fadeIn(200);
});
$('#resumeWork').on('click', function () {
$('#resumeWorkDialog').fadeIn(200);
});
</script>
</form>
</body>
</html>