|
@@ -213,8 +213,8 @@ class InvoiceItem extends Base{
|
|
|
$listValid = Validate::rule([
|
|
|
"itemId|发票明细ID"=>'require|number|gt:0',
|
|
|
'code|订单编码' => 'require|max:20',
|
|
|
- 'num|数量' => 'float|gt:0',
|
|
|
- 'good_price|商品价格' => 'float|gt:0',
|
|
|
+ 'num|数量' => 'float|egt:0',
|
|
|
+ 'good_price|商品价格' => 'float|egt:0',
|
|
|
'total_amount|总金额' => 'require|float|gt:0',
|
|
|
'remark|备注' =>'max:255',
|
|
|
]);
|