Browse Source

提现限制

Kirin 1 year ago
parent
commit
7533e4b911
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/company/Goods.php

+ 1 - 1
app/admin/controller/company/Goods.php

@@ -117,7 +117,7 @@ class Goods extends AuthController
         $f = [];
         $f[] = Form::hidden('bar_code', $bar_code);
         $f[] = Form::radio('type', '增减', 1)->setOptions([['value' => 1, 'label' => '增加'], ['value' => 2, 'label' => '减少']]);
-        $f[] = Form::number('in_stock', '数量', 0)->step(1)->min(1);
+        $f[] = Form::number('in_stock', '数量', 0)->step(0.001)->min(1);
         $f[] = Form::textarea('info', '增减缘由', 0)->rows(10);
         $form = Form::make_post_form('添加用户通知', $f, Url::buildUrl('save'));
         $this->assign(compact('form'));