路由
This commit is contained in:
@@ -73,7 +73,7 @@ export function AddType2(num1, num2, num3) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 编辑
|
// 编辑
|
||||||
export function handlechange(num, num2, num3, num4, num5, num6, num7, num8) {
|
export function handleChange1(num, num2, num3, num4, num5, num6, num7, num8) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
|||||||
@@ -62,42 +62,6 @@ export const constantRouterMap = [
|
|||||||
component: () => import('@/views/dashboard/index')
|
component: () => import('@/views/dashboard/index')
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
// {
|
|
||||||
// path: '/ProjectManagement',
|
|
||||||
// component: Layout,
|
|
||||||
// children: [
|
|
||||||
// {
|
|
||||||
// path: 'summarize',
|
|
||||||
// name: 'summarize',
|
|
||||||
// component: () => import('@/views/ProjectManagement/summarize'),
|
|
||||||
// meta: { title: '项目总结', icon: 'summarize' }
|
|
||||||
// }
|
|
||||||
// ]
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// path: '/ProjectManagement',
|
|
||||||
// component: Layout,
|
|
||||||
// children: [
|
|
||||||
// {
|
|
||||||
// path: 'assess',
|
|
||||||
// name: 'assess',
|
|
||||||
// component: () => import('@/views/ProjectManagement/assess'),
|
|
||||||
// meta: { title: '项目考核', icon: 'assess' }
|
|
||||||
// }
|
|
||||||
// ]
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// path: '/ProjectManagement',
|
|
||||||
// component: Layout,
|
|
||||||
// children: [
|
|
||||||
// {
|
|
||||||
// path: 'progress',
|
|
||||||
// name: 'progress',
|
|
||||||
// component: () => import('@/views/ProjectManagement/progress'),
|
|
||||||
// meta: { title: '项目进展', icon: 'progress' }
|
|
||||||
// }
|
|
||||||
// ]
|
|
||||||
// }
|
|
||||||
]
|
]
|
||||||
|
|
||||||
export default new Router({
|
export default new Router({
|
||||||
@@ -107,65 +71,5 @@ export default new Router({
|
|||||||
})
|
})
|
||||||
|
|
||||||
export const asyncRouterMap = [
|
export const asyncRouterMap = [
|
||||||
{
|
|
||||||
path: '/BasicData',
|
|
||||||
component: Layout,
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'PersonnelManagement',
|
|
||||||
name: 'PersonnelManagement',
|
|
||||||
component: () => import('@/views/BasicData/PersonnelManagement'),
|
|
||||||
meta: { title: '人员管理', icon: 'PersonnelManagement' }
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/BasicData',
|
|
||||||
component: Layout,
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'UserRightsManagement',
|
|
||||||
name: 'UserRightsManagement',
|
|
||||||
component: () => import('@/views/BasicData/UserRightsManagement'),
|
|
||||||
meta: { title: '用户权限管理', icon: 'UserRightsManagement' }
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/TechnologyCenter',
|
|
||||||
component: Layout,
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'ImportParts',
|
|
||||||
name: 'ImportParts',
|
|
||||||
component: () => import('@/views/TechnologyCenter/ImportParts'),
|
|
||||||
meta: { title: '零件导入', icon: 'ImportParts' }
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/QueryParts',
|
|
||||||
component: Layout,
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'QueryParts',
|
|
||||||
name: 'QueryParts',
|
|
||||||
component: () => import('@/views/TechnologyCenter/QueryParts'),
|
|
||||||
meta: { title: '零件查询', icon: 'QueryParts' }
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/CreatePackingList',
|
|
||||||
component: Layout,
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'CreatePackingList',
|
|
||||||
name: 'CreatePackingList',
|
|
||||||
component: () => import('@/views/TechnologyCenter/CreatePackingList'),
|
|
||||||
meta: { title: '创建装箱单', icon: 'CreatePackingList' }
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{ path: '*', redirect: '/404', hidden: true }
|
{ path: '*', redirect: '/404', hidden: true }
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-col :span="8">
|
<el-col style="width: auto">
|
||||||
<el-row>
|
<el-row>
|
||||||
<span>外协厂家:</span>
|
<span>外协厂家:</span>
|
||||||
<el-input v-model="ManufacturerName" size="small" placeholder="外协厂家" clearable style="width:200px"/>
|
<el-input v-model="ManufacturerName" size="small" placeholder="外协厂家" clearable style="width:200px"/>
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
@current-change="handleCurrentChange"/>
|
@current-change="handleCurrentChange"/>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col style="width: auto">
|
||||||
<el-row>
|
<el-row>
|
||||||
<span style="margin-top: 10px">开票明细:</span>
|
<span style="margin-top: 10px">开票明细:</span>
|
||||||
<el-button class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="handleAdd1('form1')">新增</el-button>
|
<el-button class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="handleAdd1('form1')">新增</el-button>
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
@current-change="handleCurrentChange2"/>
|
@current-change="handleCurrentChange2"/>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col style="width: auto">
|
||||||
<el-row>
|
<el-row>
|
||||||
<span style="margin-top: 10px">付款明细:</span>
|
<span style="margin-top: 10px">付款明细:</span>
|
||||||
<el-button class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="handleAdd2('form2')">新增</el-button>
|
<el-button class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="handleAdd2('form2')">新增</el-button>
|
||||||
@@ -173,7 +173,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { searchtable, getInvoice, getPayment, AddType1, AddType2, handlechange, handledelete } from '@/api/Outsourcing/OutsourcingPaymentPlanManagement'
|
import { searchtable, getInvoice, getPayment, AddType1, AddType2, handleChange1, handledelete } from '@/api/Outsourcing/OutsourcingPaymentPlanManagement'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -331,7 +331,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 编辑确定
|
// 编辑确定
|
||||||
handleChange1() {
|
handleChange1() {
|
||||||
handlechange(this.CoManufacturerFlowNumber1, this.form.发票号, this.form.开户行, this.form.开票时间, this.form.开票金额, this.form.接收人, this.form.接收时间, this.form.备注).then(response => {
|
handleChange1(this.CoManufacturerFlowNumber1, this.form.发票号, this.form.开户行, this.form.开票时间, this.form.开票金额, this.form.接收人, this.form.接收时间, this.form.备注).then(response => {
|
||||||
if (response.data[0].result === '1') {
|
if (response.data[0].result === '1') {
|
||||||
this.$notify({
|
this.$notify({
|
||||||
title: '成功',
|
title: '成功',
|
||||||
|
|||||||
Reference in New Issue
Block a user