Browse Source

完善采购申请

master
yunuo970428 2 years ago
parent
commit
ed8e3eb539
  1. 4
      supervise-customer-ui/src/router/modules/codemenu.js
  2. 9
      supervise-customer-ui/src/views/supervise/purchaseapplicationmanagement/purchaseapplicationmanagementAdd.vue

4
supervise-customer-ui/src/router/modules/codemenu.js

@ -19,8 +19,8 @@ const codemenu = [{
redirect: '/khzxcgsq/index',
children: [{
path: '/khzxcgsq/index',
component: () => import('@/views/supervise/purchaseapplicationmanagement/purchaseapplicationmanagement.vue'),
name: 'purchaseapplicationmanagement',
component: () => import('@/views/supervise/purchaseapplicationmanagement/purchaseapplicationmanagementAdd.vue'),
name: 'PurchaseApplicationManagementAdd',
meta: {
title: '采购申请',
noCache: true

9
supervise-customer-ui/src/views/supervise/purchaseapplicationmanagement/purchaseapplicationmanagementAdd.vue

@ -280,8 +280,7 @@ export default {
},
created() {},
methods: {
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
handleReturn() {
this.formobj = {
sid: '',
code: '', //
@ -309,7 +308,9 @@ export default {
this.totalQuantity = ''
this.amountInTotal = ''
this.$refs['form_obj'].resetFields()
this.$emit('doback')
this.$store.dispatch('tagsView/delView', this.$route)
this.$router.go(-1)
// this.$emit('doback')
},
showAdd() {
this.$nextTick(() => {
@ -394,7 +395,7 @@ export default {
this.submitdisabled = false
if (resp.success) {
this.$message({ showClose: true, type: 'success', message: resp.msg })
this.handleReturn('true')
this.handleReturn()
} else {
// resp.code
}

Loading…
Cancel
Save