|
@@ -1,20 +1,20 @@
|
|
//火运调度
|
|
//火运调度
|
|
<template>
|
|
<template>
|
|
<div>
|
|
<div>
|
|
- <BaseHeaderLayout :leftSpan="20">
|
|
|
|
|
|
+ <BaseHeaderLayout :leftSpan="12">
|
|
<template slot="left">
|
|
<template slot="left">
|
|
<ws-button
|
|
<ws-button
|
|
- class="but"
|
|
|
|
|
|
+ class="but"
|
|
type="primary"
|
|
type="primary"
|
|
@click="handleAdd()"
|
|
@click="handleAdd()"
|
|
v-hasPermission="
|
|
v-hasPermission="
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
"
|
|
"
|
|
- >
|
|
|
|
|
|
+ >
|
|
执行中</ws-button
|
|
执行中</ws-button
|
|
>
|
|
>
|
|
<ws-button
|
|
<ws-button
|
|
- class="but"
|
|
|
|
|
|
+ class="but"
|
|
@click="handleLook()"
|
|
@click="handleLook()"
|
|
v-hasPermission="
|
|
v-hasPermission="
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
@@ -22,32 +22,29 @@
|
|
>已完成</ws-button
|
|
>已完成</ws-button
|
|
>
|
|
>
|
|
<ws-button
|
|
<ws-button
|
|
- class="but"
|
|
|
|
|
|
+ class="but"
|
|
@click="handleEdit()"
|
|
@click="handleEdit()"
|
|
v-hasPermission="
|
|
v-hasPermission="
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
`${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
"
|
|
"
|
|
>全部任务</ws-button
|
|
>全部任务</ws-button
|
|
- >
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ >
|
|
</template>
|
|
</template>
|
|
<!-- 接单开始 -->
|
|
<!-- 接单开始 -->
|
|
<template slot="left">
|
|
<template slot="left">
|
|
- <ws-date-picker
|
|
|
|
- v-model="deptBudgetList.inOutDate"
|
|
|
|
- type="date"
|
|
|
|
- placeholder="请选择开始日期"
|
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
|
- />
|
|
|
|
- <span>至</span>
|
|
|
|
- <ws-date-picker
|
|
|
|
- v-model="deptBudgetList.inOutDate"
|
|
|
|
- type="date"
|
|
|
|
- placeholder="请选择结束日期"
|
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
|
- />
|
|
|
|
|
|
+ <ws-date-picker
|
|
|
|
+ v-model="deptBudgetList.inOutDate"
|
|
|
|
+ type="date"
|
|
|
|
+ placeholder="请选择开始日期"
|
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
|
+ />
|
|
|
|
+ <span>至</span>
|
|
|
|
+ <ws-date-picker
|
|
|
|
+ v-model="deptBudgetList.inOutDate"
|
|
|
|
+ type="date"
|
|
|
|
+ placeholder="请选择结束日期"
|
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
|
+ />
|
|
<ws-input
|
|
<ws-input
|
|
v-model="searchKeyWord"
|
|
v-model="searchKeyWord"
|
|
placeholder="可按照合同编号、买方名称、卖方名称进行查找"
|
|
placeholder="可按照合同编号、买方名称、卖方名称进行查找"
|
|
@@ -78,169 +75,115 @@
|
|
/></ws-button>
|
|
/></ws-button>
|
|
</template>
|
|
</template>
|
|
</BaseHeaderLayout>
|
|
</BaseHeaderLayout>
|
|
- <div>
|
|
|
|
|
|
+ <div class="container">
|
|
<el-table
|
|
<el-table
|
|
class="wenzi"
|
|
class="wenzi"
|
|
- :data="warehouseList"
|
|
|
|
|
|
+ :data="tranManagementList.records"
|
|
style="width: 100%; margin-top: 20px"
|
|
style="width: 100%; margin-top: 20px"
|
|
height="780"
|
|
height="780"
|
|
>
|
|
>
|
|
- <el-table-column prop="warehouseName" label="序号" width="80">
|
|
|
|
|
|
+ <el-table-column type="index" label="序号" width="80" >
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
|
|
|
|
+ <span v-else>{{ scope.$index + 1 }}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="processNo" label="运输任务编号" width="120">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="binNumber" label="运输任务编号" width="80">
|
|
|
|
|
|
+ <el-table-column prop="goodsName" label="货名" width="80">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="capacity" label="货名">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div
|
|
|
|
- v-if="scope.row.capacity != 'null' && scope.row.capacity != null"
|
|
|
|
- >
|
|
|
|
- {{ scope.row.capacity }}
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
|
|
+ <el-table-column prop="weight" label="重量(吨)" width="120">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column class="table_td" label="重量(吨)">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div
|
|
|
|
- style="height: 24px"
|
|
|
|
- v-for="(item, i) in scope.row.warehouseNumViewList"
|
|
|
|
- >
|
|
|
|
- {{ item.inNetWeight }}
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
|
|
+ <el-table-column prop="send" label="发货" width="160">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column class="table_td" label="发货">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div
|
|
|
|
- style="height: 24px"
|
|
|
|
- v-for="(item, i) in scope.row.warehouseNumViewList"
|
|
|
|
- >
|
|
|
|
- {{ item.outNetWeight }}
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
|
|
+ <el-table-column prop="receive" label="收货" width="160">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column class="table_td" label="收货">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div
|
|
|
|
- style="height: 24px"
|
|
|
|
- v-for="(item, i) in scope.row.warehouseNumViewList"
|
|
|
|
- >
|
|
|
|
- {{ item.storage }}
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
|
|
+ <el-table-column prop="tranCycle" label="运输周期" width="160">
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ {{scope.row.deliveryDateStart}} ~ {{scope.row.deliveryDateEnd}}
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column class="table_td" label="运输周期">
|
|
|
|
|
|
+ <el-table-column prop="status" label="状态">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <div
|
|
|
|
- style="height: 24px"
|
|
|
|
- v-for="(item, i) in scope.row.warehouseNumViewList"
|
|
|
|
|
|
+ <el-popover
|
|
|
|
+ placement="left"
|
|
|
|
+ :width="285"
|
|
|
|
+ trigger="click"
|
|
|
|
+ visible-arrow="false"
|
|
|
|
+ @show="history(scope.row)"
|
|
>
|
|
>
|
|
- {{ item.storage }}
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <el-table-column prop="status" label="状态">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <el-popover
|
|
|
|
- placement="left"
|
|
|
|
- :width="285"
|
|
|
|
- trigger="click"
|
|
|
|
- visible-arrow="false"
|
|
|
|
- @show="history(scope.row)"
|
|
|
|
- >
|
|
|
|
- <template>
|
|
|
|
- <span slot="reference">
|
|
|
|
- <span
|
|
|
|
- v-if="scope.row.status =='待执行'"
|
|
|
|
- class="executory"
|
|
|
|
- ></span>
|
|
|
|
- <span
|
|
|
|
- v-if="scope.row.status == '执行中'"
|
|
|
|
- class="inExecution"
|
|
|
|
- ></span>
|
|
|
|
- <span v-if="scope.row.status == '已完成'" class="done"></span
|
|
|
|
- >{{scope.row.status}}
|
|
|
|
- </span>
|
|
|
|
- </template>
|
|
|
|
- <div>
|
|
|
|
- <p style="margin-top: 0; padding-left: 10px">XXXXX</p>
|
|
|
|
- <div v-for="(item, index) in historyList" class="flex">
|
|
|
|
- <div class="vertical-text vertical-text-left">
|
|
|
|
- {{ item.updateDate }}
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- <div class="vertical-circle"></div>
|
|
|
|
- <div
|
|
|
|
- v-if="index != historyList.length - 1"
|
|
|
|
- class="vertical-line"
|
|
|
|
- ></div>
|
|
|
|
- </div>
|
|
|
|
- <div class="vertical-text">
|
|
|
|
- {{ item.operateUser }}<br />{{ item.dealMsg }}
|
|
|
|
|
|
+ <template>
|
|
|
|
+ <span slot="reference">
|
|
|
|
+ <span
|
|
|
|
+ v-if="scope.row.status == '待执行'"
|
|
|
|
+ class="executory"
|
|
|
|
+ ></span>
|
|
|
|
+ <span
|
|
|
|
+ v-if="scope.row.status == '执行中'"
|
|
|
|
+ class="inExecution"
|
|
|
|
+ ></span>
|
|
|
|
+ <span v-if="scope.row.status == '已完成'" class="done"></span
|
|
|
|
+ >{{ scope.row.status }}
|
|
|
|
+ </span>
|
|
|
|
+ </template>
|
|
|
|
+ <div>
|
|
|
|
+ <p style="margin-top: 0; padding-left: 10px">XXXXX</p>
|
|
|
|
+ <div v-for="(item, index) in historyList" class="flex">
|
|
|
|
+ <div class="vertical-text vertical-text-left">
|
|
|
|
+ {{ item.updateDate }}
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="vertical-circle"></div>
|
|
|
|
+ <div
|
|
|
|
+ v-if="index != historyList.length - 1"
|
|
|
|
+ class="vertical-line"
|
|
|
|
+ ></div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="vertical-text">
|
|
|
|
+ {{ item.operateUser }}<br />{{ item.dealMsg }}
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- </el-popover>
|
|
|
|
- <img
|
|
|
|
- width="17"
|
|
|
|
- height="18"
|
|
|
|
- style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
|
- src="../../../public/img/edit.png"
|
|
|
|
- @click="editClick(scope.row)"
|
|
|
|
- alt=""
|
|
|
|
- />
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column class="table_td" label="接单日期">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div
|
|
|
|
- style="height: 24px"
|
|
|
|
- v-for="(item, i) in scope.row.warehouseNumViewList"
|
|
|
|
- >
|
|
|
|
- {{ item.storage }}
|
|
|
|
- </div>
|
|
|
|
|
|
+ </el-popover>
|
|
|
|
+ <img
|
|
|
|
+ width="17"
|
|
|
|
+ height="18"
|
|
|
|
+ style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
|
+ src="../../../public/img/edit.png"
|
|
|
|
+ @click="editClick(scope.row)"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column prop="receivingDate" class="table_td" label="接单日期">
|
|
|
|
+ </el-table-column>
|
|
<el-table-column prop="seller" label="操作" width="300">
|
|
<el-table-column prop="seller" label="操作" width="300">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<ws-button
|
|
<ws-button
|
|
class="completed"
|
|
class="completed"
|
|
- @click="nocomplete(scope.row)"
|
|
|
|
- v-hasPermission="
|
|
|
|
- `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
|
|
- "
|
|
|
|
|
|
+ @click="trainSee(scope.row)"
|
|
|
|
+
|
|
>
|
|
>
|
|
- 查看({{ scope.row.number }})
|
|
|
|
|
|
+ 查看
|
|
</ws-button>
|
|
</ws-button>
|
|
<ws-button
|
|
<ws-button
|
|
class="putstorage"
|
|
class="putstorage"
|
|
- @click="warehousing(scope.row)"
|
|
|
|
- v-hasPermission="
|
|
|
|
- `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
|
|
- "
|
|
|
|
|
|
+ @click="trainNumber(scope.row)"
|
|
>
|
|
>
|
|
车次
|
|
车次
|
|
</ws-button>
|
|
</ws-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <!-- <el-table-column prop="address" label="操作" width="200">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div class="record" @click="record(scope.row)">记录</div>
|
|
|
|
- <div class="adjustment" @click="loss(scope.row)">盘损</div>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column> -->
|
|
|
|
|
|
+
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import {
|
|
import {
|
|
- getList,
|
|
|
|
- export1,
|
|
|
|
- editstatus,
|
|
|
|
- billoperatehis,
|
|
|
|
-} from '@/model/warehouse/index'
|
|
|
|
|
|
+ automobileList,
|
|
|
|
+ dispatchCat
|
|
|
|
+} from '@/model/transport/index'
|
|
import { downloadFile } from '@/utils/batchDown'
|
|
import { downloadFile } from '@/utils/batchDown'
|
|
import Pagination from '@/components/Pagination'
|
|
import Pagination from '@/components/Pagination'
|
|
import WsUpload from '@/components/WsUpload'
|
|
import WsUpload from '@/components/WsUpload'
|
|
@@ -279,6 +222,7 @@ export default {
|
|
searchTypeText: '未完成',
|
|
searchTypeText: '未完成',
|
|
searchKeyWord: '',
|
|
searchKeyWord: '',
|
|
contractType: 2,
|
|
contractType: 2,
|
|
|
|
+ tranTypeKey: 2,
|
|
// 提交类型
|
|
// 提交类型
|
|
submitType: true,
|
|
submitType: true,
|
|
size: 10,
|
|
size: 10,
|
|
@@ -286,7 +230,7 @@ export default {
|
|
warehouseName: '',
|
|
warehouseName: '',
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
deptCircularPage: {},
|
|
deptCircularPage: {},
|
|
- warehouseList: [],
|
|
|
|
|
|
+ tranManagementList: [],
|
|
deptBudgetList: {},
|
|
deptBudgetList: {},
|
|
historyList: [],
|
|
historyList: [],
|
|
pickerBeginDateBefore: {
|
|
pickerBeginDateBefore: {
|
|
@@ -305,47 +249,12 @@ export default {
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- //出库
|
|
|
|
- delivery(item) {
|
|
|
|
- this.$router.push({
|
|
|
|
- path: 'warehouseManagementDelivery',
|
|
|
|
- query: {
|
|
|
|
- baseId: item.warehouseId,
|
|
|
|
- positionId: item.binNumberId,
|
|
|
|
- warehouseName: item.warehouseName,
|
|
|
|
- binNumber: item.binNumber,
|
|
|
|
- capacity: item.capacity,
|
|
|
|
- },
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- //派车
|
|
|
|
- warehousing(item) {
|
|
|
|
- var free = 0
|
|
|
|
- for (var i = 0; i < item.warehouseNumViewList.length; i++) {
|
|
|
|
- free += Number(item.warehouseNumViewList[i].storage)
|
|
|
|
- }
|
|
|
|
- this.$router.push({
|
|
|
|
- path: 'tranManagementVehicleDispatching',
|
|
|
|
- query: {
|
|
|
|
- baseId: item.warehouseId,
|
|
|
|
- positionId: item.binNumberId,
|
|
|
|
- warehouseName: item.warehouseName,
|
|
|
|
- binNumber: item.binNumber,
|
|
|
|
- capacity:item.capacity - free ,
|
|
|
|
- },
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
getSpanArr(data) {
|
|
getSpanArr(data) {
|
|
let that = this
|
|
let that = this
|
|
-
|
|
|
|
//页面展示的数据,不一定是全部的数据,所以每次都清空之前存储的 保证遍历的数据是最新的数据。以免造成数据渲染混乱
|
|
//页面展示的数据,不一定是全部的数据,所以每次都清空之前存储的 保证遍历的数据是最新的数据。以免造成数据渲染混乱
|
|
-
|
|
|
|
that.spanArr = []
|
|
that.spanArr = []
|
|
-
|
|
|
|
that.pos = 0
|
|
that.pos = 0
|
|
-
|
|
|
|
//遍历数据
|
|
//遍历数据
|
|
-
|
|
|
|
data.forEach((item, index) => {
|
|
data.forEach((item, index) => {
|
|
//判断是否是第一项
|
|
//判断是否是第一项
|
|
|
|
|
|
@@ -366,46 +275,25 @@ export default {
|
|
// }
|
|
// }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- //查看//传参
|
|
|
|
- nocomplete(row) {
|
|
|
|
|
|
+ //查看火运调度详细
|
|
|
|
+ trainSee(row) {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
- path: 'tranManagementVehicleLook',
|
|
|
|
- // query: {
|
|
|
|
- // baseId: row.warehouseId,
|
|
|
|
- // positionId: row.binNumberId,
|
|
|
|
- // warehouseName: row.warehouseName,
|
|
|
|
- // binNumber: row.binNumber,
|
|
|
|
- // },
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- //记录
|
|
|
|
- record(item) {
|
|
|
|
- this.$router.push({
|
|
|
|
- name: 'warehouseManagementRecord',
|
|
|
|
- query: {
|
|
|
|
- baseId: item.warehouseId,
|
|
|
|
- positionId: item.binNumberId,
|
|
|
|
- warehouseName: item.warehouseName,
|
|
|
|
- },
|
|
|
|
- params: {
|
|
|
|
- remark: item.remark,
|
|
|
|
- binNumber: item.binNumber,
|
|
|
|
- capacity: item.capacity,
|
|
|
|
- },
|
|
|
|
|
|
+ path: 'tranManagementTransporTrainDetails',
|
|
|
|
+ query:{
|
|
|
|
+ id:row.id
|
|
|
|
+ }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- //盘损
|
|
|
|
- loss(item) {
|
|
|
|
|
|
+ //车次
|
|
|
|
+ trainNumber(row) {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
- path: 'warehouseManagementIoss',
|
|
|
|
- query: {
|
|
|
|
- baseId: item.warehouseId,
|
|
|
|
- positionId: item.binNumberId,
|
|
|
|
- warehouseName: item.warehouseName,
|
|
|
|
- binNumber: item.binNumber,
|
|
|
|
- },
|
|
|
|
|
|
+ path: 'tranManagementTransporTrainNo',
|
|
|
|
+ query:{
|
|
|
|
+ id : row.id
|
|
|
|
+ }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+
|
|
//查看
|
|
//查看
|
|
handleLook() {
|
|
handleLook() {
|
|
this.$router.push({ path: 'tranManagementVehicleLook' })
|
|
this.$router.push({ path: 'tranManagementVehicleLook' })
|
|
@@ -418,10 +306,7 @@ export default {
|
|
handleEdit() {
|
|
handleEdit() {
|
|
this.$router.push({ path: 'tranManagementTransportEdit' })
|
|
this.$router.push({ path: 'tranManagementTransportEdit' })
|
|
},
|
|
},
|
|
- // 派车
|
|
|
|
- warehousing(){
|
|
|
|
- this.$router.push({ path: 'tranManagementVehicleDispatching'})
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
dateFormat(fmt, date) {
|
|
dateFormat(fmt, date) {
|
|
let ret
|
|
let ret
|
|
const opt = {
|
|
const opt = {
|
|
@@ -457,14 +342,17 @@ export default {
|
|
console.log(`当前页: ${val}`)
|
|
console.log(`当前页: ${val}`)
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
- getList() {
|
|
|
|
- getList({
|
|
|
|
|
|
+ getList() {
|
|
|
|
+ automobileList({
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
- warehouseName: this.warehouseName,
|
|
|
|
|
|
+ contractType: this.contractType,
|
|
|
|
+ currentPage: this.currentPage,
|
|
|
|
+ pageSize: this.pageSize,
|
|
|
|
+ tranTypeKey:this.tranTypeKey
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
- this.warehouseList = response
|
|
|
|
|
|
+ this.tranManagementList = response
|
|
})
|
|
})
|
|
},
|
|
},
|
|
editClick(row) {
|
|
editClick(row) {
|
|
@@ -540,34 +428,34 @@ export default {
|
|
this.currentPage = 1
|
|
this.currentPage = 1
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
- async exportlist() {
|
|
|
|
- const { data } = await export1(
|
|
|
|
- {
|
|
|
|
- compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
|
- contractType: this.contractType,
|
|
|
|
- currentPage: this.currentPage,
|
|
|
|
- pageSize: this.pageSize,
|
|
|
|
- searchType: this.searchType,
|
|
|
|
- searchKeyWord: this.searchKeyWord,
|
|
|
|
- startDate: this.startDate,
|
|
|
|
- endDate: this.endDate,
|
|
|
|
- },
|
|
|
|
- {},
|
|
|
|
- { responseType: 'blob' }
|
|
|
|
- ).toPromise()
|
|
|
|
- downloadFile({
|
|
|
|
- res: data,
|
|
|
|
- fileName: `${
|
|
|
|
- this.date.year + (this.date.month ? `-${this.date.month}` : '')
|
|
|
|
- }_采购合同`,
|
|
|
|
- type: 'xls',
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
|
|
+ // async exportlist() {
|
|
|
|
+ // const { data } = await export1(
|
|
|
|
+ // {
|
|
|
|
+ // compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
|
+ // contractType: this.contractType,
|
|
|
|
+ // currentPage: this.currentPage,
|
|
|
|
+ // pageSize: this.pageSize,
|
|
|
|
+ // searchType: this.searchType,
|
|
|
|
+ // searchKeyWord: this.searchKeyWord,
|
|
|
|
+ // startDate: this.startDate,
|
|
|
|
+ // endDate: this.endDate,
|
|
|
|
+ // },
|
|
|
|
+ // {},
|
|
|
|
+ // { responseType: 'blob' }
|
|
|
|
+ // ).toPromise()
|
|
|
|
+ // downloadFile({
|
|
|
|
+ // res: data,
|
|
|
|
+ // fileName: `${
|
|
|
|
+ // this.date.year + (this.date.month ? `-${this.date.month}` : '')
|
|
|
|
+ // }_采购合同`,
|
|
|
|
+ // type: 'xls',
|
|
|
|
+ // })
|
|
|
|
+ // },
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
-.connert {
|
|
|
|
|
|
+.container {
|
|
width: 90%;
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
@@ -613,37 +501,37 @@ export default {
|
|
/deep/.el-table tr th.is-leaf:first-child {
|
|
/deep/.el-table tr th.is-leaf:first-child {
|
|
border-left: 1px solid #e9ecf7;
|
|
border-left: 1px solid #e9ecf7;
|
|
}
|
|
}
|
|
-.record,
|
|
|
|
-.adjustment {
|
|
|
|
- display: inline-block;
|
|
|
|
- color: #5878e8;
|
|
|
|
- padding: 0 4px !important;
|
|
|
|
- position: relative;
|
|
|
|
-}
|
|
|
|
-.record:after {
|
|
|
|
- position: absolute;
|
|
|
|
- content: '';
|
|
|
|
- display: block;
|
|
|
|
- top: 5px;
|
|
|
|
- right: -2px;
|
|
|
|
- width: 1px;
|
|
|
|
- height: 12px;
|
|
|
|
- background: #e9ecf7;
|
|
|
|
-}
|
|
|
|
-.el-row{
|
|
|
|
- height: 150px;
|
|
|
|
|
|
+// .record,
|
|
|
|
+// .adjustment {
|
|
|
|
+// display: inline-block;
|
|
|
|
+// color: #5878e8;
|
|
|
|
+// padding: 0 4px !important;
|
|
|
|
+// position: relative;
|
|
|
|
+// }
|
|
|
|
+// .record:after {
|
|
|
|
+// position: absolute;
|
|
|
|
+// content: '';
|
|
|
|
+// display: block;
|
|
|
|
+// top: 5px;
|
|
|
|
+// right: -2px;
|
|
|
|
+// width: 1px;
|
|
|
|
+// height: 12px;
|
|
|
|
+// background: #e9ecf7;
|
|
|
|
+// }
|
|
|
|
+.el-row {
|
|
|
|
+ height: 150px;
|
|
}
|
|
}
|
|
-.base_header_layout .grid-content{
|
|
|
|
- margin-top: 80px;
|
|
|
|
|
|
+.base_header_layout .grid-content {
|
|
|
|
+ margin-top: 80px;
|
|
}
|
|
}
|
|
-.but{
|
|
|
|
- margin-top: 150px;
|
|
|
|
|
|
+.but {
|
|
|
|
+ margin-top: 150px;
|
|
}
|
|
}
|
|
-.el-input--small .el-input__inner{
|
|
|
|
- margin-left: 20px;
|
|
|
|
|
|
+.el-input--small .el-input__inner {
|
|
|
|
+ margin-left: 20px;
|
|
}
|
|
}
|
|
.el-range-editor--small.el-input__inner {
|
|
.el-range-editor--small.el-input__inner {
|
|
- height: 32px;
|
|
|
|
- margin-left: -20%;
|
|
|
|
|
|
+ height: 32px;
|
|
|
|
+ margin-left: -20%;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|