标准入库流程提交 单元模块变型号展示

This commit is contained in:
宋伟佳
2022-03-07 16:00:20 +08:00
parent e024929772
commit f21499afe0
2 changed files with 17 additions and 6 deletions
@@ -1186,10 +1186,10 @@ export default {
}, },
handleSubmit() { handleSubmit() {
this.isSubmit = true this.isSubmit = true
this.form.submitType = this.submitType
this.form.commentText = this.commentText this.form.commentText = this.commentText
this.form.approvalOpinion = this.approvalOpinion this.form.approvalOpinion = this.approvalOpinion
const json = JSON.stringify(this.form); const json = JSON.stringify(this.form);
json.submitType = this.submitType
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds, taskIds: this.taskIds,
userId : this.userId, userId : this.userId,
@@ -875,10 +875,11 @@
:lazy=true :lazy=true
:multiple=true :multiple=true
:check-strictly=true :check-strictly=true
:show-checkBox=true
:modalShowFlag="modalShowFlag4" :modalShowFlag="modalShowFlag4"
:drawerTitle="drawerTitle" :drawerTitle="drawerTitle"
:url="url" :url="url"
:type="'TRUCK'"
:show-checkBox="showCheckBox"
:urlChild="urlChild" :urlChild="urlChild"
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3" :defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel" @popoverHideCancel="popoverHideModelCancel"></tree-select-module> :nodeKey="nodeKeyModel" @popoverHide="popoverHideModel" @popoverHideCancel="popoverHideModelCancel"></tree-select-module>
@@ -895,6 +896,7 @@
:drawerTitle="drawerTitle" :drawerTitle="drawerTitle"
:url="url" :url="url"
:type="'CAR'" :type="'CAR'"
:show-checkBox="showCheckBox"
:urlChild="urlChild" :urlChild="urlChild"
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3" :defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel2" @popoverHideCancel="popoverHideModelCancel2"></tree-select-module> :nodeKey="nodeKeyModel" @popoverHide="popoverHideModel2" @popoverHideCancel="popoverHideModelCancel2"></tree-select-module>
@@ -1596,6 +1598,7 @@ export default {
commentText: '', // 意见 commentText: '', // 意见
title: '', // 新增编辑抽屉标题 title: '', // 新增编辑抽屉标题
ListModel: false, // 新增编辑抽屉开关 ListModel: false, // 新增编辑抽屉开关
showCheckBox: true, // 树形控件是否展示多选框
active: '1', // 默认显示 active: '1', // 默认显示
isSubmit: false, isSubmit: false,
saveLoading: false, saveLoading: false,
@@ -1988,11 +1991,19 @@ export default {
this.modalShowFlag4 = true this.modalShowFlag4 = true
this.url = '' this.url = ''
this.urlChild = '' this.urlChild = ''
this.url = "sarModelTree/list" this.url = "sarModelTree/listByType"
this.urlChild = "sarModelTree/childByList" this.urlChild = "sarModelTree/childByList"
this.key3++ this.key3++
}, },
choiceZRR5(type, title, id) {
this.drawerTitle = title
this.modalShowFlag5 = true
this.url = ''
this.urlChild = ''
this.url = "sarModelTree/listByType"
this.urlChild = "sarModelTree/childByList"
this.key4++
},
choiceTree(type, title, id) { choiceTree(type, title, id) {
this.drawerTitle = title this.drawerTitle = title
this.getListTree(this.form) this.getListTree(this.form)
@@ -2801,10 +2812,10 @@ export default {
if (res.ok) { if (res.ok) {
this.fileInfoHandle(); this.fileInfoHandle();
this.isSubmit = true this.isSubmit = true
this.form.submitType = this.submitType
this.form.commentText = this.commentText this.form.commentText = this.commentText
this.form.approvalOpinion = this.approvalOpinion this.form.approvalOpinion = this.approvalOpinion
const json = JSON.stringify(this.form); const json = JSON.stringify(this.form);
json.submitType = this.submitType
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds, taskIds: this.taskIds,
userId: this.userId, userId: this.userId,
@@ -2829,10 +2840,10 @@ export default {
} else { } else {
this.fileInfoHandle(); this.fileInfoHandle();
this.isSubmit = true this.isSubmit = true
this.form.submitType = this.submitType
this.form.commentText = this.commentText this.form.commentText = this.commentText
this.form.approvalOpinion = this.approvalOpinion this.form.approvalOpinion = this.approvalOpinion
const json = JSON.stringify(this.form); const json = JSON.stringify(this.form);
json.submitType = this.submitType
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds, taskIds: this.taskIds,
userId: this.userId, userId: this.userId,