修改批量审核动作
parent
a06a45cdee
commit
92f970b972
|
|
@ -16,7 +16,7 @@ class BatchSkuVerify extends BatchAction
|
||||||
public function title()
|
public function title()
|
||||||
{
|
{
|
||||||
if ($this->title) {
|
if ($this->title) {
|
||||||
return $this->title.' '.__('admin_message.extensions.grid.batch.sku_verify');
|
return ' '.$this->title.' '.__('admin_message.extensions.grid.batch.sku_verify');
|
||||||
}
|
}
|
||||||
|
|
||||||
return __('admin_message.extensions.grid.batch.sku_verify');
|
return __('admin_message.extensions.grid.batch.sku_verify');
|
||||||
|
|
@ -40,12 +40,12 @@ class BatchSkuVerify extends BatchAction
|
||||||
|
|
||||||
return Modal::make()
|
return Modal::make()
|
||||||
->lg()
|
->lg()
|
||||||
->title($this->title)
|
->title($this->title())
|
||||||
->body($form)
|
->body($form)
|
||||||
// 因为此处使用了表单异步加载功能,所以一定要用 onLoad 方法
|
// 因为此处使用了表单异步加载功能,所以一定要用 onLoad 方法
|
||||||
// 如果是非异步方式加载表单,则需要改成 onShow 方法
|
// 如果是非异步方式加载表单,则需要改成 onShow 方法
|
||||||
->onLoad($this->getModalScript())
|
->onLoad($this->getModalScript())
|
||||||
->button($this->title);
|
->button($this->title());
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getModalScript()
|
protected function getModalScript()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue