Commit d8e067ca authored by dcy's avatar dcy

调仓明细列表

parent f655cc3c
...@@ -88,10 +88,26 @@ ...@@ -88,10 +88,26 @@
:key="index"></el-option> :key="index"></el-option>
</el-select></el-col> </el-select></el-col>
</el-row> </el-row>
<el-divider></el-divider> <el-divider contentPosition="left">调仓明细</el-divider>
<h1 class="title"> <el-card class="box-card">
审批流程 <el-table :data="warehouseList">
</h1> <el-table-column label="调仓编号" prop="id"></el-table-column>
<el-table-column label="调出仓库" prop="warehouseOutName" ></el-table-column>
<el-table-column label="调入仓库" prop="warehouseInName"></el-table-column>
<el-table-column label="申请人" prop="creatorName"></el-table-column>
<el-table-column label="申请时间">
<template v-slot="{row}">
{{parseTime(row.createTime)}}
</template>
</el-table-column>
<el-table-column label="状态">
<template v-slot="{row}">
{{STATUS[row.status]}}
</template>
</el-table-column>
</el-table>
</el-card>
<el-divider contentPosition="left">审批流程</el-divider>
<div style="padding: 20px"> <div style="padding: 20px">
<work-flow xmlkey="warehouse_transfer" v-model="params.copyUserId"/> <work-flow xmlkey="warehouse_transfer" v-model="params.copyUserId"/>
</div> </div>
...@@ -120,7 +136,7 @@ import { ...@@ -120,7 +136,7 @@ import {
} from "@/api/ecw/batchSingleApplication"; } from "@/api/ecw/batchSingleApplication";
import {getProcessDefinitionBpmnXMLByKey} from "@/api/bpm/definition"; import {getProcessDefinitionBpmnXMLByKey} from "@/api/bpm/definition";
import warehouseDetails from "@/views/ecw/order/components/warehouseDetails"; import warehouseDetails from "@/views/ecw/order/components/warehouseDetails";
import {getOrderPage} from "@/api/ecw/order"; import {getAdjustInfo, getOrderPage} from "@/api/ecw/order";
import workFlow from "@/components/WorkFlow"; import workFlow from "@/components/WorkFlow";
import Template from "@/views/cms/template"; import Template from "@/views/cms/template";
import {arrryToKeyedObjectBy} from "@/utils"; import {arrryToKeyedObjectBy} from "@/utils";
...@@ -142,11 +158,16 @@ export default { ...@@ -142,11 +158,16 @@ export default {
}, },
created() { created() {
getChannelList().then(res => this.channelList = res.data) getChannelList().then(res => this.channelList = res.data)
}, },
watch: { watch: {
dialogVisible(val) { dialogVisible(val) {
if (val) { if (val) {
this.getOrderListFn() this.getOrderListFn()
getAdjustInfo({orderId:this.orderList,lang:0}).then(r => {
this.warehouseList = r.data
})
} else { } else {
this.params = { this.params = {
orderIds: undefined, orderIds: undefined,
...@@ -175,6 +196,7 @@ export default { ...@@ -175,6 +196,7 @@ export default {
}, },
data() { data() {
return { return {
STATUS : {1:'申请中', 2:'通过', 3:'不通过', 4:'已取消', 5:'已出仓',6:'已到仓'},
list: [], list: [],
selectedUsers: [], selectedUsers: [],
availableWarehouse: [], availableWarehouse: [],
...@@ -188,7 +210,8 @@ export default { ...@@ -188,7 +210,8 @@ export default {
copyUserId: [], copyUserId: [],
}, },
applyStatus:{},//调仓-查看状态, applyStatus:{},//调仓-查看状态,
channelList:[] channelList:[],
warehouseList:[]
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment