Browse Source

app 欠款管理

shish 4 years ago
parent
commit
b18f0b23ca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app-ghs/controllers/OrderController.php

+ 1 - 0
app-ghs/controllers/OrderController.php

@@ -364,6 +364,7 @@ class OrderController extends BaseController
         $post['sendCost'] = $post['sendCost'] ?? '0.00';
         $post['sendCost'] = $post['sendCost'] ?? '0.00';
 
 
         $hasPay = $post['hasPay'] ?? dict::getDict('hasPay', 'unPay');
         $hasPay = $post['hasPay'] ?? dict::getDict('hasPay', 'unPay');
+        $post['debt'] = OrderClass::DEBT_NO;
         if ($hasPay == dict::getDict('hasPay', 'debt')) {
         if ($hasPay == dict::getDict('hasPay', 'debt')) {
             $post['debt'] = OrderClass::DEBT_YES;
             $post['debt'] = OrderClass::DEBT_YES;
         }
         }