订单录入bug
This commit is contained in:
parent
fefb300be4
commit
6dc5156074
|
|
@ -204,6 +204,7 @@ class Order extends Backend
|
|||
|
||||
public function add()
|
||||
{
|
||||
|
||||
if (false === $this->request->isPost()) {
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -278,14 +278,14 @@
|
|||
datas.push({
|
||||
label: `${prov.label} / ${city.label} / ${area.label}`,
|
||||
labels: [prov.label, city.label, area.label],
|
||||
value: [prov.value, city.value, area.value],
|
||||
value: [area.value],
|
||||
})
|
||||
})
|
||||
} else {
|
||||
datas.push({
|
||||
label: `${prov.label} / ${city.label}`,
|
||||
labels: [prov.label, city.label],
|
||||
value: [prov.value, city.value],
|
||||
value: [ city.value],
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
@ -318,6 +318,7 @@
|
|||
}).sort(function(a, b) {
|
||||
return b.num - a.num
|
||||
}).slice(0, 10)
|
||||
console.log(data);
|
||||
this.reload(data, true)
|
||||
}
|
||||
//关键词筛选数据(暂不用)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user