Browse Source

BUG 修尬

master
Rui_Li 11 months ago
parent
commit
f20e0231c4
  1. 7
      src/views/modules/tooling/manuf_tool.vue

7
src/views/modules/tooling/manuf_tool.vue

@ -11,6 +11,10 @@
<span slot="label" style="" @click="getBaseList(1016)"><a herf="#">工具类型</a></span> <span slot="label" style="" @click="getBaseList(1016)"><a herf="#">工具类型</a></span>
<el-input v-model="searchData.toolType" style="width: 160px"></el-input> <el-input v-model="searchData.toolType" style="width: 160px"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="日历标识">
<span slot="label" style="" @click="getBaseList(1018)"><a herf="#">日历标识</a></span>
<el-input v-model="searchData.calendarId" ></el-input>
</el-form-item>
<el-form-item label=" "> <el-form-item label=" ">
<el-button @click="search()" type="primary" style="margin-left: 2px;margin-top:0px">查询</el-button> <el-button @click="search()" type="primary" style="margin-left: 2px;margin-top:0px">查询</el-button>
<el-button type="primary" @click="addToolInfoModal()">新增</el-button> <el-button type="primary" @click="addToolInfoModal()">新增</el-button>
@ -180,6 +184,7 @@ export default {
site:this.$store.state.user.site, site:this.$store.state.user.site,
toolId:'', toolId:'',
toolType:'', toolType:'',
calendarId: '',
startDate:'', startDate:'',
endDate:'', endDate:'',
}, },
@ -825,6 +830,8 @@ export default {
getBaseData (val) { getBaseData (val) {
if (this.tagNo === 1016) { if (this.tagNo === 1016) {
this.searchData.toolType = val.tool_type; this.searchData.toolType = val.tool_type;
}else if (this.tagNo === 1018) {
this.searchData.calendarId = val.calendar_id;
} }
}, },

Loading…
Cancel
Save