408249787 11 сар өмнө
parent
commit
f98d293d05

+ 2 - 2
src/utils/dict.js

@@ -414,14 +414,14 @@ DictCache.VALUE = {
     SB_ALLOCATE_FORM: 'sb_info_allocate',
     SB_STOP_FORM: 'sb_info_stop',
     OUT_STORE_BACK: 'out_store_back',
-    OUT_STORE_BACK_GWL_1: 'out_store_back_gwl_1'
+    OUT_STORE_BACK_GWL_3: 'out_store_back_gwl_3'
   },
   SB_INFO_AUDIT_MODEL_NAME: {
     'sb_info_scrap': '设备报废审批', // 报废
     'sb_info_stop': '设备停用审批', // 停用
     'sb_info_allocate': '设备调拨审批', // 调拨
     'out_store_back': '仓库审批', // 调拨
-    'out_store_back_gwl_1': '仓库审批' // 调拨
+    'out_store_back_gwl_3': '仓库审批' // 调拨
   },
   CUSTOM_TEMPLATE_SB_REMARK_NUMBER: {
     SB_FIELD_TYPE: 1,

+ 2 - 2
src/views/activiti/task/MyTask.vue

@@ -158,7 +158,7 @@ export default {
     },
     handleAudit(record) {
       this.visible = false
-      if (record.targetCode === 'out_store_back' || record.targetCode === 'out_store_back_gwl_1') {
+      if (record.targetCode === 'out_store_back' || record.targetCode === 'out_store_back_gwl_3') {
         // 仓库审批跳转到仓库审批页面
         fetchOutStoreForm({ id: record.targetId }).then(res => {
           const templateData = res.data
@@ -181,7 +181,7 @@ export default {
       }
     },
     handleChange(record) {
-      if (record.targetCode === 'out_store_back' || record.targetCode === 'out_store_back_gwl_1') {
+      if (record.targetCode === 'out_store_back' || record.targetCode === 'out_store_back_gwl_3') {
         // 仓库审批
         this.$refs.assignForm.base(record)
       } else {

+ 1 - 1
src/views/activiti/task/MyTaskClaim.vue

@@ -151,7 +151,7 @@ export default {
     },
     handleClaim(record) {
       this.confirmLoading = true
-      if (record.targetCode === 'out_store_back' || record.targetCode === 'out_store_back_gwl_1') {
+      if (record.targetCode === 'out_store_back' || record.targetCode === 'out_store_back_gwl_3') {
         // 仓库审批
         claimOutStoreFormForAudit({ taskId: record.taskId })
           .then(res => {

+ 1 - 1
src/views/activiti/task/MyTaskFinish.vue

@@ -212,7 +212,7 @@ export default {
     },
     handleView(record) {
       this.visible = false
-      if (record.targetCode === 'out_store_back' || record.targetCode === 'out_store_back_gwl_1') {
+      if (record.targetCode === 'out_store_back' || record.targetCode === 'out_store_back_gwl_3') {
         // 仓库审批跳转到仓库审批页面
         fetchOutStoreForm({ id: record.targetId }).then(res => {
           const templateData = res.data

+ 1 - 1
src/views/activiti/task/modules/AssignForm.vue

@@ -74,7 +74,7 @@ export default {
           return
         }
         values.taskId = this.record.taskId
-        if (this.record.targetCode === 'out_store_back' || this.record.targetCode === 'out_store_back_gwl_1') {
+        if (this.record.targetCode === 'out_store_back' || this.record.targetCode === 'out_store_back_gwl_3') {
           // 仓库审批
           changeOutStoreFormForAudit(values)
             .then(res => {

+ 2 - 2
src/views/repair/application-form/modules/DetailRepair.vue

@@ -1828,9 +1828,9 @@ export default {
       params.id = record.id
       params.processInstanceId = ''
       params.auditModelName =
-        !record.projectName || record.projectName.indexOf('龚文林') === -1 ? '仓库审批' : '仓库审批-龚文林_1'
+        !record.projectName || record.projectName.indexOf('龚文林') === -1 ? '仓库审批' : '仓库审批-龚文林_3'
       params.auditModelKey =
-        !record.projectName || record.projectName.indexOf('龚文林') === -1 ? 'out_store_back' : 'out_store_back_gwl_1'
+        !record.projectName || record.projectName.indexOf('龚文林') === -1 ? 'out_store_back' : 'out_store_back_gwl_3'
       startSbInfoScrap(params).then(res => {
         this.$message.info('已提交,请等待主管审核')
         getRepairSpare({ id: this.model.id }).then(res => {

+ 1 - 1
src/views/sb/scraps/modules/DetailAudit.vue

@@ -187,7 +187,7 @@ export default {
         this.sbInfoStop = true
       } else if (
         record.remark === this.DictCache.VALUE.CUSTOM_TEMPLATE_SB_REMARK.OUT_STORE_BACK ||
-        record.remark === this.DictCache.VALUE.CUSTOM_TEMPLATE_SB_REMARK.OUT_STORE_BACK_GWL_1
+        record.remark === this.DictCache.VALUE.CUSTOM_TEMPLATE_SB_REMARK.OUT_STORE_BACK_GWL_3
       ) {
         this.storeInfo = true
       }

+ 2 - 2
src/views/store/outstoreform/OutStoreFormYY.vue

@@ -402,9 +402,9 @@ export default {
       params.id = record.id
       params.processInstanceId = ''
       params.auditModelName =
-        !record.projectName || record.projectName.indexOf('龚文林') === -1 ? '仓库审批' : '仓库审批-龚文林_1'
+        !record.projectName || record.projectName.indexOf('龚文林') === -1 ? '仓库审批' : '仓库审批-龚文林_3'
       params.auditModelKey =
-        !record.projectName || record.projectName.indexOf('龚文林') === -1 ? 'out_store_back' : 'out_store_back_gwl_1'
+        !record.projectName || record.projectName.indexOf('龚文林') === -1 ? 'out_store_back' : 'out_store_back_gwl_3'
       startSbInfoScrap(params).then(res => {
         this.$message.info('已提交,请等待主管审核')
         this.$refs.table.refresh()