Explorar o código

feat(组件): 修改bug

tangning %!s(int64=2) %!d(string=hai) anos
pai
achega
6d2e0dfe71

+ 1 - 0
src/locales/lang/zh-CN/routes/product.ts

@@ -25,6 +25,7 @@ export default {
   },
   outType:{
     0:'正常销售',
+    4:'经销商销售',
     1:'员工自用',
     2:'礼品赠送',
     3:'其他',

+ 2 - 0
src/views/account/overview/AddModal.vue

@@ -63,6 +63,8 @@
             api: async function () {
               const res = await dincrementList();
               console.log('incrementTypeId',res)
+              return [{name:'专业',value:2},
+                      {name:'高级',value:3},]
               return res.map(ele => {
                 return {name:ele.name,value:ele.id}
               });

+ 1 - 0
src/views/customer/device.vue

@@ -107,6 +107,7 @@
           customRender: ({ record }) => {
             let typeObj ={
               '0':t('routes.product.outType.0'),
+              '4':t('routes.product.outType.4'),
               '1':t('routes.product.outType.1'),
               '2':t('routes.product.outType.2'),
               '3':t('routes.product.outType.3'),

+ 5 - 1
src/views/device/detailsMoadl.vue

@@ -71,7 +71,11 @@ export default defineComponent({
               label: t('routes.product.outType.0'),
               value: '0',
               key: '0',
-            },
+            },{
+                  label: t('routes.product.outType.4'),
+                  value: 4,
+                  key: '4',
+             },
             {
               label: t('routes.product.outType.1'),
               value: '1',

+ 5 - 0
src/views/device/index.vue

@@ -132,6 +132,7 @@
           customRender: ({ record }) => {
             let typeObj ={
               '0':t('routes.product.outType.0'),
+              '4':t('routes.product.outType.4'),
               '1':t('routes.product.outType.1'),
               '2':t('routes.product.outType.2'),
               '3':t('routes.product.outType.3'),
@@ -238,6 +239,10 @@
                   value: 0,
                   key: '0',
                 },{
+                  label: t('routes.product.outType.4'),
+                  value: 4,
+                  key: '4',
+                },{
                   label: t('routes.product.outType.1'),
                   value: 1,
                   key: '1',

+ 2 - 2
src/views/operate/caseList.vue

@@ -122,8 +122,8 @@ export default defineComponent({
       {
         title: '创建人',
         ellipsis: true,
-        dataIndex: 'creater',
-        width: 80,
+        dataIndex: 'sysUserName',
+        width: 120,
       },
       {
         title: '创建时间',

+ 1 - 1
src/views/statistics/components/orderEchart.vue

@@ -77,7 +77,7 @@
       },
       yAxis: {
         type: 'value',
-        max: maxSize.value,
+        // max: maxSize.value,
         splitNumber: 4,
       },
       series: [

+ 1 - 1
src/views/statistics/order/index.vue

@@ -75,7 +75,7 @@
         title: '上月配件订单数',
         icon: 'transaction|svg',
         value: preMonThPartCount,
-        unit: '',
+        unit: '',
         color: 'blue',
         action: '月',
       },