Преглед изворни кода

feat(销售管理): 在客户管理列表和销售订单列表中添加推送状态列

liujt пре 6 месеци
родитељ
комит
e54f2e402f

+ 10 - 0
src/views/saleManage/contact/contactList.vue

@@ -316,6 +316,16 @@
             showOverflowTooltip: true,
             minWidth: 120
           },
+          {
+            prop: 'externalId',
+            label: '是否推送',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 120,
+            formatter: (_row, _column, cellValue) => {
+              return _row.externalId? '已推送' : '未推送';
+            }
+          },
           {
             prop: 'status',
             label: '状态',

+ 10 - 1
src/views/saleManage/contact/contactListAdmin.vue

@@ -394,7 +394,16 @@
               return _row.assignStatus === 1 ? '是' : '否';
             }
           },
-
+          {
+            prop: 'externalId',
+            label: '是否推送',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 120,
+            formatter: (_row, _column, cellValue) => {
+              return _row.externalId? '已推送' : '未推送';
+            }
+          },
           {
             prop: 'status',
             label: '状态',

+ 10 - 1
src/views/saleManage/contact/index.vue

@@ -423,7 +423,16 @@
             showOverflowTooltip: true,
             minWidth: 120
           },
-
+          {
+            prop: 'externalId',
+            label: '是否推送',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 120,
+            formatter: (_row, _column, cellValue) => {
+              return _row.externalId? '已推送' : '未推送';
+            }
+          },
           {
             prop: 'status',
             label: '状态',

+ 11 - 1
src/views/saleManage/saleOrder/index.vue

@@ -96,7 +96,7 @@
                 ></exportButton>
 
                 <el-button
-                  v-if="$hasPermission('eom:contact:push')"
+                  v-if="$hasPermission('eom:saleorder:push')"
                   size="small"
                   type="primary"
                   class="ele-btn-icon"
@@ -880,6 +880,16 @@ export default {
               : '';
           }
         },
+        {
+          prop: 'externalId',
+          label: '是否推送',
+          align: 'center',
+          showOverflowTooltip: true,
+          minWidth: 120,
+          formatter: (_row, _column, cellValue) => {
+            return _row.preOrderNo? '已推送' : '未推送';
+          }
+        },
         {
           prop: 'orderStatus',
           label: '审核状态',