wugg 1 year ago
parent
commit
7d2e10f7ee
2 changed files with 4 additions and 2 deletions
  1. 1 1
      app/command/CopySupplier.php
  2. 3 1
      app/command/Report.php

+ 1 - 1
app/command/CopySupplier.php

@@ -55,7 +55,7 @@ class CopySupplier extends Command
 	           "bank_name"=>$supplier['inv_bank'],
 	           "bankNo"=>$supplier['inv_bankNo'],
 	           "contector"=>$supplier['contactor'],
-	           "mobile"=>$supplier['invoice_mobile'],
+	           "mobile"=>$supplier['mobile']??$supplier['invoice_mobile'],
 	           "company_img"=>$supplier['license_img'],
 	           "input_ticket"=>0,
 	           "out_ticket"=>0,

+ 3 - 1
app/command/Report.php

@@ -997,7 +997,9 @@ class Report extends Command
 			d.total_fee-d.th_fee 采购金额,
 			d.good_creater`商品创建人`,
 			d.addtime`采购单时间`,
-			d.cgd_apply_name`竞单人`
+			d.cgd_apply_name`源头竞单人`,
+			d.cgd_supplier_name`源头供应商`,
+			d.supplier_origin_price `源头采购成本`
 		")
 		->where($where)
 		->cursor();