1. 处方详情

This commit is contained in:
李琦
2026-06-01 14:14:02 +08:00
parent 9a95c14554
commit 6a8c4dcdf6
2 changed files with 13 additions and 5 deletions

View File

@@ -18,8 +18,9 @@ class ProductOrderItems extends \common\core\BaseActiveRecord
public function rules()
{
return [
[['product_order_id', 'drug_id'], 'integer'],
[['drug_image', 'drug_name', 'small_info', 'created_at', 'updated_at'], 'string'],
[['product_order_id', 'drug_id', 'dosage', 'number', 'type'], 'integer'],
[['buy_price', 'price'], 'number'],
[['drug_image', 'drug_name', 'small_info', 'drug_no', 'function', 'created_at', 'updated_at'], 'string'],
];
}