supplementOrder.vue 19.2 KB
Newer Older
huhaiqing's avatar
huhaiqing committed
1 2 3 4 5 6 7
<template>
  <div class="supplementOrder">
    <el-card>
      <!-- 内容区 -->
      <el-row class="content-area">

        <!-- 左侧 -->
huhaiqing's avatar
huhaiqing committed
8
        <el-col :span="6" class="left-area">
huhaiqing's avatar
huhaiqing committed
9
          <el-row>
10 11
            <el-button type="primary" @click="addPart">{{$t('新增')}}</el-button>
            <el-button type="danger" @click="deletePart">{{$t('删除')}}</el-button>
huhaiqing's avatar
huhaiqing committed
12
          </el-row>
huhaiqing's avatar
huhaiqing committed
13
          <el-scrollbar style="height:calc(100% - 40px)">
huhaiqing's avatar
huhaiqing committed
14
            <el-row v-for="item in partList" :key="item.id" class="title-info" :class="item.id === partData.id ? 'selected' : ''">
huhaiqing's avatar
huhaiqing committed
15 16
              <div @click="partClick(item)">
                <p>{{item.title}}</p>
huhaiqing's avatar
huhaiqing committed
17
              </div>
huhaiqing's avatar
huhaiqing committed
18 19
              <el-collapse-transition>
                <div v-if="item.fold === false ? true : false">
huhaiqing's avatar
huhaiqing committed
20
                  <div v-for="(secGoog, index) in item.sectionOrderList" :key="index" class="part-secGoog">
huhaiqing's avatar
huhaiqing committed
21 22 23
                    <p>{{secGoog.orderNo}}</p>
                    <p>{{secGoog.prodTitleZh}}</p>
                    <div>
huhaiqing's avatar
huhaiqing committed
24
                      <i class="el-icon-delete" @click="deleteOrder(secGoog)"></i>
huhaiqing's avatar
huhaiqing committed
25 26 27 28 29 30
                    </div>
                  </div>
                </div>
              </el-collapse-transition>
              <div class="part-secGoog">
                <template>
huhaiqing's avatar
huhaiqing committed
31
                  {{getTotlContent(item.secStatistics)}}
huhaiqing's avatar
huhaiqing committed
32 33 34 35
                </template>
              </div>
            </el-row>
          </el-scrollbar>
huhaiqing's avatar
huhaiqing committed
36 37 38
        </el-col>

        <!-- 右侧 -->
huhaiqing's avatar
huhaiqing committed
39
        <el-col :span="18" class="right-area">
huhaiqing's avatar
huhaiqing committed
40 41

          <el-row class="right-title">
42 43 44
            <div>{{$t('货物筛选')}}</div>
            <div>{{$t('当前装柜')}}:{{partData.title}}</div>
            <div>{{$t('可预装方数')}}:{{unloadStatistics.volume}}m³,{{$t('重量')}}:{{unloadStatistics.weight}}Kg</div>
huhaiqing's avatar
huhaiqing committed
45 46 47 48
          </el-row>

          <!-- 搜索工作栏 -->
          <el-row>
huhaiqing's avatar
huhaiqing committed
49
            <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
50
              <el-form-item :label="$t('始发地')">
huhaiqing's avatar
huhaiqing committed
51 52
                <p>{{importCityName(queryParams.startWarehouseId)}}</p>
              </el-form-item>
zhoutong's avatar
zhoutong committed
53 54 55 56 57
              <el-form-item :label="$t('国家')" prop="destination">
                <el-select v-model="queryParams.destCountryId" :placeholder="$t('请选择国家')" @change="clearDestWarehouseIdList">
                  <el-option v-for="item in countryList" :key="item.id" :label="$l(item, 'title')" :value="item.id" />
                </el-select>
              </el-form-item>
58 59
              <el-form-item :label="$t('目的地')" prop="destination">
                <el-select v-model="queryParams.destWarehouseIdList" :placeholder="$t('请选择目的地')" multiple>
huhaiqing's avatar
huhaiqing committed
60
                  <el-option v-for="item in importWarehouseList" :label="item.titleZh" :value="item.id" :key="item.id"></el-option>
huhaiqing's avatar
huhaiqing committed
61 62
                </el-select>
              </el-form-item>
63 64
              <el-form-item :label="$t('订单号')" prop="orderNo">
                <el-input v-model="queryParams.orderNo" :placeholder="$t('请输入订单号')" clearable />
huhaiqing's avatar
huhaiqing committed
65 66 67
              </el-form-item>

              <el-form-item>
68
                <el-button type="primary" icon="el-icon-search" @click="queryAllData">{{$t('搜索')}}</el-button>
huhaiqing's avatar
huhaiqing committed
69 70 71 72 73
              </el-form-item>
            </el-form>
          </el-row>

          <!-- 表格 -->
huhaiqing's avatar
huhaiqing committed
74
          <el-scrollbar style="height:calc(100% - 164px)">
huhaiqing's avatar
huhaiqing committed
75
            <el-row v-for="(item, index) in toBePreList" :key="index" class="toBePre-table">
huhaiqing's avatar
huhaiqing committed
76 77
              <el-row class="table-title">
                <div>{{item.orderNo}}</div>
78
                <div>{{$t('发往')}}:{{item.destWarehouseName}}</div>
79
                <div :class="item.customsType !== 1 ? 'custom_type_red' : ''">
huhaiqing's avatar
huhaiqing committed
80
                  <dict-tag :type="DICT_TYPE.ECW_CUSTOMS_TYPE" :value="item.customsType" />
huhaiqing's avatar
huhaiqing committed
81
                </div>
82
                <div>{{$t('入仓时间')}}:{{formatDate(item.rucangTime)}}</div>
huhaiqing's avatar
huhaiqing committed
83
                <div>
84 85
                  <el-button type="text" @click="handleGoods('all', item)">[{{$t('全部预装')}}]</el-button>
                  <el-button type="text" @click="foldTable(index, item)">[{{item.fold ? $t('展开') : $t('收起')}}]</el-button>
huhaiqing's avatar
huhaiqing committed
86 87 88 89
                </div>
              </el-row>
              <el-collapse-transition>
                <div v-show="!item.fold">
huhaiqing's avatar
huhaiqing committed
90
                  <el-table v-loading="loading" :data="item.boxOrderItemList" border>
huhaiqing's avatar
huhaiqing committed
91
                    <el-table-column :label="$t('序号')" type="index" align="center" width="50" />
huhaiqing's avatar
huhaiqing committed
92 93 94 95 96
                    <el-table-column :label="$t('品名')" align="center" prop="" min-width="500">
                      <template slot-scope="{row}">
                        {{$l(row,'prodTitle')}}
                      </template>
                    </el-table-column>
97
                    <el-table-column :label="$t('品牌')" align="center" prop="brandType" width="120">
huhaiqing's avatar
huhaiqing committed
98
                      <template slot-scope="scope">
huhaiqing's avatar
huhaiqing committed
99 100
                        <template v-if="scope.row.brandName">{{scope.row.brandName}}</template>
                        <dict-tag v-else :type="DICT_TYPE.ECW_IS_BRAND" :value="scope.row.feeType" />
huhaiqing's avatar
huhaiqing committed
101 102
                      </template>
                    </el-table-column>
103 104
                    <el-table-column :label="$t('箱数')" align="center" prop="num" width="120" />
                    <el-table-column :label="$t('体积')" align="center" prop="volume" width="120">
huhaiqing's avatar
huhaiqing committed
105
                      <template slot-scope="scope">
huhaiqing's avatar
huhaiqing committed
106
                        <p v-if="scope.row.volume">{{getTotlContent(scope.row,['volume'])}}</p>
huhaiqing's avatar
huhaiqing committed
107 108
                      </template>
                    </el-table-column>
109
                    <el-table-column :label="$t('重量')" align="center" prop="weight" width="120">
huhaiqing's avatar
huhaiqing committed
110
                      <template slot-scope="scope">
huhaiqing's avatar
huhaiqing committed
111
                        <p v-if="scope.row.weight">{{getTotlContent(scope.row,['weight'])}}</p>
huhaiqing's avatar
huhaiqing committed
112 113
                      </template>
                    </el-table-column>
114
                    <!-- <el-table-column :label="$t('预装柜')"
115 116
                                     align="center"
                                     prop=""
Marcus's avatar
Marcus committed
117
                                     width="120">{{ $t('无返回') }}</el-table-column> -->
118
                    <el-table-column :label="$t('操作')" align="center" class-name="small-padding fixed-width" width="100">
huhaiqing's avatar
huhaiqing committed
119
                      <template slot-scope="scope">
120
                        <el-button type="text" size="small" @click="handleGoods('singele',scope.row)">{{$t('预装')}}</el-button>
huhaiqing's avatar
huhaiqing committed
121 122 123 124 125
                      </template>
                    </el-table-column>
                  </el-table>
                </div>
              </el-collapse-transition>
huhaiqing's avatar
huhaiqing committed
126
            </el-row>
huhaiqing's avatar
huhaiqing committed
127
          </el-scrollbar>
huhaiqing's avatar
huhaiqing committed
128 129

          <!-- 分页 -->
huhaiqing's avatar
huhaiqing committed
130
          <el-pagination background layout="prev, pager, next" :page-size="pageParam.pageSize" :total="total" @current-change="pageChange" v-show="total > 0"></el-pagination>
huhaiqing's avatar
huhaiqing committed
131 132 133 134 135
        </el-col>

      </el-row>
    </el-card>
    <el-row>
huhaiqing's avatar
huhaiqing committed
136
      <el-col :span="6" class="totle-info">
huhaiqing's avatar
huhaiqing committed
137
        <div>
138
          <p>{{$t('总计')}}:</p>
huhaiqing's avatar
huhaiqing committed
139
          <p>{{sumStatistics(partList)}}</p>
huhaiqing's avatar
huhaiqing committed
140 141
        </div>
        <div>
142
          <p>{{$t('容量')}}:</p>
143
          <p>{{calcCapacity}}</p>
huhaiqing's avatar
huhaiqing committed
144 145 146 147
        </div>
      </el-col>
    </el-row>
    <el-row class="button-area">
148
      <el-button type="primary" @click="handlerFinish">{{$t('完成')}}</el-button>
huhaiqing's avatar
huhaiqing committed
149 150 151 152 153
    </el-row>
  </div>
</template>

<script>
huhaiqing's avatar
huhaiqing committed
154
import {
huhaiqing's avatar
huhaiqing committed
155
  loadSecGoodsList,
huhaiqing's avatar
huhaiqing committed
156 157 158 159
  preloadPage,
  createSection,
  deleteSection,
  createGoods,
160
  remove,
huhaiqing's avatar
huhaiqing committed
161
} from "@/api/ecw/boxSea";
zhoutong's avatar
zhoutong committed
162
import { getWarehouseList } from "@/api/ecw/warehouse"
163 164 165 166 167
import {
  formatDate,
  getTotlContent,
  serviceMsg,
  getCapacity,
huhaiqing's avatar
huhaiqing committed
168
  sumStatistics,
169
} from "../../utils";
zhoutong's avatar
zhoutong committed
170
import { getListTree } from "@/api/ecw/region";
huhaiqing's avatar
huhaiqing committed
171 172 173 174 175
/**
 * 补单
 */
export default {
  name: "supplementOrder",
huhaiqing's avatar
huhaiqing committed
176
  inheritAttrs: false,
huhaiqing's avatar
huhaiqing committed
177 178
  data() {
    return {
zhoutong's avatar
zhoutong committed
179 180
      //国家列表
      countryList:[],
zhoutong's avatar
zhoutong committed
181 182
      //仓库列表
      warehouseList: [],
huhaiqing's avatar
huhaiqing committed
183 184 185
      // 二维码/条码编号
      cabinetNo: "",
      // 表格数据
huhaiqing's avatar
huhaiqing committed
186 187 188 189 190
      listData: [],
      // 选中部分
      partData: {},
      // 部分列表
      partList: [],
191 192
      // 部分统计
      loadStatistics: {},
huhaiqing's avatar
huhaiqing committed
193
      // 查询参数
huhaiqing's avatar
huhaiqing committed
194 195 196 197 198 199 200
      queryParams: {
        startWarehouseId: this.$attrs.shipmentObj.startWarehouseId,
      },
      pageParam: { pageNo: 1, pageSize: 10 },
      // 待预装
      toBePreList: [],
      total: 0,
201
      loading: false,
202
      unloadStatistics: {},
huhaiqing's avatar
huhaiqing committed
203 204
    };
  },
huhaiqing's avatar
huhaiqing committed
205 206
  created() {
    this.queryAllData();
zhoutong's avatar
zhoutong committed
207
    this.getCountry()
huhaiqing's avatar
huhaiqing committed
208 209
  },
  methods: {
zhoutong's avatar
zhoutong committed
210 211 212 213 214 215 216 217 218 219 220 221
    //获取国家
    async getCountry() {
      let countryList = await getListTree({treeType: 1})
      this.countryList = countryList.data
      let warehouseList = await getWarehouseList()
      this.warehouseList = warehouseList.data
      let warehouse = this.warehouseList.find(item=>item.id == this.$attrs.shipmentObj.destWarehouseId)
      console.log(warehouse,'warehouse')
      if(warehouse){
        this.$set(this.queryParams,'destCountryId', warehouse.guojia)
      }
    },
huhaiqing's avatar
huhaiqing committed
222 223
    /* 查询已预装 */
    getSecGoods() {
huhaiqing's avatar
huhaiqing committed
224 225 226 227 228 229 230 231 232 233 234 235
      loadSecGoodsList({ shipmentId: this.$attrs.shipmentObj.id }).then(
        (res) => {
          this.partList = res.data.map((item, index) => {
            item.fold = true;
            if (
              Object.keys(this.partData).length &&
              this.partData.id === item.id
            ) {
              item.fold = false;
            }
            return {
              ...item,
huhaiqing's avatar
huhaiqing committed
236
              title: this.$t("第{index}部分", { index: index + 1 }),
huhaiqing's avatar
huhaiqing committed
237 238
            };
          });
huhaiqing's avatar
huhaiqing committed
239

huhaiqing's avatar
huhaiqing committed
240 241 242 243
          if (this.partList.length && !Object.keys(this.partData).length) {
            this.partList[0].fold = false;
            this.partData = this.partList[0];
          }
huhaiqing's avatar
huhaiqing committed
244
        }
huhaiqing's avatar
huhaiqing committed
245
      );
huhaiqing's avatar
huhaiqing committed
246 247 248
    },
    /* 查询待预装 */
    getPreLoad() {
249
      this.loading = true;
huhaiqing's avatar
huhaiqing committed
250 251 252 253 254
      // 处理查询参数
      let params = {
        ...this.queryParams,
      };
      preloadPage({ ...params, ...this.pageParam }).then((res) => {
255 256 257 258
        const { data } = res;
        this.toBePreList = data.dataList?.list ?? [];
        this.total = data.dataList?.total ?? 0;
        this.unloadStatistics = data.unloadStatistics ?? {};
259
        this.loading = false;
huhaiqing's avatar
huhaiqing committed
260 261 262 263
      });
    },
    /* 删除订单 */
    deleteOrder(data) {
264 265 266 267 268 269
      let params = {
        secId: this.partData.id,
        shipmentId: this.$attrs.shipmentObj.id,
        orderId: data.orderId,
      };
      remove(params).then((res) => {
huhaiqing's avatar
huhaiqing committed
270 271 272
        serviceMsg(res, this).then(() => {
          this.getSecGoods();
        });
zhoutong's avatar
zhoutong committed
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
      }).catch((res) => {
        if (res.code === 666) {
              this.$confirm(res.msg+this.$t('是否需要一起移出?'), this.$t("提示"), {
                dangerouslyUseHTMLString: true,
                distinguishCancelAndClose: true,
                confirmButtonText: '确定移出',
                cancelButtonText: '仅移出当前订单'
              })
                .then((_) => {
                  remove({ ...params, deleteType: 2 }).then((res) => {
                    serviceMsg(res, this).then(() => {
                      this.getSecGoods();
                    });
                  });
                })
                .catch(action => {
                  if(action =='cancel'){
                    remove({ ...params, deleteType: 1 }).then((res) => {
                      serviceMsg(res, this).then(() => {
                        this.getSecGoods();
                      });
                    });
                  }
                });
            }
huhaiqing's avatar
huhaiqing committed
298 299 300 301 302 303 304 305
      });
    },
    /** 预装 */
    handleGoods(type, item) {
      let params = {
        secId: this.partData.id,
        shipmentId: this.$attrs.shipmentObj.id,
        orderId: item.orderId,
306
        isCover: 1
huhaiqing's avatar
huhaiqing committed
307 308
      };
      if (type === "all") {
309
        params.orderItemIdList = item.boxOrderItemList.map(
huhaiqing's avatar
huhaiqing committed
310 311 312 313 314
          (data) => data.orderItemId
        );
      } else {
        params.orderItemIdList = [item.orderItemId];
      }
zhoutong's avatar
zhoutong committed
315 316 317 318 319 320
      createGoods(params)
          .then((res) => {
            const { data } = res;
            if (data.relationMsg) {
              const msg = data.relationMsg.replaceAll(",", "");
              this.$confirm(msg, this.$t("提示"), {
321
                dangerouslyUseHTMLString: true,
zhoutong's avatar
zhoutong committed
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
                type: "warning",
              })
                .then((_) => {
                  loadRelationOrder(data).then((res) => {
                    serviceMsg(res, this).then(() => {
                      this.queryAllData();
                    });
                  });
                })
                .catch((_) => {
                  this.queryAllData();
                });
            } else {
              serviceMsg(res, this).then(() => {
                this.queryAllData();
              });
            }
          })
          .catch((res) => {
            if (res.code === 555) {
              const msg = res.msg && res.msg.replaceAll(",", "");
              this.$confirm(msg, this.$t("提示"), {
344
                dangerouslyUseHTMLString: true,
zhoutong's avatar
zhoutong committed
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360
                type: "warning",
              })
                .then((_) => {
                  createGoods({ ...params, relationStatus: 1 }).then((res) => {
                    serviceMsg(res, this).then(() => {
                      this.queryAllData();
                    });
                  });
                })
                .catch((_) => {
                  this.queryAllData();
                });
            }
            
            if (res.code === 566) {
              this.$confirm(res.msg+this.$t('是否需要一起预装?'), this.$t("提示"), {
361
                dangerouslyUseHTMLString: true,
362
                distinguishCancelAndClose: true,
363 364
                confirmButtonText: '预装关联单',
                cancelButtonText: '仅当前订单'
zhoutong's avatar
zhoutong committed
365 366
              })
                .then((_) => {
367
                  createGoods({ ...params, relationStatus: 2, singleLoad: false }).then((res) => {
zhoutong's avatar
zhoutong committed
368 369 370 371 372
                    serviceMsg(res, this).then(() => {
                      this.queryAllData();
                    });
                  });
                })
zhoutong's avatar
zhoutong committed
373
                .catch((action) => {
374 375 376 377 378
                  if(action =='cancel'){
                    createGoods({ ...params, relationStatus: 2, singleLoad: true }).then((res) => {
                      serviceMsg(res, this).then(() => {
                        this.queryAllData();
                      });
379
                    });
380
                  }
zhoutong's avatar
zhoutong committed
381 382 383
                });
            }
          });
huhaiqing's avatar
huhaiqing committed
384 385 386
    },
    /* 增加部分 */
    addPart() {
huhaiqing's avatar
huhaiqing committed
387 388 389 390
      createSection({
        shipmentId: this.$attrs.shipmentObj.id,
        isCover: 1,
      }).then((res) => {
huhaiqing's avatar
huhaiqing committed
391 392 393 394 395 396 397
        serviceMsg(res, this).then(() => {
          this.getSecGoods();
        });
      });
    },
    /* 删除部分 */
    deletePart() {
huhaiqing's avatar
huhaiqing committed
398 399 400 401 402 403 404
      this.$confirm(
        this.$t("确认删除该部分及其已预装订单?"),
        this.$t("提示"),
        {
          type: "warning",
        }
      )
huhaiqing's avatar
huhaiqing committed
405
        .then((_) => {
406 407 408 409 410
          let params = {
            id: this.partData.id,
            deleteType: 2
          };
          deleteSection(params).then((res) => {
huhaiqing's avatar
huhaiqing committed
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
            serviceMsg(res, this).then(() => {
              this.partData = {};
              this.getSecGoods();
            });
          });
        })
        .catch((_) => {});
    },
    /* 部分点击 */
    partClick(item) {
      item.fold = !item.fold;
      this.partData = item;
      let copyList = [...this.partList];
      copyList = copyList.map((cItem) => {
        cItem.fold = true;
        if (item.id === cItem.id) {
          cItem.fold = false;
          return cItem;
        }
      });
      this.$set(this.partList, copyList);
    },
    /* 获取城市 */
    importCityName(id) {
      var arr = this.$attrs.warehouseList.filter((item) => item.id == id);
huhaiqing's avatar
huhaiqing committed
436
      return arr.length > 0 ? this.$l(arr[0], "title") : this.$t("");
huhaiqing's avatar
huhaiqing committed
437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
    },
    /* 待预装订单分页 */
    pageChange(page) {
      this.pageParam.pageNo = page;
      this.getPreLoad();
    },
    /* 折叠 */
    foldTable(index, item) {
      item.fold = !item.fold;
      this.$set(this.toBePreList, index, item);
    },
    /* 查询所有数据 */
    queryAllData() {
      this.getSecGoods();
      this.pageParam.pageNo = 1;
      this.getPreLoad();
    },
    /* 完成 */
    handlerFinish() {
456
      this.$confirm(this.$t("确定执行操作?"), this.$t("提示"), {
huhaiqing's avatar
huhaiqing committed
457 458 459 460 461 462 463
        type: "warning",
      })
        .then((_) => {
          this.$emit("supplementFinish");
        })
        .catch((_) => {});
    },
464
    formatDate,
huhaiqing's avatar
huhaiqing committed
465
    getTotlContent,
huhaiqing's avatar
huhaiqing committed
466
    sumStatistics,
zhoutong's avatar
zhoutong committed
467 468 469 470
    //切换国家时清除目的仓
    clearDestWarehouseIdList() {
      this.queryParams.destWarehouseIdList = []
    }
huhaiqing's avatar
huhaiqing committed
471 472 473 474 475
  },
  computed: {
    /** 目的地 */
    importWarehouseList() {
      return this.$attrs.warehouseList.filter(
zhoutong's avatar
zhoutong committed
476
        (item) => (item.tradeType == "1" || item.type == "3") && item.guojia == this.queryParams.destCountryId
huhaiqing's avatar
huhaiqing committed
477 478
      );
    },
479 480 481 482 483
    /* 容量 */
    calcCapacity() {
      const { cabinetRespVO } = this.$attrs.shipmentObj;
      return getCapacity(cabinetRespVO);
    },
huhaiqing's avatar
huhaiqing committed
484
  },
huhaiqing's avatar
huhaiqing committed
485 486 487
};
</script>

huhaiqing's avatar
huhaiqing committed
488
<style lang="scss">
huhaiqing's avatar
huhaiqing committed
489
.supplementOrder {
huhaiqing's avatar
huhaiqing committed
490 491
  display: flex;
  flex-direction: column;
huhaiqing's avatar
huhaiqing committed
492 493 494
  p {
    margin: 0;
  }
huhaiqing's avatar
huhaiqing committed
495 496 497
  .el-card__body {
    height: 100%;
  }
huhaiqing's avatar
huhaiqing committed
498 499
  .content-area {
    display: flex;
huhaiqing's avatar
huhaiqing committed
500
    height: 100%;
huhaiqing's avatar
huhaiqing committed
501 502
    .left-area {
      border-right: 3px solid #e6ebf5;
huhaiqing's avatar
huhaiqing committed
503 504 505
      .el-scrollbar__view {
        padding-right: 10px;
      }
huhaiqing's avatar
huhaiqing committed
506 507 508
      .title-info {
        margin-top: 10px;
        height: auto;
huhaiqing's avatar
huhaiqing committed
509 510 511 512 513 514 515 516

        &.selected {
          > div:first-child {
            background-color: #4f9cdd;
            color: #fff;
          }
        }

huhaiqing's avatar
huhaiqing committed
517 518 519 520 521
        > div:first-child {
          font-size: 16px;
          background-color: #f2f2f2;
          line-height: 30px;
          text-align: center;
huhaiqing's avatar
huhaiqing committed
522
          cursor: pointer;
huhaiqing's avatar
huhaiqing committed
523
        }
huhaiqing's avatar
huhaiqing committed
524 525
        .part-secGoog {
          margin-top: 5px;
huhaiqing's avatar
huhaiqing committed
526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564
          display: flex;
          align-items: center;
          > p {
            margin-right: 10px;
            color: #4f9cdd;
          }
          > div {
            flex: 1;
            text-align: right;
            > i {
              cursor: pointer;
              color: red;
            }
          }
        }
      }
    }
    .right-area {
      padding-left: 10px;
      .right-title {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        font-size: 16px;
        > div:first-child {
          font-size: 18px;
        }
        > div:first-child + div {
          margin-left: 20px;
        }
        > div:last-child {
          flex: 1;
          text-align: right;
          font-size: 18px;
          color: red;
        }
      }
      .table-title {
        display: flex;
huhaiqing's avatar
huhaiqing committed
565
        align-items: center;
huhaiqing's avatar
huhaiqing committed
566 567 568 569 570 571 572 573 574 575
        line-height: 30px;
        background-color: #4f9cdd;
        color: #fff;
        > div {
          margin-left: 10px;
        }
        > div:last-child {
          flex: 1;
          display: flex;
          justify-content: flex-end;
huhaiqing's avatar
huhaiqing committed
576 577 578 579
          > .el-button--text {
            color: #fff;
          }
          > .el-button--text:last-child {
huhaiqing's avatar
huhaiqing committed
580 581 582 583 584 585 586 587 588
            margin-right: 10px;
          }
        }
      }
      .el-pagination {
        margin-top: 10px;
        padding: 0;
        text-align: right;
      }
huhaiqing's avatar
huhaiqing committed
589 590 591 592

      .toBePre-table {
        margin-bottom: 10px;
      }
huhaiqing's avatar
huhaiqing committed
593 594 595 596 597 598 599 600 601 602 603 604 605 606 607
    }
  }
  .totle-info {
    font-size: 20px;
    margin-top: 15px;
    > div {
      display: flex;
      margin-bottom: 5px;
    }
  }
  .button-area {
    text-align: center;
  }
}
</style>