diff --git a/app/admin/logic/purchase_product_offer/PurchaseProductOfferLogic.php b/app/admin/logic/purchase_product_offer/PurchaseProductOfferLogic.php
index 2bab8379..42e18dcb 100644
--- a/app/admin/logic/purchase_product_offer/PurchaseProductOfferLogic.php
+++ b/app/admin/logic/purchase_product_offer/PurchaseProductOfferLogic.php
@@ -173,7 +173,7 @@ class PurchaseProductOfferLogic extends BaseLogic
Db::commit();
$offer['store_name']=$product['store_name'];
$offer['unit_name']=$unit_name;
- $offer['buyer_name']=User::where('id',$offer['buyer_id'])->value('real_name');
+ $offer['buyer_name']=DeliveryService::where('uid',$offer['buyer_id'])->value('nickname');
if($offer['pay_type']==1){
$offer['pay_type_name']='赊账';
}elseif($offer['pay_type']==2){
diff --git a/app/api/lists/purchase_product_offer/PurchaseProductOfferListsTwo.php b/app/api/lists/purchase_product_offer/PurchaseProductOfferListsTwo.php
index 803664e3..3e9810f5 100644
--- a/app/api/lists/purchase_product_offer/PurchaseProductOfferListsTwo.php
+++ b/app/api/lists/purchase_product_offer/PurchaseProductOfferListsTwo.php
@@ -56,7 +56,7 @@ class PurchaseProductOfferListsTwo extends BaseApiDataLists implements ListsSear
$item->store_name=$find->store_name;
$item->unit_name=StoreProductUnit::where('id',$item->unit)->value('name');
$item->category_name=StoreCategory::where('id',$find->top_cate_id)->value('name');
- $item->buyer_name=User::where('id',$item['buyer_id'])->value('real_name');
+ $item->buyer_name=DeliveryService::where('uid',$item->buyer_id)->value('nickname');
})
->toArray();
diff --git a/app/common/service/workWechat/ProductOffer.php b/app/common/service/workWechat/ProductOffer.php
index 06305f96..cf2b8706 100644
--- a/app/common/service/workWechat/ProductOffer.php
+++ b/app/common/service/workWechat/ProductOffer.php
@@ -17,6 +17,7 @@ class ProductOffer
$num = $data['buyer_nums'];
$unit_name = $data['unit_name'];
$price = $data['price'];
+ $total_price = $data['total_price'];
$create_time = $data['create_time'];
$buyer_name = $data['buyer_name'];
$pay_type = $data['pay_type_name'];
@@ -26,7 +27,8 @@ class ProductOffer
>商品名称:$store_name
>数量/单位:$num/$unit_name
>采购人:$buyer_name
- >采购金额:$price
+ >采购单价:$price
+ >采购总价:$total_price
>采购时间:$create_time
>支付方式:$pay_type
[下载今日采购表格]($urls)"]];