|
|
|
@ -5,8 +5,8 @@ |
|
|
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery"> |
|
|
|
|
<a-row :gutter="24"> |
|
|
|
|
<a-col :sm="5"> |
|
|
|
|
<a-form-model-item label="设备" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="organizer"> |
|
|
|
|
<a-input v-model="queryParam.accessoriesId" placeholder="请输入设备名称" ></a-input> |
|
|
|
|
<a-form-model-item label="辅料" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="organizer"> |
|
|
|
|
<a-input v-model="queryParam.accessoriesId" placeholder="请输入辅料名称" ></a-input> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24"> |
|
|
|
@ -23,7 +23,7 @@ |
|
|
|
|
<!-- 操作按钮区域 --> |
|
|
|
|
<div class="table-operator"> |
|
|
|
|
<a-button @click="handleAdd1(id)" 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-button type="primary" icon="import">导入</a-button>--> |
|
|
|
|
<!-- </a-upload>--> |
|
|
|
@ -124,7 +124,7 @@ |
|
|
|
|
xs: { span: 24 }, |
|
|
|
|
sm: { span: 16 }, |
|
|
|
|
}, |
|
|
|
|
description: '面料表管理页面', |
|
|
|
|
description: '辅料表管理页面', |
|
|
|
|
// 表头 |
|
|
|
|
columns: [ |
|
|
|
|
{ |
|
|
|
@ -148,12 +148,12 @@ |
|
|
|
|
dataIndex: 'processId_dictText' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title:'面料编号', |
|
|
|
|
title:'辅料编号', |
|
|
|
|
align:"center", |
|
|
|
|
dataIndex: 'accessoriesId' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title:'面料', |
|
|
|
|
title:'辅料', |
|
|
|
|
align:"center", |
|
|
|
|
dataIndex: 'accessoriesId_dictText' |
|
|
|
|
}, |
|
|
|
@ -172,7 +172,7 @@ |
|
|
|
|
deleteBatch: "/pro/zyProcessAccessories/deleteBatch", |
|
|
|
|
exportXlsUrl: "/pro/zyProcessAccessories/exportXls", |
|
|
|
|
importExcelUrl: "pro/zyProcessAccessories/importExcel", |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
dictOptions:{}, |
|
|
|
|
superFieldList:[], |
|
|
|
@ -190,7 +190,7 @@ |
|
|
|
|
edit (record) { |
|
|
|
|
this.id = record; |
|
|
|
|
this.queryParam.processId=this.id; |
|
|
|
|
console.log("燕慧森1号") |
|
|
|
|
// console.log("燕慧森1号") |
|
|
|
|
this.loadData(); |
|
|
|
|
this.visible = true; |
|
|
|
|
|
|
|
|
@ -200,7 +200,7 @@ |
|
|
|
|
getSuperFieldList(){ |
|
|
|
|
let fieldList=[]; |
|
|
|
|
fieldList.push({type:'popup',value:'processId',text:'工序表id', popup:{code:'',field:'',orgFields:'',destFields:''}}) |
|
|
|
|
fieldList.push({type:'popup',value:'accessoriesId',text:'面料表id', popup:{code:'',field:'',orgFields:'',destFields:''}}) |
|
|
|
|
fieldList.push({type:'popup',value:'accessoriesId',text:'辅料表id', popup:{code:'',field:'',orgFields:'',destFields:''}}) |
|
|
|
|
this.superFieldList = fieldList |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|