Merge branch 'xiaozy_产品列表' of http://121.196.213.68:3000/xiaozhiyong/refinery-admin into lixuan

This commit is contained in:
lixuan
2023-02-22 17:48:43 +08:00
11 changed files with 77 additions and 87 deletions

View File

@@ -110,7 +110,10 @@ export default {
refineryList: [],
configAutocomplete: {
serveTarget: refineryInfoServe.findByEntity,
autocompleteKey: "refineryName",
autocompleteKey: {
key: "refineryName",
enableMark: "ENABLE",
},
labelKey: "refineryName",
valueKey: "id",
placeholder: "炼厂名称",

View File

@@ -27,7 +27,7 @@
</el-form>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="controlWindows.adjust = false"> </el-button>
<el-button @click="closeWindow"> </el-button>
<el-button type="primary" @click="submit"> </el-button>
</span>
</el-dialog>
@@ -67,8 +67,8 @@ export default {
});
},
closeWindow() {
this.form = {};
this.$emit("closeWindow");
this.form = {};
this.$nextTick(() => {
this.$refs.form.clearValidate();
this.controlWindows.adjust = false;