tangning 2 سال پیش
والد
کامیت
239485fed6
1فایلهای تغییر یافته به همراه8 افزوده شده و 1 حذف شده
  1. 8 1
      src/views/work/detail.vue

+ 8 - 1
src/views/work/detail.vue

@@ -395,6 +395,11 @@
           dataIndex: 'total',
           width: 140,
         },
+        {
+          title: '备注',
+          dataIndex: 'remark',
+          width: 140,
+        },
       ];
       async function getData() {
         const stepRes = await process({ repairId: repairId.value });
@@ -450,6 +455,7 @@
         butList.value = butListjh;
         let countItem = {
           id: 3,
+          remark: null,
           price: null,
           name: '',
           count: '合计(元)',
@@ -467,6 +473,7 @@
             price: price,
             id: ele.laborId,
             total: (price * ele.count).toFixed(2),
+            remark: ele.remark,
           });
         });
         dataSource = newdataSource;
@@ -477,7 +484,7 @@
           addItemList.unshift({
             id: 4,
             price: null,
-            name: '保内维修',
+            name: t(`routes.spares.warrantyType.${res.repairerVo.warrantyType}`),
             count: '',
             total: '-' + priceTotal.value,
           });