|
@@ -282,10 +282,13 @@
|
|
|
console.log(this.common.commonWeighingList, "commonWeighingList")
|
|
|
let _list = this.common.commonWeighingList
|
|
|
for (let i = 0; i < _list.length; i++) {
|
|
|
+ if(_list[i].paymentManagement.status == '待结算'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
if (_list[i].status == '已质检' || _list[i].status == '已称毛重') {
|
|
|
this.mList.push(_list[i])
|
|
|
}
|
|
|
- // if(_list[i].paymentManagement.status == '待结算'){}
|
|
|
+
|
|
|
if ((_list[i].status == '已称皮重' || _list[i].status == '已称毛重')) {
|
|
|
this.pList.push(_list[i])
|
|
|
}
|
|
@@ -301,16 +304,16 @@
|
|
|
}
|
|
|
})
|
|
|
|
|
|
- this.setCurrent(_list[0])
|
|
|
+ this.setCurrent(_list)
|
|
|
|
|
|
this.carWeightInfo = {
|
|
|
- carNumber: _list[0].carNumber,
|
|
|
+ carNumber: _list.carNumber,
|
|
|
type: this.information,
|
|
|
weight: this.weighingList.grossWeight
|
|
|
}
|
|
|
this.deptBudgetTotal = this.mList.length
|
|
|
}
|
|
|
- this.weighingList = _list[0]
|
|
|
+ this.weighingList = _list
|
|
|
} else {
|
|
|
this.index = 1
|
|
|
this.carList = this.pList
|
|
@@ -320,16 +323,16 @@
|
|
|
return val1
|
|
|
}
|
|
|
})
|
|
|
- this.setCurrent(_item[0])
|
|
|
+ this.setCurrent(_item)
|
|
|
|
|
|
this.carWeightInfo = {
|
|
|
- carNumber: _item[0].carNumber,
|
|
|
+ carNumber: _item.carNumber,
|
|
|
type: this.information,
|
|
|
weight: this.weighingList.tare
|
|
|
}
|
|
|
this.deptBudgetTotal = this.pList.length
|
|
|
}
|
|
|
- this.weighingList = _item[0]
|
|
|
+ this.weighingList = _item
|
|
|
}
|
|
|
},
|
|
|
tabClick(val) {
|