Răsfoiți Sursa

装集客项目更新

lijiangwei 4 ani în urmă
părinte
comite
4687f116e9
2 a modificat fișierele cu 16 adăugiri și 16 ștergeri
  1. 8 8
      uis/views/order/detail.html
  2. 8 8
      uis/views/order/index.html

+ 8 - 8
uis/views/order/detail.html

@@ -49,27 +49,27 @@
           <tbody>
             <tr>
               <td style="background: #f8f8f8; width: 70px">单号:</td>
-              <td>{{ d.no }}</td>
+              <td>{{ d.no || "" }}</td>
               <td style="background: #f8f8f8; width: 70px">下单时间:</td>
-              <td>{{ d.order_time }}</td>
+              <td>{{ d.order_time || "" }}</td>
             </tr>
             <tr>
               <td style="background: #f8f8f8; width: 70px">客户名称:</td>
-              <td>{{ d.name }}</td>
+              <td>{{ d.name || "" }}</td>
               <td style="background: #f8f8f8; width: 70px">客户电话:</td>
-              <td>{{ d.tel }}</td>
+              <td>{{ d.tel || "" }}</td>
             </tr>
             <tr>
               <td style="background: #f8f8f8; width: 70px">客户地址:</td>
-              <td>{{ d.address }}</td>
+              <td>{{ d.address || "" }}</td>
               <td style="background: #f8f8f8; width: 70px">当前进度:</td>
-              <td>{{ d.current_process }}</td>
+              <td>{{ d.current_process || "" }}</td>
             </tr>
             <tr>
               <td style="background: #f8f8f8; width: 70px">服务人员:</td>
-              <td>{{ d.current_user }}</td>
+              <td>{{ d.current_user || "" }}</td>
               <td style="background: #f8f8f8; width: 70px">备注:</td>
-              <td>{{ d.notes }}</td>
+              <td>{{ d.notes || "" }}</td>
             </tr>
           </tbody>
         </table>

+ 8 - 8
uis/views/order/index.html

@@ -129,18 +129,18 @@
 
         table.render({
             elem: '#order_datagrid'
-            , url: '/api/order.json'
+            , url: '/order/'
             , cols: [[
                 {field: 'no', title: '单号', width: 110}
-                , {field: 'order_time', title: "下单时间", width: 150}
                 , {field: 'name', title: '客户名称', width: 110}
                 , {field: 'tel', title: '客户电话', width: 120}
-                , {field: 'project', title: '项目', width: 120}
-                , {field: 'address', title: '客户地址', width: 200}
-                , {field: 'notes', title: '备注', width: 200}
-                , {field: 'current_process', title: '当前进度', width: 100}
-                , {field: 'update_time', title: '更新时间', width: 150}
-                , {field: 'current_user', title: '当前服务人员', width: 150}
+                , {field: 'address', title: '地址', width: 200}
+                , {field: 'village', title: '小区', width: 200}
+                , {field: 'project_text', title: '项目', width: 120}
+                , {field: 'stage_progress_text', title: '当前进度', width: 100}
+                , {field: 'service_user_text', title: '服务人员', width: 150}
+                , {field: 'create_time_f', title: "下单时间", width: 150}
+                , {field: 'status_text', title: "订单状态", width: 150}
                 , {width: 150, align: 'center', fixed: 'right', toolbar: '#order-operate-bar'}
             ]]
             , page: true