|
|
@ -17,7 +17,7 @@ |
|
|
|
<!--标题按钮部分结束--> |
|
|
|
<!--Start 新增修改部分--> |
|
|
|
<div class=""><!-- --> |
|
|
|
<div class="title">分公司间调账申请</div> <!--:rules="rules"--> |
|
|
|
<div class="title">分公司间调账申请</div> |
|
|
|
<el-form ref="dataForm" :model="temp" :rules="rules" :inline="true" label-width="120px"> |
|
|
|
<div class="invoiceadd" style="margin-top: 5px;"> |
|
|
|
<el-row> |
|
|
@ -112,8 +112,9 @@ |
|
|
|
<el-row style="border-bottom: 1px solid #e0e3eb;"> |
|
|
|
<el-col :span="4" class="tleftb">意见</el-col> |
|
|
|
<el-col :span="20" class="trightb"> |
|
|
|
<el-input size="small" v-model="dialogList.comment" placeholder="审批意见" class="addinputw" |
|
|
|
clearable></el-input> |
|
|
|
<el-form-item> |
|
|
|
<el-input size="small" v-model="dialogList.comment" placeholder="审批意见" class="addinputw" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div style="text-align:center;margin-top: 20px;"> |
|
|
@ -126,11 +127,11 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import {fetchDetailsBySid} from '@/api/supplychain/tiaozhangshenqing.js' |
|
|
|
import { fetchDetailsBySid } from '@/api/supplychain/tiaozhangshenqing.js' |
|
|
|
import req from '@/api/flow/tiaozhangshenqing' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'tiaozhangshenqing', |
|
|
|
name: 'tiaozhangshenqingOrgChange', |
|
|
|
data() { |
|
|
|
return { |
|
|
|
isXuanche: false, |
|
|
@ -236,8 +237,6 @@ export default { |
|
|
|
this.transactState = obj.transactState |
|
|
|
// 加载流程图相关的数据 |
|
|
|
this.showInfo(obj.businessSid) |
|
|
|
this.getModelDetail(obj.deployId) |
|
|
|
this.getFlowViewer(obj.instanceId) |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
showInfo(sid) { |
|
|
@ -256,19 +255,6 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
// ---------- 流程开始 ------------------------------ |
|
|
|
/** xml 文件 */ |
|
|
|
getModelDetail(deployId) { |
|
|
|
// 发送请求,获取xml |
|
|
|
req.readXml(deployId).then((res) => { |
|
|
|
this.xmlData = res.data |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 已办环节的节点 |
|
|
|
getFlowViewer(procInsId) { |
|
|
|
req.getFlowViewer(procInsId).then((res) => { |
|
|
|
this.taskList = res.data |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 点击同意 |
|
|
|
openAgree(val) { |
|
|
|
this.operation = val |
|
|
@ -277,7 +263,7 @@ export default { |
|
|
|
// const formVariables = { |
|
|
|
// businessSid: this.agreeList.businessSid |
|
|
|
// } |
|
|
|
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey }).then((resp) => { |
|
|
|
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, sid: this.agreeList.businessSid }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
var arr = resp.data |
|
|
|
this.nextNode = arr[0] |
|
|
|