|
@@ -520,7 +520,8 @@ export default {
|
|
|
}
|
|
|
this.optionTwo = await this.getColumnData(this.getColumnName(140.1), this.bulkCargoList);
|
|
|
this.key++
|
|
|
- this.getsalesTrend()
|
|
|
+ await this.getsalesTrend()
|
|
|
+ this.init()
|
|
|
if (this.roleName.indexOf('平台') !== -1 || this.roleName.indexOf('总调度') !== -1 || this.roleName.indexOf('分管调度') !== -1) {
|
|
|
for (let item of this.option.column) {
|
|
|
if (item.prop === 'extraAmountC') return
|
|
@@ -895,17 +896,14 @@ export default {
|
|
|
},
|
|
|
query(data) {
|
|
|
this.getsalesTrend(data)
|
|
|
- clearInterval(this.entrustTimer);
|
|
|
},
|
|
|
getsalesTrend(data = {status: 0, mold: 1}) {
|
|
|
this.mold = data.mold
|
|
|
this.status = data.status
|
|
|
- console.log(this.mold,this.status)
|
|
|
this.loading = true;
|
|
|
active(data).then(res => {
|
|
|
this.tableData = res.data.data
|
|
|
this.loading = false;
|
|
|
- this.init()
|
|
|
})
|
|
|
},
|
|
|
ToBreak(val) {
|