|
@@ -1,11 +1,11 @@
|
|
|
//出入库任务
|
|
|
<template>
|
|
|
<div class="container">
|
|
|
- <el-row>
|
|
|
- <el-col :span="20">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="12">
|
|
|
<h2 class="bg-left title">出入库任务</h2>
|
|
|
</el-col>
|
|
|
- <el-col :span="4" class="bg-right">
|
|
|
+ <el-col :span="12" class="bg-right">
|
|
|
<el-button
|
|
|
class="bg-bottom"
|
|
|
type="primary"
|
|
@@ -20,26 +20,18 @@
|
|
|
/>返回</el-button
|
|
|
>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
- <BaseHeaderLayout :leftSpan="12">
|
|
|
- <template slot="left">
|
|
|
- <ws-button class="but" type="primary" @click="statusquery(1)">
|
|
|
- 执行中</ws-button
|
|
|
- >
|
|
|
- <ws-button class="but" @click="statusquery(2)">已完成</ws-button>
|
|
|
- </template>
|
|
|
- <!-- 接单开始 -->
|
|
|
- <template slot="right">
|
|
|
- <ws-input
|
|
|
+ </el-row>
|
|
|
+ <!-- <div> -->
|
|
|
+ <div>
|
|
|
+ <ws-input
|
|
|
v-model="searchKeyWord"
|
|
|
- placeholder="可按发货人、收货人、任务编号查找"
|
|
|
+ placeholder="可按照合同编号和任务编号进行查找"
|
|
|
clearable
|
|
|
maxlength="500"
|
|
|
type="input"
|
|
|
class="findValue"
|
|
|
></ws-input>
|
|
|
- <!-- v-hasPermission="'procurement.sparepart.directShip'" -->
|
|
|
- <ws-button class="find" type="primary" @click="find()"
|
|
|
+ <ws-button class="but" type="primary" @click="find()"
|
|
|
><img
|
|
|
width="16"
|
|
|
height="16"
|
|
@@ -52,10 +44,11 @@
|
|
|
src="../../../public/img/sousuo.png"
|
|
|
alt=""
|
|
|
/></ws-button>
|
|
|
-
|
|
|
- </template>
|
|
|
- </BaseHeaderLayout>
|
|
|
- <div>
|
|
|
+ </div>
|
|
|
+ <ws-button type="primary" @click="statusquery(1)" >
|
|
|
+ 执行中</ws-button
|
|
|
+ >
|
|
|
+ <ws-button @click="statusquery(2)">已完成</ws-button>
|
|
|
<el-table
|
|
|
class="wenzi"
|
|
|
:data="warehouseList.records"
|
|
@@ -90,7 +83,7 @@
|
|
|
<el-table-column class="table_td" prop="agent" label="经办人" >
|
|
|
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="status" label="状态">
|
|
|
+ <el-table-column prop="taskStatus" label="状态">
|
|
|
<template slot-scope="scope">
|
|
|
<el-popover
|
|
|
placement="left"
|
|
@@ -102,15 +95,15 @@
|
|
|
<template>
|
|
|
<span slot="reference">
|
|
|
<span
|
|
|
- v-if="scope.row.status == '待执行'"
|
|
|
+ v-if="scope.row.taskStatus == '待执行'"
|
|
|
class="executory"
|
|
|
></span>
|
|
|
<span
|
|
|
- v-if="scope.row.status == '执行中'"
|
|
|
+ v-if="scope.row.taskStatus == '执行中'"
|
|
|
class="inExecution"
|
|
|
></span>
|
|
|
- <span v-if="scope.row.status == '已完成'" class="done"></span
|
|
|
- >{{ scope.row.status }}
|
|
|
+ <span v-if="scope.row.taskStatus == '已完成'" class="done"></span
|
|
|
+ >{{ scope.row.taskStatus }}
|
|
|
</span>
|
|
|
</template>
|
|
|
<div>
|
|
@@ -158,13 +151,13 @@
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="currentPage"
|
|
|
- :page-size="deptCircularPage.pageSize"
|
|
|
+ :page-size="pageSize"
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
:total="deptBudgetTotal"
|
|
|
>
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ <!-- </div> -->
|
|
|
</template>
|
|
|
<script>
|
|
|
import {
|
|
@@ -219,7 +212,8 @@ export default {
|
|
|
submitType: true,
|
|
|
size: 10,
|
|
|
spanArr: [],
|
|
|
- warehouseName: '',
|
|
|
+ contractNo: '',
|
|
|
+ inOutTaskNo:'',
|
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
deptCircularPage: {},
|
|
|
warehouseList: [],
|
|
@@ -234,9 +228,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
|
- //cg.viewBudget
|
|
|
- //cg.viewSpareMoney
|
|
|
- // this.getVesselData();
|
|
|
this.getList()
|
|
|
this.showType = this.isShow
|
|
|
},
|
|
@@ -250,6 +241,8 @@ export default {
|
|
|
contractType:this.contractType,
|
|
|
tranTypeKey: this.tranTypeKey,
|
|
|
searchType:this.searchType,
|
|
|
+ contractNo:this.contractNo,
|
|
|
+ inOutTaskNo:this.inOutTaskNo,
|
|
|
|
|
|
})
|
|
|
.toPromise()
|
|
@@ -354,7 +347,7 @@ export default {
|
|
|
},
|
|
|
editClick(row) {
|
|
|
var status = ''
|
|
|
- if (row.status == '待执行' || row.status == '已完成') {
|
|
|
+ if (row.status == '待审核' || row.status == '已完成') {
|
|
|
status = '执行中'
|
|
|
} else if (row.status == '执行中') {
|
|
|
status = '已完成'
|
|
@@ -390,26 +383,26 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- fujian(row) {
|
|
|
- if (
|
|
|
- row.receiveAttachmentPath === null ||
|
|
|
- row.receiveAttachmentPath === ''
|
|
|
- ) {
|
|
|
- EventBus.$emit(
|
|
|
- 'warning',
|
|
|
- this.$t('system.noticeCircular.NoInformation')
|
|
|
- )
|
|
|
- } else {
|
|
|
- this.accessoryTFs = true
|
|
|
- }
|
|
|
- this.appendixIdss = row.receiveAttachmentPath
|
|
|
- },
|
|
|
+ // fujian(row) {
|
|
|
+ // if (
|
|
|
+ // row.receiveAttachmentPath === null ||
|
|
|
+ // row.receiveAttachmentPath === ''
|
|
|
+ // ) {
|
|
|
+ // EventBus.$emit(
|
|
|
+ // 'warning',
|
|
|
+ // this.$t('system.noticeCircular.NoInformation')
|
|
|
+ // )
|
|
|
+ // } else {
|
|
|
+ // this.accessoryTFs = true
|
|
|
+ // }
|
|
|
+ // this.appendixIdss = row.receiveAttachmentPath
|
|
|
+ // },
|
|
|
handleExamine(row) {
|
|
|
this.$router.push({
|
|
|
name: 'salesContractExamine',
|
|
|
query: { id: row.id },
|
|
|
})
|
|
|
- },
|
|
|
+ },
|
|
|
// 关闭 dialog时 处理文件url 初始化upload组件
|
|
|
handleCloe() {
|
|
|
this.dialogViewSpareMoney = false
|
|
@@ -421,6 +414,7 @@ export default {
|
|
|
this.historyList = response
|
|
|
})
|
|
|
},
|
|
|
+ //查找
|
|
|
find() {
|
|
|
this.currentPage = 1
|
|
|
this.getList()
|
|
@@ -492,6 +486,7 @@ export default {
|
|
|
/deep/.findValue .el-input__inner {
|
|
|
border-top-right-radius: 0px;
|
|
|
border-bottom-right-radius: 0px;
|
|
|
+ width: 385px;
|
|
|
}
|
|
|
.completed.el-button--default {
|
|
|
border-color: #5878e8;
|
|
@@ -530,15 +525,12 @@ export default {
|
|
|
height: 12px;
|
|
|
background: #e9ecf7;
|
|
|
}
|
|
|
-.el-row{
|
|
|
- height: 150px;
|
|
|
-}
|
|
|
+// .el-row{
|
|
|
+// height: 150px;
|
|
|
+// }
|
|
|
.base_header_layout .grid-content{
|
|
|
margin-top: 80px;
|
|
|
}
|
|
|
-.but{
|
|
|
- margin-top: 150px;
|
|
|
-}
|
|
|
.el-input--small .el-input__inner{
|
|
|
margin-left: 20px;
|
|
|
}
|
|
@@ -576,5 +568,87 @@ export default {
|
|
|
}
|
|
|
.container {
|
|
|
overflow: scroll;
|
|
|
+ height: 93vh;
|
|
|
+}
|
|
|
+.button-container {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ background-color: #fff;
|
|
|
+ width: 100%;
|
|
|
+ height: 50px;
|
|
|
+ padding: 0 10px;
|
|
|
+ & > div {
|
|
|
+ margin-left: 10px;
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ flex-direction: row;
|
|
|
+ & > span {
|
|
|
+ line-height: 50px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /deep/.auditFlow-box {
|
|
|
+ position: unset;
|
|
|
+ margin-left: 10px;
|
|
|
+ &/deep/.auditFlow-icon {
|
|
|
+ width: auto;
|
|
|
+ padding-right: 30px;
|
|
|
+ }
|
|
|
+ &/deep/.auditFlow-main {
|
|
|
+ position: absolute;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.bg-left {
|
|
|
+ padding-left: 30px;
|
|
|
}
|
|
|
+.title {
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.title::before {
|
|
|
+ content: '';
|
|
|
+ display: inline-block;
|
|
|
+ width: 5px;
|
|
|
+ height: 30px;
|
|
|
+ background: #5473e8;
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+}
|
|
|
+.el-button--primary {
|
|
|
+ background-color: #5878e8;
|
|
|
+ border-color: #5878e8;
|
|
|
+ // margin-left: 85%;
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+//导航条样式
|
|
|
+.el-col-12 {
|
|
|
+ width: 50%;
|
|
|
+ height: 60px;
|
|
|
+ background: #F6F7FC;
|
|
|
+ border-radius: 4px 4px 1px 1px;
|
|
|
+}
|
|
|
+.el-input--small .el-input__inner {
|
|
|
+ height: 32px;
|
|
|
+ line-height: 32px;
|
|
|
+ width: 385px;
|
|
|
+ margin-top: 10px;
|
|
|
+}
|
|
|
+.bg-bottom{
|
|
|
+ margin-left: 85%;
|
|
|
+}
|
|
|
+.but {
|
|
|
+ margin-left: 30%;
|
|
|
+ /* margin-top: -32px; */
|
|
|
+ overflow: auto;
|
|
|
+ /* float: left; */
|
|
|
+ /* margin-left: 1px; */
|
|
|
+ margin-left: -10px;
|
|
|
+}
|
|
|
+.el-input--small {
|
|
|
+ font-size: 13px;
|
|
|
+ width: 390px;
|
|
|
+}
|
|
|
+
|
|
|
</style>
|