|
@@ -3795,17 +3795,22 @@ export default {
|
|
}
|
|
}
|
|
)
|
|
)
|
|
.then(res => {
|
|
.then(res => {
|
|
|
|
+ debugger
|
|
this.tableData = res.data.data
|
|
this.tableData = res.data.data
|
|
- this.totalNumber = res.data.data[0].totalNumber
|
|
|
|
- this.totalCapacity = res.data.data[0].totalCapacity
|
|
|
|
- this.filterConsigneeList = res.data.data[0].filterConsigneeList
|
|
|
|
- this.filterCarrierList = res.data.data[0].filterCarrierList
|
|
|
|
- this.filterCapacityList = res.data.data[0].filterCapacityList
|
|
|
|
- this.filtermaterialNameList = res.data.data[0].filtermaterialNameList
|
|
|
|
- this.filterorderStatus = res.data.data[0].filterorderStatus
|
|
|
|
- this.filteraddressPlace = res.data.data[0].filteraddressPlace
|
|
|
|
- this.filtermaterialSpe = res.data.data[0].filtermaterialSpe
|
|
|
|
- this.filterSaleRemark = res.data.data[0].filterSaleRemark
|
|
|
|
|
|
+ if (res.data.data.length > 0) {
|
|
|
|
+ this.totalNumber = res.data.data[0].totalNumber
|
|
|
|
+ this.totalCapacity = res.data.data[0].totalCapacity
|
|
|
|
+ this.filterConsigneeList = res.data.data[0].filterConsigneeList
|
|
|
|
+ this.filterCarrierList = res.data.data[0].filterCarrierList
|
|
|
|
+ this.filterCapacityList = res.data.data[0].filterCapacityList
|
|
|
|
+ this.filtermaterialNameList =
|
|
|
|
+ res.data.data[0].filtermaterialNameList
|
|
|
|
+ this.filterorderStatus = res.data.data[0].filterorderStatus
|
|
|
|
+ this.filteraddressPlace = res.data.data[0].filteraddressPlace
|
|
|
|
+ this.filtermaterialSpe = res.data.data[0].filtermaterialSpe
|
|
|
|
+ this.filterSaleRemark = res.data.data[0].filterSaleRemark
|
|
|
|
+ }
|
|
|
|
+
|
|
// this.getNodeNum(this.tableData)
|
|
// this.getNodeNum(this.tableData)
|
|
if (
|
|
if (
|
|
getCookie('orgCode') == 'shouhuokehu' &&
|
|
getCookie('orgCode') == 'shouhuokehu' &&
|