hrjy vor 3 Jahren
Ursprung
Commit
4ebf788ddf

+ 5 - 5
app/admin/view/water/water_query/details.php

@@ -14,9 +14,9 @@
                         <thead>
                         <tr>
 
-                            <th class="text-center">编号</th>
-                            <th class="text-center">标题</th>
+<!--                            <th class="text-center">编号</th>-->
                             <th class="text-center">名称</th>
+                            <th class="text-center">分类</th>
                             <th class="text-center">规格</th>
                             <th class="text-center">数量</th>
                             <th class="text-center">单价</th>
@@ -28,9 +28,9 @@
                         <tbody class="">
                         {volist name="list" id="vo"}
                         <tr>
-                            <td class="text-center">
-                                {$vo.id}
-                            </td>
+<!--                            <td class="text-center">-->
+<!--                                {$vo.id}-->
+<!--                            </td>-->
                             <td class="text-center">
                                 {$vo.title}
                             </td>

+ 1 - 1
app/admin/view/water/water_query/index.php

@@ -72,7 +72,7 @@
     <div class="layui-row layui-col-space15">
         <div class="layui-col-md12">
             <div class="layui-card">
-                <div class="layui-card-header">会员卡订单</div>
+                <div class="layui-card-header">查询记录</div>
                 <div class="layui-card-body">
 
                     <div class="layui-btn-container" id="container-action">

+ 2 - 1
app/api/controller/water/WaterQueryController.php

@@ -165,9 +165,10 @@ class WaterQueryController
             $details = WaterMaterialScience::where('cate_id', $data['lacing'][$lac_storey-1])->where($where)->find();
             $zj += $details['unit_price'] * $v;
             $zzl += $details['weight'] * $v;
-            $table[] = ['title' => '拉B'.$lac_storey.'层' , 'name' => $details['name'], 'specifications' => '1', 'number' => $v, 'unit_price' => $details['unit_price'], 'company' => $details['company'], 'ot_price' => $details['unit_price'] * $v, 'weight' => $details['weight'] * $v , 'type' => 3];
+            $table[] = ['title' => '拉B'.$lac_storey.'层' , 'name' => $details['name'], 'specifications' => '1', 'number' => $v, 'unit_price' => $details['unit_price'], 'company' => $details['company'], 'ot_price' => $details['unit_price'] * $v, 'weight' => $details['weight'] * $v , 'type' => 3];
         }
 
+        //辅拉
         $fula_storey = 0;
         foreach ($calculation['fula_number'] as $v){
             $fula_storey ++;