LiuCheng 2 місяці тому
джерело
коміт
a58fcd814d

+ 17
- 1
src/view/customer/storequery.vue Переглянути файл

@@ -81,6 +81,7 @@
81 81
 							<el-button   type="success" @click="handleExport" style="margin-left: 2px" size="small">库存导出</el-button>
82 82
 						</el-upload>
83 83
 					</el-form-item>
84
+					<el-button type="primary" style= "margin-left: 5px;margin-top: 5px" size="small"  @click="resetButton" :disabled="backAble">重置</el-button>
84 85
 				</el-row>
85 86
 				
86 87
 			</el-form>
@@ -327,6 +328,21 @@
327 328
 				this.query.customerName = '';
328 329
 				this.query.customerId = '';
329 330
 			},
331
+			resetButton(){      //查询条件重置
332
+				this.query.wareName = '',
333
+				this.query.stackName = '',
334
+				this.query.model = '',
335
+				this.query.materialName = '',
336
+				this.query.standard = '',
337
+				this.query.customerName = '',
338
+				this.query.plateNo = '',
339
+				this.query.wareId = '',
340
+				this.query.ordNo = '',
341
+				this.query.fkcustmerName = '',
342
+				this.query.carNo = '',
343
+				this.query.tallyPeople = '',
344
+				this.query.fkComponyName = ''
345
+			},
330 346
 			handleExport() {
331 347
 				var url = 'CustomerStoreQuery/queryStore.do'
332 348
 				var imptData = [];
@@ -345,7 +361,7 @@
345 361
 					customerId:this.query.customerId,
346 362
 					ordNo:this.query.ordNo
347 363
 				}
348
-
364
+				
349 365
 				axios.get(url, param).then(response => {
350 366
 
351 367
 					if (response.data.code == 0) {

+ 18
- 0
src/view/record/inrecord.vue Переглянути файл

@@ -72,6 +72,9 @@
72 72
 									<el-button   type="success" @click="handleExport" style="margin-left: 2px" size="small">导出记录</el-button>
73 73
 								</el-upload>
74 74
 							</el-form-item>
75
+							<el-form-item label="" style="margin-top: -15px">
76
+							    <el-button type="primary" size="small"  @click="resetButton" :disabled="backAble">重置</el-button>
77
+							</el-form-item>
75 78
 						</el-row>
76 79
 					</el-form>
77 80
 			<total-block ref="totalBlock" style="margin-left: -25px;font-size: 13px;margin-left: 5px" v-bind:childParam="childParam" v-bind:childUrl = 'childUrl'></total-block>
@@ -263,6 +266,21 @@
263 266
 				this.getTableData();
264 267
 				//this.getTotalData();
265 268
 			},
269
+			resetButton(){      //查询条件重置
270
+				this.query.wareName = '',
271
+				this.query.stackName = '',
272
+				this.query.model = '',
273
+				this.query.materialName = '',
274
+				this.query.standard = '',
275
+				this.query.customerName = '',
276
+				this.query.plateNo = '',
277
+				this.query.wareId = '',
278
+				this.query.ordNo = '',
279
+				this.query.fkcustmerName = '',
280
+				this.query.carNo = '',
281
+				this.query.tallyPeople = '',
282
+				this.query.fkComponyName = ''
283
+			},
266 284
 			getWare() {
267 285
 				var url = 'MaintWare/queryByUserId.do'
268 286
 				var param = {}

+ 18
- 0
src/view/record/outrecord.vue Переглянути файл

@@ -74,6 +74,9 @@
74 74
 								<el-button   type="success" @click="handleExport" style="margin-left: 2px" size="small">导出记录</el-button>
75 75
 							</el-upload>
76 76
 						</el-form-item>
77
+						<el-form-item label="" style="margin-top: -15px">
78
+							    <el-button type="primary" size="small"  @click="resetButton" :disabled="backAble">重置</el-button>
79
+						</el-form-item>
77 80
 					</el-row>
78 81
 				</el-form>
79 82
 			</el-row>
@@ -492,6 +495,21 @@
492 495
 				this.currentPage = 1
493 496
 				this.getTableData()
494 497
 			},
498
+			resetButton(){      //查询条件重置
499
+				this.query.wareName = '',
500
+				this.query.stackName = '',
501
+				this.query.model = '',
502
+				this.query.materialName = '',
503
+				this.query.standard = '',
504
+				this.query.customerName = '',
505
+				this.query.plateNo = '',
506
+				this.query.wareId = '',
507
+				this.query.ordNo = '',
508
+				this.query.fkcustmerName = '',
509
+				this.query.carNo = '',
510
+				this.query.tallyPeople = '',
511
+				this.query.fkComponyName = ''
512
+			},
495 513
 			showMaterial() {
496 514
 				this.$refs.PopupMaterial.show()
497 515
 			},

+ 20
- 4
src/view/ware/storechange.vue Переглянути файл

@@ -12,6 +12,10 @@
12 12
 					<el-form-item label="垛位名称" style="margin-left: -35px">
13 13
 						<el-input v-model="query.stackName" size="small" style="width:120px;margin-left: -8px"></el-input>
14 14
 					</el-form-item>
15
+					<el-form-item label="钢板号" style="margin-left: -15px">
16
+						<el-input v-model="query.plateNo" size="small" style="width:120px;margin-left: -8px">
17
+						</el-input>
18
+					</el-form-item>
15 19
 					<el-form-item label="物料名称" style="margin-left: -35px">
16 20
 						<el-input v-model="query.materialName" size="small" style="width:120px;margin-left: -8px">
17 21
 							<el-button slot="append" icon="el-icon-search" @click="showMaterial"></el-button>
@@ -36,10 +40,7 @@
36 40
 						<el-input v-model="query.model" size="small" style="width:120px;margin-left: -8px">
37 41
 						</el-input>
38 42
 					</el-form-item>
39
-					<el-form-item label="钢板号" style="margin-left: -15px">
40
-						<el-input v-model="query.plateNo" size="small" style="width:120px;margin-left: -8px">
41
-						</el-input>
42
-					</el-form-item>
43
+					
43 44
 					<el-form-item label="订单号" style="margin-left: -15px">
44 45
 						<el-input v-model="query.ordNo" size="small" style="width:120px;margin-left: -8px">
45 46
 						</el-input>
@@ -55,6 +56,7 @@
55 56
             			<el-button type="success" size="small"  @click="handleExport" >导出记录</el-button>
56 57
             			<el-button type="primary" size="small"  @click="showOut">出库</el-button>
57 58
             			<el-button type="danger"  size="small"  @click="handleInBack" :disabled="backAble">取消入库</el-button>
59
+						<el-button type="primary" size="small"  @click="resetButton" :disabled="backAble">重置</el-button>
58 60
 					</el-form-item>
59 61
 						<!-- <el-button type="primary" @click="showOut">出库</el-button> -->
60 62
 					<!-- 	<el-form-item label=" ">
@@ -223,6 +225,8 @@
223 225
 					customerName: '',
224 226
 					plateNo: '',
225 227
 					wareId:'',
228
+					ordNo:'',
229
+					fkcustmerName:'',
226 230
 				},
227 231
 				multipleSelection: [],
228 232
 				tableData: [],
@@ -346,6 +350,18 @@
346 350
 					});
347 351
 				}
348 352
 			},
353
+			resetButton(){      //查询条件重置
354
+				this.query.wareName = '',
355
+				this.query.stackName = '',
356
+				this.query.model = '',
357
+				this.query.materialName = '',
358
+				this.query.standard = '',
359
+				this.query.customerName = '',
360
+				this.query.plateNo = '',
361
+				this.query.wareId = '',
362
+				this.query.ordNo = '',
363
+				this.query.fkcustmerName = ''
364
+			},
349 365
 			showDistribution() {
350 366
 				//console.log(this.selectRows.length)
351 367
 				if (this.selectRows.length < 1) {

Завантаження…
Відмінити
Зберегти