|
|
@ -1,5 +1,6 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<a-card :bordered="false"> |
|
|
|
<a-card :bordered="false"> |
|
|
|
|
|
|
|
<p style="font-size: 30px;color:#333">{{biaoTi}}</p> |
|
|
|
<!-- 查询区域 --> |
|
|
|
<!-- 查询区域 --> |
|
|
|
<div class="table-page-search-wrapper"> |
|
|
|
<div class="table-page-search-wrapper"> |
|
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery"> |
|
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery"> |
|
|
@ -22,6 +23,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- 操作按钮区域 --> |
|
|
|
<!-- 操作按钮区域 --> |
|
|
|
<div class="table-operator"> |
|
|
|
<div class="table-operator"> |
|
|
|
|
|
|
|
<a-button @click="fanhui" type="primary" icon="plus">返回</a-button> |
|
|
|
<!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>--> |
|
|
|
<!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>--> |
|
|
|
<!-- <a-button type="primary" icon="download" @click="handleExportXls('产品辅料表')">导出</a-button>--> |
|
|
|
<!-- <a-button type="primary" icon="download" @click="handleExportXls('产品辅料表')">导出</a-button>--> |
|
|
|
<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">--> |
|
|
|
<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">--> |
|
|
@ -114,6 +116,7 @@ |
|
|
|
return { |
|
|
|
return { |
|
|
|
description: '产品辅料表管理页面', |
|
|
|
description: '产品辅料表管理页面', |
|
|
|
accessoriesId:'', |
|
|
|
accessoriesId:'', |
|
|
|
|
|
|
|
biaoTi: '', |
|
|
|
// 表头 |
|
|
|
// 表头 |
|
|
|
columns: [ |
|
|
|
columns: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -186,6 +189,12 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
fanhui(){ |
|
|
|
|
|
|
|
this.$router.push({ |
|
|
|
|
|
|
|
/*返回产品*/ |
|
|
|
|
|
|
|
path: '',/*在引号中填写返回vue*/ |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
initDictConfig(){ |
|
|
|
initDictConfig(){ |
|
|
|
}, |
|
|
|
}, |
|
|
|
getSuperFieldList(){ |
|
|
|
getSuperFieldList(){ |
|
|
@ -200,6 +209,7 @@ |
|
|
|
loadParameter() { |
|
|
|
loadParameter() { |
|
|
|
if (this.loadRouteType === false) { |
|
|
|
if (this.loadRouteType === false) { |
|
|
|
this.id = this.$route.query.id; |
|
|
|
this.id = this.$route.query.id; |
|
|
|
|
|
|
|
this.biaoTi = this.$route.query.styleNames+"产品辅料管理"; |
|
|
|
console.log("***********") |
|
|
|
console.log("***********") |
|
|
|
this.loadRouteType = true; |
|
|
|
this.loadRouteType = true; |
|
|
|
} |
|
|
|
} |
|
|
|