Browse Source

销售单详情添加凭证字段

wufeng 2 years ago
parent
commit
b100f6960e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/admin/controller/Sale.php

+ 3 - 0
app/admin/controller/Sale.php

@@ -2168,6 +2168,9 @@ class Sale extends Base
         $einfo['good_num']-=$einfo['th_num'];
         $einfo['good_num']-=$einfo['th_num'];
         $einfo['send_num']-=$einfo['th_num'];
         $einfo['send_num']-=$einfo['th_num'];
         $einfo['total_price']=round($einfo['total_price']-$einfo['th_fee'],2);
         $einfo['total_price']=round($einfo['total_price']-$einfo['th_fee'],2);
+        $einfo['proof_type']=isset($goon['proof_type'])?$goon['proof_type']:'';
+        $einfo['proof_url']=isset($goon['proof_url'])?$goon['proof_url']:'';
+
         if (empty($einfo)) {
         if (empty($einfo)) {
             return error_show(1002, "未找到销售订单数据");
             return error_show(1002, "未找到销售订单数据");
         } else {
         } else {