不限制状态可以收款
This commit is contained in:
parent
2cc5b11ede
commit
0cb86f4fbc
@ -143,10 +143,9 @@ class OrderService extends Service
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($attributes['extends']) && is_array($attributes['extends'])) {
|
if (!empty($attributes['extends']) && is_array($attributes['extends'])) {
|
||||||
$node->extends = array_merge($node->extends ?? [], $attributes['extends']);
|
$attributes['extends'] = array_merge($node->extends ?: [], $attributes['extends']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$this->orderRepository->setModel($node)->update($attributes);
|
$this->orderRepository->setModel($node)->update($attributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ export default {
|
|||||||
|
|
||||||
if (this.haveJurisdiction('update')) {
|
if (this.haveJurisdiction('update')) {
|
||||||
// 未收款 -> 已收款
|
// 未收款 -> 已收款
|
||||||
if (row.transaction_status === 0 && row.order_status !== 1) {
|
if (row.transaction_status === 0) {
|
||||||
html.push(h('Button', {
|
html.push(h('Button', {
|
||||||
props: {
|
props: {
|
||||||
type: 'success',
|
type: 'success',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user