|
@@ -31,6 +31,14 @@
|
|
|
<div class="title">出库人</div>
|
|
|
<div class="nr">{{ item.updaterName||'' }}</div>
|
|
|
</div>
|
|
|
+ <div class="pre">
|
|
|
+ <div class="title">领料人</div>
|
|
|
+ <div class="nr">{{ item.collector||'' }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="pre bfb">
|
|
|
+ <div class="title">出库日期</div>
|
|
|
+ <div class="nr">{{ item.shipmentDate||'' }}</div>
|
|
|
+ </div>
|
|
|
<div class="pre bfb">
|
|
|
<div class="title">时间</div>
|
|
|
<div class="nr">{{ item.updateDate||'' }}</div>
|
|
@@ -93,9 +101,9 @@
|
|
|
dataList:[],
|
|
|
}
|
|
|
},
|
|
|
- onLoad() {
|
|
|
- this.getSeceiptStatus();
|
|
|
- this.getSeceiptType();
|
|
|
+ async onLoad() {
|
|
|
+ await this.getSeceiptStatus();
|
|
|
+ await this.getSeceiptType();
|
|
|
this.getDataList();
|
|
|
},
|
|
|
onReachBottom() {
|
|
@@ -111,16 +119,15 @@
|
|
|
this.isLoading = false;
|
|
|
this.getDataList();
|
|
|
},
|
|
|
- getSeceiptStatus(){
|
|
|
- this.$api.get('/sys/dict/data/getListByType/wms_shipment_status').then(res=>{
|
|
|
- if(res.data.code===0){
|
|
|
- this.typeList = res.data.data;
|
|
|
- res.data.data.forEach(d=>{
|
|
|
- this.receiptStatus[d.dictValue] = d.dictLabel;
|
|
|
- })
|
|
|
- this.typeList.unshift({dictValue:'',dictLabel:'全部'})
|
|
|
- }else this.$showToast(res.data.msg)
|
|
|
- });
|
|
|
+ async getSeceiptStatus(){
|
|
|
+ let res = await this.$api.get('/sys/dict/data/getListByType/wms_shipment_status');
|
|
|
+ if(res.data.code===0){
|
|
|
+ this.typeList = res.data.data;
|
|
|
+ res.data.data.forEach(d=>{
|
|
|
+ this.receiptStatus[d.dictValue] = d.dictLabel;
|
|
|
+ })
|
|
|
+ this.typeList.unshift({dictValue:'',dictLabel:'全部'})
|
|
|
+ }else this.$showToast(res.data.msg)
|
|
|
},
|
|
|
async getSeceiptType(){
|
|
|
let res = await this.$api.get('/sys/dict/data/getListByType/wms_shipment_type');
|