|
|
@@ -71,14 +71,19 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item>
|
|
|
- <el-button v-no-more-click
|
|
|
+ <el-button
|
|
|
+ v-no-more-click
|
|
|
type="primary"
|
|
|
icon="el-icon-search"
|
|
|
size="mini"
|
|
|
@click="handleQuery"
|
|
|
>搜索</el-button
|
|
|
>
|
|
|
- <el-button v-no-more-click icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
|
+ <el-button
|
|
|
+ v-no-more-click
|
|
|
+ icon="el-icon-refresh"
|
|
|
+ size="mini"
|
|
|
+ @click="resetQuery"
|
|
|
>重置</el-button
|
|
|
>
|
|
|
</el-form-item>
|
|
|
@@ -86,7 +91,8 @@
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button v-no-more-click
|
|
|
+ <el-button
|
|
|
+ v-no-more-click
|
|
|
type="primary"
|
|
|
plain
|
|
|
icon="el-icon-plus"
|
|
|
@@ -97,7 +103,8 @@
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button v-no-more-click
|
|
|
+ <el-button
|
|
|
+ v-no-more-click
|
|
|
type="danger"
|
|
|
plain
|
|
|
icon="el-icon-delete"
|
|
|
@@ -142,7 +149,8 @@
|
|
|
class-name="small-padding fixed-width"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-no-more-click
|
|
|
+ <el-button
|
|
|
+ v-no-more-click
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
@@ -150,7 +158,8 @@
|
|
|
v-hasPermi="['mes:mat:info:edit']"
|
|
|
>编辑
|
|
|
</el-button>
|
|
|
- <el-button v-no-more-click
|
|
|
+ <el-button
|
|
|
+ v-no-more-click
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@@ -195,7 +204,7 @@
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="物资类型" prop="materialsTypeId">
|
|
|
<treeselect
|
|
|
- style="width: 318px"
|
|
|
+ style="width: 350px"
|
|
|
v-model="form.materialsTypeId"
|
|
|
:options="machinerytypeOptions"
|
|
|
:normalizer="normalizer"
|
|
|
@@ -263,10 +272,16 @@
|
|
|
</el-form>
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button v-no-more-click type="primary" @click="cancel" v-if="optType == 'view'"
|
|
|
+ <el-button
|
|
|
+ v-no-more-click
|
|
|
+ type="primary"
|
|
|
+ @click="cancel"
|
|
|
+ v-if="optType == 'view'"
|
|
|
>返回</el-button
|
|
|
>
|
|
|
- <el-button v-no-more-click type="primary" @click="submitForm" v-else>确 定</el-button>
|
|
|
+ <el-button v-no-more-click type="primary" @click="submitForm" v-else
|
|
|
+ >确 定</el-button
|
|
|
+ >
|
|
|
<el-button v-no-more-click @click="cancel">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
@@ -524,6 +539,7 @@ export default {
|
|
|
this.open = true;
|
|
|
this.title = "新增物资信息";
|
|
|
this.optType = "add";
|
|
|
+ this.form.materialsTypeId = undefined;
|
|
|
},
|
|
|
|
|
|
/** 修改按钮操作 */
|