采购单审批流程
This commit is contained in:
@@ -73,7 +73,8 @@ class ApprovalInstances extends Model
|
||||
|
||||
// ====== ====== ====== 映射业务表 ====== ====== ======
|
||||
protected const BIZ_CLASS = [
|
||||
'stock_orders' => \app\common\model\StockOrders::class
|
||||
'stock_orders' => \app\common\model\StockOrders::class,
|
||||
'purchase_orders' => \app\common\model\PurchaseOrders::class,
|
||||
];
|
||||
|
||||
public function getBizTypeAttribute($value)
|
||||
|
||||
@@ -44,7 +44,7 @@ class PurchaseOrders extends Model
|
||||
/**
|
||||
* 允许自动填充模型字段
|
||||
*/
|
||||
protected $fillable = ['id', 'po_no', 'pi_no', 'buyer_id', 'buyer_name', 'contract_file', 'status', 'remark', 'created_at', 'updated_at'];
|
||||
protected $fillable = ['id', 'order_no', 'pi_no', 'buyer_id', 'buyer_name', 'contract_file', 'status', 'remark', 'created_at', 'updated_at'];
|
||||
|
||||
/**
|
||||
* 不允许自动填充模型字段
|
||||
|
||||
Reference in New Issue
Block a user