Commit 90a28d05 authored by dcy's avatar dcy

抄送人添加2

parent 05a56a76
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<el-divider></el-divider> <el-divider></el-divider>
<h2>审批流程</h2> <h2>审批流程</h2>
<div style="padding: 20px"> <div style="padding: 20px">
<my-process-viewer key="designer" v-model="bpmnXML" v-bind="bpmnControlForm" /> <work-flow xmlkey="retired_warehouse" v-model="params.copyUserId" />
</div> </div>
<div> <div>
<el-button @click="submit" type="primary" style="margin-right: 20px;">确定退仓</el-button> <el-button @click="submit" type="primary" style="margin-right: 20px;">确定退仓</el-button>
...@@ -23,12 +23,16 @@ ...@@ -23,12 +23,16 @@
import {getOrder} from "@/api/ecw/order"; import {getOrder} from "@/api/ecw/order";
import {orderWarehouseInDelete} from "@/api/ecw/batchSingleApplication"; import {orderWarehouseInDelete} from "@/api/ecw/batchSingleApplication";
import {getProcessDefinitionBpmnXMLByKey} from "@/api/bpm/definition"; import {getProcessDefinitionBpmnXMLByKey} from "@/api/bpm/definition";
import workFlow from "@/components/WorkFlow";
export default { export default {
name: "withdrawal", name: "withdrawal",
props:{ props:{
orderId:String orderId:String
}, },
components:{
workFlow
},
data(){ data(){
return { return {
orderDetails:{}, orderDetails:{},
...@@ -40,14 +44,12 @@ export default { ...@@ -40,14 +44,12 @@ export default {
orderId:undefined, orderId:undefined,
orderNo:undefined, orderNo:undefined,
reason:'', reason:'',
} copyUserId:[]
},
} }
}, },
created() { created() {
getOrder(this.orderId).then(r => this.orderDetails = r.data); getOrder(this.orderId).then(r => this.orderDetails = r.data);
getProcessDefinitionBpmnXMLByKey("retired_warehouse").then(response => {
this.bpmnXML = response.data
})
}, },
methods:{ methods:{
submit(){ submit(){
......
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