kongdeqiang
2023-03-14 a0654f2c21511a0e16b977427a563a3ccdfd1fba
src/views/your/sign-manage/signManage.vue
@@ -34,12 +34,12 @@
      <!-- 日签收率的表 -->
      <div v-show="switchnum === 1">
        <Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom"
          :span-method="handleSpan" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
          :span-method="handleSpan" @on-sort-change="changeSort" @on-selection-change="changeSelect" height="600"></Table>
      </div>
      <!-- 月签收率的表 -->
      <div v-show="switchnum === 2">
        <Table :loading="loading" border :columns="columnsMonth" :data="monthData" sortable="custom"
          :span-method="handleSpan" @on-sort-change="changeSort" @on-selection-change="changeSelect">
          :span-method="handleSpan" @on-sort-change="changeSort" @on-selection-change="changeSelect" height="600">
        </Table>
      </div>
      <div v-show="switchnum === 1">
@@ -303,12 +303,12 @@
          width: 100,
          align: "center",
        },
        {
          title: "年月",
          key: "sendMonth",
          minWidth: 120,
          align: "center",
        },
        // {
        //   title: "年月",
        //   key: "sendMonth",
        //   minWidth: 120,
        //   align: "center",
        // },
        {
          title: "01段",
          // key: "oneBatch",
@@ -546,37 +546,37 @@
        {
          title: "车牌号",
          key: "carName",
          width: 120,
          width: 140,
          align: "center",
        },
        {
          title: "司机",
          key: "userName",
          width: 100,
          width: 140,
          align: "center",
        },
        {
          title: "配送员",
          key: "name",
          width: 100,
          align: "center",
        },
        {
          title: "年月",
          key: "sendMonth",
          minWidth: 120,
          align: "center",
        },
        // {
        //   title: "配送员",
        //   key: "name",
        //   width: 100,
        //   align: "center",
        // },
        // {
        //   title: "年月",
        //   key: "sendMonth",
        //   minWidth: 120,
        //   align: "center",
        // },
        {
          title: "01段",
          minWidth: 140,
          width: 140,
          align: "center",
          children: [
            {
              title: '月份',
              align: 'center',
              key: 'sendDate',
              minWidth: 120,
              width: 120,
              className: 'no_border',
              render: (h, params) => {
                console.log(params.row.childone);
@@ -596,7 +596,7 @@
              title: '月签收率',
              align: 'center',
              key: 'proportion',
              minWidth: 120,
              width: 120,
              className: 'no_border Sign',
              render: (h, params) => {
                return h("div", [
@@ -622,7 +622,7 @@
              title: '月份',
              align: 'center',
              key: 'model',
              minWidth: 120,
              width: 120,
              className: 'no_border',
              render: (h, params) => {
                return h("div", [
@@ -640,7 +640,7 @@
              title: '月签收率',
              align: 'center',
              // key: 'proportion',
              minWidth: 120,
              width: 120,
              className: 'no_border Sign',
              render: (h, params) => {
                return h("div", [
@@ -666,7 +666,7 @@
              title: '月份',
              align: 'center',
              key: 'model',
              minWidth: 120,
              width: 120,
              className: 'no_border',
              render: (h, params) => {
                return h("div", [
@@ -684,7 +684,7 @@
              title: '月签收率',
              align: 'center',
              // key: 'model',
              minWidth: 120,
              width: 120,
              className: 'no_border Sign',
              render: (h, params) => {
                return h("div", [
@@ -711,7 +711,7 @@
              title: '月份',
              align: 'center',
              key: 'model',
              minWidth: 120,
              width: 120,
              className: 'no_border',
              render: (h, params) => {
                return h("div", [
@@ -729,7 +729,7 @@
              title: '月签收率',
              align: 'center',
              // key: 'model',
              minWidth: 120,
              width: 120,
              className: 'no_border Sign',
              render: (h, params) => {
                return h("div", [
@@ -755,7 +755,7 @@
              title: '月份',
              align: 'center',
              key: 'model',
              minWidth: 120,
              width: 120,
              className: 'no_border',
              render: (h, params) => {
                return h("div", [
@@ -773,7 +773,7 @@
              title: '月签收率',
              align: 'center',
              // key: 'model',
              minWidth: 120,
              width: 120,
              className: 'no_border Sign',
              render: (h, params) => {
                return h("div", [
@@ -945,7 +945,7 @@
      //  页码
      pageNum: 1,
      // 每页条数
      pageSize: 18,
      pageSize: 36,
      // 车牌号
      carNo: "",
      // 开始日期
@@ -1735,4 +1735,4 @@
    this.init();
  },
};
</script>
</script>