订单录入bug

This commit is contained in:
hant 2025-06-07 19:22:07 +08:00
parent fefb300be4
commit 6dc5156074
2 changed files with 4 additions and 2 deletions

View File

@ -204,6 +204,7 @@ class Order extends Backend
public function add()
{
if (false === $this->request->isPost()) {
return $this->view->fetch();
}

View File

@ -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)
}
//关键词筛选数据(暂不用)