zhc4dev
YTD 2 years ago
parent 4dcd965ad1
commit c7848c4e68
  1. 4
      ant-design-vue-jeecg/src/mixins/JeecgListMixin.js
  2. 4
      ant-design-vue-jeecg/src/views/process/ZyProcessList.vue
  3. 18
      ant-design-vue-jeecg/src/views/process/modules/ZyProcessAccessoriesList.vue
  4. 10
      ant-design-vue-jeecg/src/views/process/modules/ZyProcessFabricList.vue

@ -249,7 +249,7 @@ export const JeecgListMixin = {
},
fuliao: function (id) {
this.$refs.modalForm3.edit(id);
this.$refs.modalForm3.title = "工序料管理";
this.$refs.modalForm3.title = "工序料管理";
this.$refs.modalForm3.disableSubmit = false;
},
gongju: function (id) {
@ -259,7 +259,7 @@ export const JeecgListMixin = {
},
mianliao: function (id) {
this.$refs.modalForm5.edit(id);
this.$refs.modalForm5.title = "工序料管理";
this.$refs.modalForm5.title = "工序料管理";
this.$refs.modalForm5.disableSubmit = false;
},
handleAdd: function () {

@ -98,11 +98,11 @@
<a-divider type="vertical"/>
<a @click="shebei(record.id)">设备</a>
<a-divider type="vertical"/>
<a @click="fuliao(record.id)"></a>
<a @click="fuliao(record.id)"></a>
<a-divider type="vertical"/>
<a @click="gongju(record.id)">工具</a>
<a-divider type="vertical"/>
<a @click="mianliao(record.id)"></a>
<a @click="mianliao(record.id)"></a>
<a-divider type="vertical"/>
<a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down"/></a>

@ -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
}
}

@ -11,7 +11,7 @@
<!-- </a-col>-->
<a-col :sm="5">
<a-form-model-item label="设备" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="organizer">
<a-input v-model="queryParam.fabricId" placeholder="请输入料名称" ></a-input>
<a-input v-model="queryParam.fabricId" placeholder="请输入料名称" ></a-input>
</a-form-model-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
@ -153,12 +153,12 @@
dataIndex: 'processId_dictText'
},
{
title:'料编号',
title:'料编号',
align:"center",
dataIndex: 'fabricId'
},
{
title:'料',
title:'料',
align:"center",
dataIndex: 'fabricId_dictText'
},
@ -195,7 +195,7 @@
edit (record) {
this.id = record;
this.queryParam.processId=this.id;
console.log("燕慧森1号")
// console.log("1")
this.loadData();
this.visible = true;
},
@ -204,7 +204,7 @@
getSuperFieldList(){
let fieldList=[];
fieldList.push({type:'string',value:'processId',text:'工序',dictCode:'zy_process,process_name,id'})
fieldList.push({type:'string',value:'fabricId',text:'料',dictCode:'zy_fabric,name,id'})
fieldList.push({type:'string',value:'fabricId',text:'料',dictCode:'zy_fabric,name,id'})
this.superFieldList = fieldList
}
}

Loading…
Cancel
Save