|
@@ -44,7 +44,7 @@
|
44
|
44
|
</el-input>
|
45
|
45
|
</el-form-item>
|
46
|
46
|
<el-form-item label="钢板号" style="margin-left: -35px;">
|
47
|
|
- <el-input v-model="query.plateNo" size="small" style="width:120px;margin-left: -8px">
|
|
47
|
+ <el-input v-model="query.plateNo" size="small" style="width:120px;margin-left: -8px" @input="getPltList">
|
48
|
48
|
</el-input>
|
49
|
49
|
</el-form-item>
|
50
|
50
|
<el-form-item label="出库时间" style="margin-left: -35px">
|
|
@@ -58,7 +58,11 @@
|
58
|
58
|
</el-select>
|
59
|
59
|
</el-form-item>
|
60
|
60
|
<el-form-item label="订单号" style="margin-left: -25px">
|
61
|
|
- <el-input v-model="query.ordNo" size="small" style="width:120px;margin-left: -8px">
|
|
61
|
+ <el-input v-model="query.ordNo" size="small" style="width:120px;margin-left: -8px" @input="getOrdList">
|
|
62
|
+ </el-input>
|
|
63
|
+ </el-form-item>
|
|
64
|
+ <el-form-item label="垛位备注" style="margin-left: -25px">
|
|
65
|
+ <el-input v-model="query.remark1" size="small" style="width:120px;margin-left: -8px" @input="getOrdList">
|
62
|
66
|
</el-input>
|
63
|
67
|
</el-form-item>
|
64
|
68
|
<el-form-item label=" " style="margin-left: -60px">
|
|
@@ -67,6 +71,7 @@
|
67
|
71
|
<el-button @click="handleOutBack" type="danger" size="small" style="width:70px">取消出库</el-button>
|
68
|
72
|
<el-button @click="handleVerifyAcc" type="primary" size="small" style="width:70px">对账</el-button>
|
69
|
73
|
<el-button @click="handleModifyPrice" type="primary" size="small" >批量改价</el-button>
|
|
74
|
+ <el-button type="primary" size="small" @click="resetButton" :disabled="backAble">重置</el-button>
|
70
|
75
|
|
71
|
76
|
</el-form-item>
|
72
|
77
|
<el-form-item label="" >
|
|
@@ -77,9 +82,7 @@
|
77
|
82
|
<el-button type="success" @click="handleExport" style="margin-left: 2px" size="small">导出记录</el-button>
|
78
|
83
|
</el-upload>
|
79
|
84
|
</el-form-item>
|
80
|
|
- <el-form-item label="" >
|
81
|
|
- <el-button type="primary" size="small" @click="resetButton" :disabled="backAble">重置</el-button>
|
82
|
|
- </el-form-item>
|
|
85
|
+
|
83
|
86
|
</el-row>
|
84
|
87
|
</el-form>
|
85
|
88
|
</el-row>
|
|
@@ -144,6 +147,8 @@
|
144
|
147
|
</el-table-column>
|
145
|
148
|
<el-table-column prop="remark" label="备注" width="100px" show-overflow-tooltip align="left">
|
146
|
149
|
</el-table-column>
|
|
150
|
+ <el-table-column prop="remark1" label="垛位备注" width="100px" show-overflow-tooltip align="left">
|
|
151
|
+ </el-table-column>
|
147
|
152
|
<el-table-column prop="recordType" label="类型" width="100px" show-overflow-tooltip align="center" :formatter="typeFormatter">
|
148
|
153
|
</el-table-column>
|
149
|
154
|
<el-table-column prop="verifyAccountId" v-if="false" label="对账ID" width="100px" show-overflow-tooltip align="center" >
|
|
@@ -260,12 +265,13 @@
|
260
|
265
|
materialName: '',
|
261
|
266
|
standard: '',
|
262
|
267
|
customerName: '',
|
263
|
|
- plateNo: '',
|
|
268
|
+ plateNo: [],
|
264
|
269
|
RecordDate:[],
|
265
|
270
|
carNo:'',
|
266
|
271
|
tallyPeople:'',
|
267
|
|
- ordNo:'',
|
|
272
|
+ ordNo:[],
|
268
|
273
|
fkComponyName:'',
|
|
274
|
+ remark1:''
|
269
|
275
|
|
270
|
276
|
},
|
271
|
277
|
accData:{
|
|
@@ -279,7 +285,7 @@
|
279
|
285
|
|
280
|
286
|
currentPage: 1,
|
281
|
287
|
totalRows: 0,
|
282
|
|
- pageSizes: [50, 100, 200,500],
|
|
288
|
+ pageSizes: [50, 100, 200,500,1000],
|
283
|
289
|
pageSize: 50,
|
284
|
290
|
HideAndShow: 0,
|
285
|
291
|
optionsWare: [],
|
|
@@ -295,7 +301,8 @@
|
295
|
301
|
materialName: '',
|
296
|
302
|
standard: '',
|
297
|
303
|
customerName: '',
|
298
|
|
- plateNo: ''
|
|
304
|
+ plateNo: '',
|
|
305
|
+ remark1:'',
|
299
|
306
|
},
|
300
|
307
|
childUrl:'WareOutRecord/queryTotal.do',
|
301
|
308
|
time:"",
|
|
@@ -442,6 +449,22 @@
|
442
|
449
|
this.accData.accDate = new Date(now.getFullYear(), now.getMonth(), now.getDate());
|
443
|
450
|
this.popupVerifyAcc = true;
|
444
|
451
|
},
|
|
452
|
+ resetButton(){ //查询条件重置
|
|
453
|
+ this.query.wareName= '',
|
|
454
|
+ this.query.stackName= '',
|
|
455
|
+ this.query.model= '',
|
|
456
|
+ this.query.materialName= '',
|
|
457
|
+ this.query.standard= '',
|
|
458
|
+ this.query.customerName= '',
|
|
459
|
+ this.query.plateNo= [],
|
|
460
|
+ this.query.RecordDate=[],
|
|
461
|
+ this.query.carNo='',
|
|
462
|
+ this.query.tallyPeople='',
|
|
463
|
+ this.query.ordNo=[],
|
|
464
|
+ this.query.fkComponyName='',
|
|
465
|
+ this.query.remark1='';
|
|
466
|
+ this.setSearchTime()
|
|
467
|
+ },
|
445
|
468
|
numSub(num1, num2) {
|
446
|
469
|
var baseNum, baseNum1, baseNum2;
|
447
|
470
|
var precision;// 精度
|
|
@@ -507,21 +530,6 @@
|
507
|
530
|
this.currentPage = 1
|
508
|
531
|
this.getTableData()
|
509
|
532
|
},
|
510
|
|
- resetButton(){ //查询条件重置
|
511
|
|
- this.query.wareName = '',
|
512
|
|
- this.query.stackName = '',
|
513
|
|
- this.query.model = '',
|
514
|
|
- this.query.materialName = '',
|
515
|
|
- this.query.standard = '',
|
516
|
|
- this.query.customerName = '',
|
517
|
|
- this.query.plateNo = '',
|
518
|
|
- this.query.wareId = '',
|
519
|
|
- this.query.ordNo = '',
|
520
|
|
- this.query.fkcustmerName = '',
|
521
|
|
- this.query.carNo = '',
|
522
|
|
- this.query.tallyPeople = '',
|
523
|
|
- this.query.fkComponyName = ''
|
524
|
|
- },
|
525
|
533
|
showMaterial() {
|
526
|
534
|
this.$refs.PopupMaterial.show()
|
527
|
535
|
},
|
|
@@ -557,15 +565,18 @@
|
557
|
565
|
materialName: this.query.materialName,
|
558
|
566
|
standard: this.query.standard,
|
559
|
567
|
customerName: this.query.customerName,
|
560
|
|
- plateNo: this.query.plateNo,
|
|
568
|
+ plateNo: this.query.plateNo.length == 0 ? '' : this.query.plateNo.join(','),
|
561
|
569
|
pFromDate:(!this.query.RecordDate[0]) ? "1970-01-01 00:00:00" : this.query.RecordDate[0].Format("yyyy-MM-dd HH:mm:ss"), //date类型
|
562
|
570
|
pToDate :(!this.query.RecordDate[1]) ? new Date().Format("yyyy-MM-dd HH:mm:ss") :this.query.RecordDate[1].Format("yyyy-MM-dd HH:mm:ss"),
|
563
|
571
|
carNo:this.query.carNo,
|
564
|
572
|
tallyPeople:this.query.tallyPeople,
|
565
|
|
- ordNo :this.query.ordNo,
|
566
|
|
- fkComponyName:this.query.fkComponyName
|
|
573
|
+ ordNo: this.query.ordNo == 0 ? '' : this.query.ordNo.join(','),
|
|
574
|
+ fkComponyName:this.query.fkComponyName,
|
|
575
|
+ remark1 : this.query.remark1
|
567
|
576
|
}
|
568
|
577
|
this.childParam = param;
|
|
578
|
+ console.log(param);
|
|
579
|
+ console.log(this.childParam);
|
569
|
580
|
|
570
|
581
|
axios.get(url, param).then(response => {
|
571
|
582
|
if (response.data.code == 0) {
|
|
@@ -636,6 +647,14 @@
|
636
|
647
|
changeWare(){
|
637
|
648
|
//this.getTableData()
|
638
|
649
|
},
|
|
650
|
+ getPltList(){
|
|
651
|
+ const replaceResult = this.query.plateNo.replace(/[;,,;\s\r\n]+/g, ",").split(",");
|
|
652
|
+ this.query.plateNo = replaceResult;
|
|
653
|
+ },
|
|
654
|
+ getOrdList(){
|
|
655
|
+ const replaceResult = this.query.ordNo.replace(/[;,,;\s\r\n]+/g, ",").split(",");
|
|
656
|
+ this.query.ordNo = replaceResult;
|
|
657
|
+ },
|
639
|
658
|
handlePrintOut(){
|
640
|
659
|
if(this.selectRows.length > 1){
|
641
|
660
|
this.$message({
|
|
@@ -687,13 +706,14 @@
|
687
|
706
|
materialName: this.query.materialName,
|
688
|
707
|
standard: this.query.standard,
|
689
|
708
|
customerName: this.query.customerName,
|
690
|
|
- plateNo: this.query.plateNo,
|
|
709
|
+ plateNo: this.query.plateNo.length == 0 ? '' : this.query.plateNo.join(','),
|
691
|
710
|
pFromDate:(!this.query.RecordDate[0]) ? "1970-01-01 00:00:00" : this.query.RecordDate[0].Format("yyyy-MM-dd HH:mm:ss"), //date类型
|
692
|
711
|
pToDate :(!this.query.RecordDate[1]) ? new Date().Format("yyyy-MM-dd HH:mm:ss") :this.query.RecordDate[1].Format("yyyy-MM-dd HH:mm:ss"),
|
693
|
712
|
carNo:this.query.carNo,
|
694
|
713
|
tallyPeople:this.query.tallyPeople,
|
695
|
|
- ordNo :this.query.ordNo,
|
696
|
|
- fkComponyName:this.query.fkComponyName
|
|
714
|
+ ordNo: this.query.ordNo == 0 ? '' : this.query.ordNo.join(','),
|
|
715
|
+ fkComponyName:this.query.fkComponyName,
|
|
716
|
+ remark1:this.query.remark1
|
697
|
717
|
}
|
698
|
718
|
// alert(JSON.stringify(param))
|
699
|
719
|
|