|
|
@@ -215,7 +215,7 @@ class U8ServerService extends Service
|
|
|
->leftJoin('ComputationUnit as c', 'c.cComunitCode', 'b.cComUnitCode')
|
|
|
->where('a.PID', $order['id'])
|
|
|
->select('a.cSource as source','a.cCoVouchID as source_order_number','b.cInvName as product_title','b.cInvStd as product_size','b.cCurrencyName as product_ty','c.cComUnitName as unit_title',DB::raw("LTRIM(STR(a.iApplyAmt_s, 20, 2)) as number"),
|
|
|
- DB::raw("LTRIM(STR(a.iApplyAmt_f, 20, 2)) as amount"))
|
|
|
+ DB::raw("LTRIM(STR(a.iApplyAmt_f, 20, 2)) as amount"),DB::raw("LTRIM(STR(a.iOriTaxCost, 20, 2)) as price"))
|
|
|
->get();
|
|
|
// 转为数组的数组
|
|
|
$detail = array_map(function ($item) {
|