Commit 44a2d191 by 杨树贤

银行资料修改不需要审核

parent 151b0a48
......@@ -79,12 +79,12 @@ class SupplierReceiptApiController extends Controller
//如果修改的只是备注,则不需要转成审核
$needAudit = $this->checkNeedAudit($oldReceipt, $newReceipt);
if ($needAudit || empty($request->get('receipt_id'))) {
$supplierModel = new SupplierChannelModel();
// $supplierModel = new SupplierChannelModel();
//修改供应商为审核状态
$supplierModel->where('supplier_id', $supplierId)->update([
'update_time' => time(),
'status' => SupplierChannelModel::STATUS_PENDING,
]);
// $supplierModel->where('supplier_id', $supplierId)->update([
// 'update_time' => time(),
// 'status' => SupplierChannelModel::STATUS_PENDING,
// ]);
}
$logService = new LogService();
......
......@@ -11,10 +11,5 @@ use App\Model\SupplierContactModel;
class SupplierReceiptService
{
public static function addReceiptFromAddPage($supplierId, $receiptData)
{
$receiptData['supplier_id'] = $supplierId;
//判断银行信息是否有,没有的话不用新增
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment