lilei hace 1 año
padre
commit
bbd452d166

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1711007227899
+  "version": 1711007783496
 }

+ 6 - 1
src/views/chainReportData/chainSalesDetailsCountReport/list.vue

@@ -100,7 +100,8 @@ export default {
       disabled: false, //  查询、重置按钮是否可操作
       exportLoading: false,
       columns: [
-        { title: '门店', dataIndex: 'salesTargetName', width: '16%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
+        { title: '门店', dataIndex: 'salesTargetName', width: '12%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         {
           title: '所有品牌',
           children: [
@@ -159,6 +160,10 @@ export default {
           let data
           if (res.status == 200) {
             data = res.data
+            const no = 0
+            for (var i = 0; i < data.length; i++) {
+              data[i].no = no + i + 1
+            }
             this.disabled = false
           }
           this.spinning = false

+ 6 - 1
src/views/chainReportData/chainSalesReturnDetailReport/list.vue

@@ -94,7 +94,8 @@ export default {
       disabled: false, //  查询、重置按钮是否可操作
       exportLoading: false,
       columns: [
-        { title: '门店', dataIndex: 'salesTargetName', width: '16%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
+        { title: '门店', dataIndex: 'salesTargetName', width: '12%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         {
           title: '所有品牌',
           children: [
@@ -153,6 +154,10 @@ export default {
           let data
           if (res.status == 200) {
             data = res.data
+            const no = 0
+            for (var i = 0; i < data.length; i++) {
+              data[i].no = no + i + 1
+            }
             this.disabled = false
           }
           this.spinning = false