浏览代码

销售单详情添加凭证字段

wufeng 2 年之前
父节点
当前提交
b100f6960e
共有 1 个文件被更改,包括 3 次插入0 次删除
  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['send_num']-=$einfo['th_num'];
         $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)) {
             return error_show(1002, "未找到销售订单数据");
         } else {