调整下单计算价格
parent
4601a0d805
commit
fd4af071ce
|
|
@ -87,8 +87,8 @@ class DealerProductLvlRule extends Form implements LazyRenderable
|
||||||
5 => '二级经销商',
|
5 => '二级经销商',
|
||||||
6 => '一级经销商',
|
6 => '一级经销商',
|
||||||
]);
|
]);
|
||||||
$form->currency('sale_price', '等级进货单价')->symbol('¥');
|
$form->currency('sale_price', '等级进货单价')->min(1)->symbol('¥');
|
||||||
$form->currency('min_order_amount', '等级单次最低进货价')->symbol('¥');
|
$form->currency('min_order_amount', '等级单次最低进货价')->min(1)->symbol('¥');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -85,9 +85,9 @@ class DealerProductManageRule extends Form implements LazyRenderable
|
||||||
5 => '二级经销商',
|
5 => '二级经销商',
|
||||||
6 => '一级经销商',
|
6 => '一级经销商',
|
||||||
]);
|
]);
|
||||||
$form->currency('price_1st', '价格1')->symbol('¥')->required();
|
$form->currency('price_1st', '价格1')->min(1)->symbol('¥')->required();
|
||||||
$form->currency('price_2st', '价格2')->symbol('¥')->required();
|
$form->currency('price_2st', '价格2')->min(1)->symbol('¥')->required();
|
||||||
$form->currency('price_3st', '价格3')->symbol('¥')->required();
|
$form->currency('price_3st', '价格3')->min(1)->symbol('¥')->required();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ class DealerProductSaleRule extends Form implements LazyRenderable
|
||||||
{
|
{
|
||||||
$this->hasMany('saleRules', '销售规则', function (NestedForm $form) {
|
$this->hasMany('saleRules', '销售规则', function (NestedForm $form) {
|
||||||
$form->number('qty', '达到数量')->min(0);
|
$form->number('qty', '达到数量')->min(0);
|
||||||
$form->currency('price', '进货单价')->symbol('¥');
|
$form->currency('price', '进货单价')->min(1)->symbol('¥');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue