|
@@ -6,8 +6,8 @@
|
6
|
6
|
<el-option v-for="item in options" :key="item.id" :label="item.name" :value="item.id">
|
7
|
7
|
</el-option>
|
8
|
8
|
</el-select>
|
9
|
|
- <el-select v-model="query.earId" size="small" style="margin-left: 10px" clearable placeholder="请选择区域" @change="change">
|
10
|
|
- <el-option v-for="item in options" :key="item.id" :label="item.name" :value="item.id">
|
|
9
|
+ <el-select v-model="query.earId" size="small" style="width: 100px; margin-left: 10px" clearable placeholder="请选择区域" @change="changeArea">
|
|
10
|
+ <el-option v-for="item in optionsArea" :key="item.id" :label="item.name" :value="item.code">
|
11
|
11
|
</el-option>
|
12
|
12
|
</el-select>
|
13
|
13
|
<el-input v-model="query.stackId" size="small" placeholder="垛位" style="width: 100px;"></el-input>
|
|
@@ -30,7 +30,7 @@
|
30
|
30
|
|
31
|
31
|
<el-row>
|
32
|
32
|
<el-col :span="showStoreLayerSpanA">
|
33
|
|
- <div id="wareLayout" style=" margin:10px;width:600px; height: 300px;background-color: #DCDCDC; float:left;"></div>
|
|
33
|
+ <div id="wareLayout" style=" margin:10px;width:1000px; height: 650px;background-color: #DCDCDC; float:left;"></div>
|
34
|
34
|
<el-table :data="tableData" v-loading="tableDataLoading" border ref="multipleTable" @select="handleTableSelect"
|
35
|
35
|
:row-class-name="tableRowClassName" @select-all = "selectAll">
|
36
|
36
|
<!-- //@selection-change="handleTableSelectionChange" -->
|
|
@@ -102,6 +102,9 @@
|
102
|
102
|
<el-row style=" margin:10px;">
|
103
|
103
|
<el-button type="primary" size="small" @click="handleMove">转移</el-button>
|
104
|
104
|
</el-row>
|
|
105
|
+ <el-row style=" margin:10px;">
|
|
106
|
+ <el-button type="primary" size="small" @click="handleAllDown">落层</el-button>
|
|
107
|
+ </el-row>
|
105
|
108
|
<el-row style=" margin:10px;">
|
106
|
109
|
<el-button type="primary" size="small" @click="handleSplit">拆分</el-button>
|
107
|
110
|
</el-row>
|
|
@@ -114,43 +117,6 @@
|
114
|
117
|
</el-col>
|
115
|
118
|
</el-row>
|
116
|
119
|
|
117
|
|
- <!--
|
118
|
|
- <el-table :data="tableData" border ref="multipleTable" @select="handleTableSelect">
|
119
|
|
-
|
120
|
|
- <el-table-column type="selection" width="40" header-align="center" align="center"></el-table-column>
|
121
|
|
- <el-table-column prop="layer" label="层数" width="60" show-overflow-tooltip header-align="center" align="center">
|
122
|
|
- </el-table-column>
|
123
|
|
- <el-table-column prop="stackName" label="垛位" width="60" show-overflow-tooltip header-align="center" align="center">
|
124
|
|
- </el-table-column>
|
125
|
|
- <el-table-column prop="materialName" label="物料" width="100" show-overflow-tooltip header-align="center" align="center">
|
126
|
|
- </el-table-column>
|
127
|
|
-
|
128
|
|
- <el-table-column prop="standard" label="钢种" width="100" show-overflow-tooltip header-align="center" align="center">
|
129
|
|
- </el-table-column>
|
130
|
|
- <el-table-column prop="plateNo" label="钢板号" width="200" show-overflow-tooltip header-align="center">
|
131
|
|
- </el-table-column>
|
132
|
|
- <el-table-column prop="model" label="规格型号" width="120" show-overflow-tooltip header-align="center" align="center">
|
133
|
|
- </el-table-column>
|
134
|
|
- <el-table-column prop="count" label="数量" width="120" show-overflow-tooltip align="right" header-align="center">
|
135
|
|
- </el-table-column>
|
136
|
|
- <el-table-column prop="weight" label="重量" width="120" show-overflow-tooltip align="right" header-align="center">
|
137
|
|
- </el-table-column>
|
138
|
|
- <el-table-column prop="customerName" label="客户" width="300" show-overflow-tooltip header-align="center">
|
139
|
|
- </el-table-column>
|
140
|
|
- <el-table-column prop="receiveAddress" label="收货地址" width="300" show-overflow-tooltip header-align="center">
|
141
|
|
- </el-table-column>
|
142
|
|
- <el-table-column prop="remark" label="备注" width="150" show-overflow-tooltip header-align="center">
|
143
|
|
- </el-table-column>
|
144
|
|
- <el-table-column prop="addTime" label="入库时间" width="200" show-overflow-tooltip header-align="center">
|
145
|
|
- </el-table-column>
|
146
|
|
- </el-table> -->
|
147
|
|
-
|
148
|
|
- <!-- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
|
149
|
|
- :page-sizes="pageSizes" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="totalRows">
|
150
|
|
- </el-pagination>
|
151
|
|
-
|
152
|
|
- -->
|
153
|
|
-
|
154
|
120
|
<el-dialog title="客户明细" :visible.sync="splitDialogVisible" width="500px">
|
155
|
121
|
<el-form :model="split" label-width="100px">
|
156
|
122
|
<el-form-item label="原始数量">
|
|
@@ -172,9 +138,9 @@
|
172
|
138
|
<el-form-item label="剩余重量">
|
173
|
139
|
<el-input v-model="splitWeight" disabled></el-input>
|
174
|
140
|
</el-form-item>
|
175
|
|
-
|
176
|
|
- <el-button type="success" @click="handleSplitSave">保存</el-button>
|
177
|
|
- <el-button @click="handleSplitCancelSave">取消</el-button>
|
|
141
|
+ <el-form-item>
|
|
142
|
+ <el-button type="success" @click="handleSplitSave">保存</el-button>
|
|
143
|
+ <el-button @click="handleSplitCancelSave">取消</el-button>
|
178
|
144
|
</el-form-item>
|
179
|
145
|
</el-form>
|
180
|
146
|
|
|
@@ -205,36 +171,42 @@
|
205
|
171
|
</el-table-column>
|
206
|
172
|
<el-table-column prop="层号" label="层号" width="60" show-overflow-tooltip header-align="center">
|
207
|
173
|
</el-table-column>
|
208
|
|
- <el-table-column prop="订单号" label="订单号" width="200" show-overflow-tooltip header-align="center">
|
209
|
|
- </el-table-column>
|
210
|
|
- <el-table-column prop="物料类型" label="物料类型" width="120" show-overflow-tooltip align="center" header-align="center">
|
|
174
|
+ <el-table-column prop="品名" label="品名" width="120" show-overflow-tooltip align="center" header-align="center">
|
211
|
175
|
</el-table-column>
|
212
|
176
|
<el-table-column prop="钢种" label="钢种" width="120" show-overflow-tooltip align="center" header-align="center">
|
213
|
177
|
</el-table-column>
|
214
|
178
|
<el-table-column prop="产品编号" label="产品编号" width="200" show-overflow-tooltip header-align="center">
|
215
|
179
|
</el-table-column>
|
216
|
|
- <el-table-column prop="产品规格" label="产品规格" width="120" show-overflow-tooltip header-align="center">
|
|
180
|
+ <el-table-column prop="订单号" label="订单号" width="200" show-overflow-tooltip header-align="center">
|
217
|
181
|
</el-table-column>
|
218
|
|
- <el-table-column prop="数量" label="数量" width="120" show-overflow-tooltip align="right" header-align="center">
|
|
182
|
+ <el-table-column prop="规格型号" label="规格型号" width="120" show-overflow-tooltip header-align="center">
|
219
|
183
|
</el-table-column>
|
220
|
184
|
<el-table-column prop="重量" label="重量" width="120" show-overflow-tooltip align="right" header-align="center">
|
221
|
185
|
</el-table-column>
|
222
|
|
- <el-table-column prop="客户名称" label="客户名称" width="300" show-overflow-tooltip header-align="center">
|
|
186
|
+ <el-table-column prop="数量" label="数量" width="120" show-overflow-tooltip align="right" header-align="center">
|
223
|
187
|
</el-table-column>
|
224
|
|
- <el-table-column prop="计量方式" label="计量方式" width="100" show-overflow-tooltip header-align="center">
|
|
188
|
+ <el-table-column prop="合约号" label="合约号" width="120" show-overflow-tooltip align="right" header-align="center">
|
225
|
189
|
</el-table-column>
|
226
|
|
- <el-table-column prop="切边类型" label="切边类型" width="100" show-overflow-tooltip header-align="center">
|
|
190
|
+ <el-table-column prop="入库车号" label="入库车号" width="150" show-overflow-tooltip header-align="center">
|
227
|
191
|
</el-table-column>
|
228
|
|
- <el-table-column prop="车号" label="车号" width="150" show-overflow-tooltip header-align="center">
|
|
192
|
+ <el-table-column prop="货权单位" label="货权单位" width="300" show-overflow-tooltip header-align="center">
|
229
|
193
|
</el-table-column>
|
230
|
|
- <el-table-column prop="产地" label="产地" width="250" show-overflow-tooltip header-align="center">
|
|
194
|
+ <el-table-column prop="客户名称" label="客户名称" width="300" show-overflow-tooltip header-align="center">
|
231
|
195
|
</el-table-column>
|
232
|
|
- <el-table-column prop="入库理货人员" label="入库理货人员" width="250" show-overflow-tooltip header-align="center">
|
|
196
|
+ <el-table-column prop="收货地址" label="收货地址" width="100" show-overflow-tooltip header-align="center">
|
233
|
197
|
</el-table-column>
|
234
|
|
- <el-table-column prop="付款单位" label="付款单位" width="300" show-overflow-tooltip header-align="center">
|
|
198
|
+ <el-table-column prop="产地" label="产地" width="100" show-overflow-tooltip header-align="center">
|
235
|
199
|
</el-table-column>
|
|
200
|
+ <el-table-column prop="捆包号" label="捆包号" width="250" show-overflow-tooltip header-align="center">
|
|
201
|
+ </el-table-column>
|
236
|
202
|
<el-table-column prop="备注" label="备注" width="150" show-overflow-tooltip header-align="center">
|
237
|
203
|
</el-table-column>
|
|
204
|
+ <el-table-column prop="入库操作人员" label="入库操作人员" width="150" show-overflow-tooltip header-align="center">
|
|
205
|
+ </el-table-column>
|
|
206
|
+ <el-table-column prop="吊装工" label="吊装工" width="150" show-overflow-tooltip header-align="center">
|
|
207
|
+ </el-table-column>
|
|
208
|
+ <el-table-column prop="计量方式" label="计量方式" width="150" show-overflow-tooltip header-align="center">
|
|
209
|
+ </el-table-column>
|
238
|
210
|
</el-table>
|
239
|
211
|
|
240
|
212
|
</el-dialog>
|
|
@@ -382,6 +354,7 @@
|
382
|
354
|
backAble:false,
|
383
|
355
|
inAble:false,
|
384
|
356
|
imptAble:false,
|
|
357
|
+ optionsArea:[],
|
385
|
358
|
}
|
386
|
359
|
|
387
|
360
|
},
|
|
@@ -398,10 +371,27 @@
|
398
|
371
|
if (response.data.data.length == 1) {
|
399
|
372
|
this.query.wareId = response.data.data[0].id
|
400
|
373
|
this.getAllStackByWareId(this.query.wareId)
|
|
374
|
+ this.getArea()
|
401
|
375
|
}
|
402
|
376
|
});
|
403
|
377
|
},
|
|
378
|
+ getArea() {
|
|
379
|
+ var url = 'MaintArea/queryAll.do'
|
|
380
|
+ var param = {
|
|
381
|
+ wareId: this.query.wareId
|
|
382
|
+ }
|
|
383
|
+ axios.get(url, param).then(response => {
|
|
384
|
+ this.optionsArea = response.data.data
|
|
385
|
+ });
|
|
386
|
+ },
|
404
|
387
|
change(val) {
|
|
388
|
+ this.query.earId = ""
|
|
389
|
+ if (val != '') {
|
|
390
|
+ this.getAllStackByWareId(val)
|
|
391
|
+ }
|
|
392
|
+ this.getArea()
|
|
393
|
+ },
|
|
394
|
+ changeArea(val) {
|
405
|
395
|
if (val != '') {
|
406
|
396
|
this.getAllStackByWareId(val)
|
407
|
397
|
}
|
|
@@ -409,7 +399,8 @@
|
409
|
399
|
getAllStackByWareId() {
|
410
|
400
|
var url = 'MaintStack/queryByWareId.do'
|
411
|
401
|
var param = {
|
412
|
|
- wareId: this.query.wareId
|
|
402
|
+ wareId: this.query.wareId,
|
|
403
|
+ areaId: this.query.earId
|
413
|
404
|
}
|
414
|
405
|
axios.get(url, param).then(response => {
|
415
|
406
|
if (response.data.code == 0) {
|
|
@@ -885,6 +876,23 @@
|
885
|
876
|
});
|
886
|
877
|
|
887
|
878
|
},
|
|
879
|
+ handleAllDown(){
|
|
880
|
+ var url = 'WareMove/allDown.do'
|
|
881
|
+ var param = {
|
|
882
|
+ wareId: this.query.wareId,
|
|
883
|
+ stackId: this.moveFromStack.id
|
|
884
|
+ }
|
|
885
|
+ axios.post(url, param).then(response => {
|
|
886
|
+ if (response.data.code == 0) {
|
|
887
|
+ this.getStoreByStackId()
|
|
888
|
+ } else {
|
|
889
|
+ this.$message({
|
|
890
|
+ type: 'error',
|
|
891
|
+ message: '操作失败;' + response.data.msg,
|
|
892
|
+ });
|
|
893
|
+ }
|
|
894
|
+ });
|
|
895
|
+ },
|
888
|
896
|
|
889
|
897
|
handleMove() {
|
890
|
898
|
|
|
@@ -1435,7 +1443,11 @@
|
1435
|
1443
|
.el-table .warning-row {
|
1436
|
1444
|
background: #F08080;
|
1437
|
1445
|
}
|
1438
|
|
- /*#store{
|
1439
|
|
- zoom:1;
|
1440
|
|
- }*/
|
|
1446
|
+ .el-select-dropdown .el-scrollbar .el-scrollbar__wrap
|
|
1447
|
+ {
|
|
1448
|
+ overflow: scroll!important;
|
|
1449
|
+ }
|
|
1450
|
+ .el-upload-list__item-name{
|
|
1451
|
+ background-color: #9f9;
|
|
1452
|
+ }
|
1441
|
1453
|
</style>
|