|
@@ -32,15 +32,15 @@
|
32
|
32
|
<el-button slot="append" icon="el-icon-search" @click="showCustomer"></el-button>
|
33
|
33
|
</el-input>
|
34
|
34
|
</el-form-item>
|
35
|
|
- <el-form-item label="规格型号" style="margin-left: -15px">
|
|
35
|
+ <el-form-item label="规格型号" style="margin-left: -35px">
|
36
|
36
|
<el-input v-model="query.model" size="small" style="width:120px;margin-left: -8px">
|
37
|
37
|
</el-input>
|
38
|
38
|
</el-form-item>
|
39
|
|
- <el-form-item label="钢板号" style="margin-left: -15px">
|
|
39
|
+ <el-form-item label="钢板号" style="margin-left: -35px">
|
40
|
40
|
<el-input v-model="query.plateNo" size="small" style="width:120px;margin-left: -8px">
|
41
|
41
|
</el-input>
|
42
|
42
|
</el-form-item>
|
43
|
|
- <el-form-item label="订单号" style="margin-left: -15px">
|
|
43
|
+ <el-form-item label="订单号" style="margin-left: -35px">
|
44
|
44
|
<el-input v-model="query.ordNo" size="small" style="width:120px;margin-left: -8px">
|
45
|
45
|
</el-input>
|
46
|
46
|
</el-form-item>
|
|
@@ -59,6 +59,14 @@
|
59
|
59
|
<el-button type="success" size="small" @click="handleExport" >导出记录</el-button>
|
60
|
60
|
<el-button type="primary" size="small" @click="showOut">出库</el-button>
|
61
|
61
|
<el-button type="danger" size="small" @click="handleInBack" :disabled="backAble">取消入库</el-button>
|
|
62
|
+ <el-form-item label="数量" style="margin-left: -15px">
|
|
63
|
+ <el-input v-model="sumCount" size="small" style="width:120px;margin-left: -8px">
|
|
64
|
+ </el-input>
|
|
65
|
+ </el-form-item>
|
|
66
|
+ <el-form-item label="重量" style="margin-left: -15px">
|
|
67
|
+ <el-input v-model="sumWeight" size="small" style="width:120px;margin-left: -8px">
|
|
68
|
+ </el-input>
|
|
69
|
+ </el-form-item>
|
62
|
70
|
</el-form-item>
|
63
|
71
|
<!-- <el-button type="primary" @click="showOut">出库</el-button> -->
|
64
|
72
|
<!-- <el-form-item label=" ">
|
|
@@ -257,6 +265,8 @@
|
257
|
265
|
fileTemp: [],
|
258
|
266
|
imTableData: [],
|
259
|
267
|
moveStore: {},
|
|
268
|
+ sumCount:'',
|
|
269
|
+ sumWeight:'',
|
260
|
270
|
};
|
261
|
271
|
},
|
262
|
272
|
mounted() {
|
|
@@ -317,6 +327,7 @@
|
317
|
327
|
window.open(this.serverName.substr(0, this.serverName.lastIndexOf('/', this.serverName.lastIndexOf('/') - 1)) +
|
318
|
328
|
'/import.xls')
|
319
|
329
|
},
|
|
330
|
+
|
320
|
331
|
showIn() {
|
321
|
332
|
// if (this.query.wareId == '') {
|
322
|
333
|
// this.$message({
|
|
@@ -432,6 +443,13 @@
|
432
|
443
|
},
|
433
|
444
|
handleSelectionChange(val) {
|
434
|
445
|
this.multipleSelection = val;
|
|
446
|
+ this.sumCount =0;
|
|
447
|
+ this.sumWeight=0;
|
|
448
|
+ for (var i = 0; i < this.multipleSelection.length; i++){
|
|
449
|
+ this.sumCount = parseInt(this.multipleSelection[i].count)+parseInt(this.sumCount);
|
|
450
|
+ this.sumWeight = parseFloat(this.multipleSelection[i].weight)+parseFloat(this.sumWeight);
|
|
451
|
+ }
|
|
452
|
+ this.sumWeight = this.sumWeight.toFixed(3);
|
435
|
453
|
},
|
436
|
454
|
showChangeCustomer() {
|
437
|
455
|
if (this.multipleSelection.length < 1) {
|