Browse Source

完善分公司间调账--流程最后提交财务中心核算经理审批

master
yunuo970428 3 years ago
parent
commit
04f299abda
  1. 2
      anrui-scm/anrui-scm-ui/src/api/flow/tiaozhangshenqing.js
  2. 7
      anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js
  3. 28
      anrui-scm/anrui-scm-ui/src/views/workFlow/tiaozhangshenqingFlow/tiaozhangshenqingOrgChange.vue

2
anrui-scm/anrui-scm-ui/src/api/flow/tiaozhangshenqing.js

@ -18,7 +18,7 @@ export default {
}, },
agreeTaskOrgChange: function(params) { agreeTaskOrgChange: function(params) {
return request({ return request({
url: '/base/v1/baseaccadjapply/InitiatorToAnswer', url: '/base/v1/baseaccadjapply/companyToFinancialCenter',
method: 'post', method: 'post',
data: params data: params
}) })

7
anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js

@ -945,6 +945,13 @@ const codemenu = [
import('@/views/workFlow/tiaozhangshenqingFlow/tiaozhangshenqingByWiPinMoney.vue'), import('@/views/workFlow/tiaozhangshenqingFlow/tiaozhangshenqingByWiPinMoney.vue'),
name: 'tiaozhangshenqingByWiPinMoney' name: 'tiaozhangshenqingByWiPinMoney'
}, },
// 分公司调车调账--分公司--财务中心
{
path: '/tiaozhangshenqingFlow/tiaozhangshenqingOrgChange',
component: () =>
import('@/views/workFlow/tiaozhangshenqingFlow/tiaozhangshenqingOrgChange.vue'),
name: 'tiaozhangshenqingOrgChange'
},
// 上装调价申请详情页面 // 上装调价申请详情页面
{ {
path: '/shangzhuangtiaojiaFlow/shangzhuangtiaojiaguanli/shangzhuangtiaojiaDaiBanInfo', path: '/shangzhuangtiaojiaFlow/shangzhuangtiaojiaguanli/shangzhuangtiaojiaDaiBanInfo',

28
anrui-scm/anrui-scm-ui/src/views/workFlow/tiaozhangshenqingFlow/tiaozhangshenqingOrgChange.vue

@ -17,7 +17,7 @@
<!--标题按钮部分结束--> <!--标题按钮部分结束-->
<!--Start 新增修改部分--> <!--Start 新增修改部分-->
<div class=""><!-- --> <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"> <el-form ref="dataForm" :model="temp" :rules="rules" :inline="true" label-width="120px">
<div class="invoiceadd" style="margin-top: 5px;"> <div class="invoiceadd" style="margin-top: 5px;">
<el-row> <el-row>
@ -112,8 +112,9 @@
<el-row style="border-bottom: 1px solid #e0e3eb;"> <el-row style="border-bottom: 1px solid #e0e3eb;">
<el-col :span="4" class="tleftb">意见</el-col> <el-col :span="4" class="tleftb">意见</el-col>
<el-col :span="20" class="trightb"> <el-col :span="20" class="trightb">
<el-input size="small" v-model="dialogList.comment" placeholder="审批意见" class="addinputw" <el-form-item>
clearable></el-input> <el-input size="small" v-model="dialogList.comment" placeholder="审批意见" class="addinputw" clearable></el-input>
</el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<div style="text-align:center;margin-top: 20px;"> <div style="text-align:center;margin-top: 20px;">
@ -126,11 +127,11 @@
</template> </template>
<script> <script>
import {fetchDetailsBySid} from '@/api/supplychain/tiaozhangshenqing.js' import { fetchDetailsBySid } from '@/api/supplychain/tiaozhangshenqing.js'
import req from '@/api/flow/tiaozhangshenqing' import req from '@/api/flow/tiaozhangshenqing'
export default { export default {
name: 'tiaozhangshenqing', name: 'tiaozhangshenqingOrgChange',
data() { data() {
return { return {
isXuanche: false, isXuanche: false,
@ -236,8 +237,6 @@ export default {
this.transactState = obj.transactState this.transactState = obj.transactState
// //
this.showInfo(obj.businessSid) this.showInfo(obj.businessSid)
this.getModelDetail(obj.deployId)
this.getFlowViewer(obj.instanceId)
}, },
methods: { methods: {
showInfo(sid) { 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) { openAgree(val) {
this.operation = val this.operation = val
@ -277,7 +263,7 @@ export default {
// const formVariables = { // const formVariables = {
// businessSid: this.agreeList.businessSid // 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) { if (resp.success) {
var arr = resp.data var arr = resp.data
this.nextNode = arr[0] this.nextNode = arr[0]

Loading…
Cancel
Save