|
@@ -4,17 +4,17 @@
|
|
<BaseHeaderLayout :leftSpan="20">
|
|
<BaseHeaderLayout :leftSpan="20">
|
|
<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,29 +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="可按照合同编号、买方名称、卖方名称进行查找"
|
|
@@ -146,61 +146,58 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</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 }}
|
|
|
|
|
|
+ <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 }}
|
|
|
|
+ </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-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 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
|
|
@@ -234,12 +231,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import {
|
|
|
|
- getList,
|
|
|
|
- export1,
|
|
|
|
- editstatus,
|
|
|
|
- billoperatehis,
|
|
|
|
-} from '@/model/warehouse/index'
|
|
|
|
|
|
+import { automobileList } 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'
|
|
@@ -330,7 +322,7 @@ export default {
|
|
positionId: item.binNumberId,
|
|
positionId: item.binNumberId,
|
|
warehouseName: item.warehouseName,
|
|
warehouseName: item.warehouseName,
|
|
binNumber: item.binNumber,
|
|
binNumber: item.binNumber,
|
|
- capacity:item.capacity - free ,
|
|
|
|
|
|
+ capacity: item.capacity - free,
|
|
},
|
|
},
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -418,8 +410,8 @@ export default {
|
|
this.$router.push({ path: 'tranManagementTransportEdit' })
|
|
this.$router.push({ path: 'tranManagementTransportEdit' })
|
|
},
|
|
},
|
|
// 派车
|
|
// 派车
|
|
- warehousing(){
|
|
|
|
- this.$router.push({ path: 'tranManagementVehicleDispatching'})
|
|
|
|
|
|
+ warehousing() {
|
|
|
|
+ this.$router.push({ path: 'tranManagementVehicleDispatching' })
|
|
},
|
|
},
|
|
dateFormat(fmt, date) {
|
|
dateFormat(fmt, date) {
|
|
let ret
|
|
let ret
|
|
@@ -457,9 +449,10 @@ export default {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
getList() {
|
|
getList() {
|
|
- getList({
|
|
|
|
|
|
+ automobileList({
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
- warehouseName: this.warehouseName,
|
|
|
|
|
|
+ currentPage: this.currentPage,
|
|
|
|
+ pageSize: this.pageSize,
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
@@ -629,20 +622,20 @@ export default {
|
|
height: 12px;
|
|
height: 12px;
|
|
background: #e9ecf7;
|
|
background: #e9ecf7;
|
|
}
|
|
}
|
|
-.el-row{
|
|
|
|
- height: 150px;
|
|
|
|
|
|
+.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>
|