更新
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
:before-close="closeWindow"
|
||||
>
|
||||
<div class="add">
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
||||
<el-form-item label="账户名称" prop="accountName">
|
||||
<el-input
|
||||
maxlength="50"
|
||||
@@ -108,31 +108,6 @@ export default {
|
||||
if (id) return serve.update(form);
|
||||
else return serve.save(form);
|
||||
},
|
||||
// //炼厂list
|
||||
// findByEntity() {
|
||||
// refineryInfoServe.findByEntity().then((res) => {
|
||||
// this.refineryList = res.data;
|
||||
// let { id } = this.controlWindows.addInfo;
|
||||
// if (id) {
|
||||
// this.form = JSON.parse(JSON.stringify(this.controlWindows.addInfo));
|
||||
// }
|
||||
// });
|
||||
// },
|
||||
//远程搜索
|
||||
// querySearchAsync(queryString, cb) {
|
||||
// if (queryString) {
|
||||
// refineryInfoServe
|
||||
// .findByEntity({ refineryName: queryString })
|
||||
// .then((res) => {
|
||||
// let timeInstance = setTimeout(() => {
|
||||
// clearTimeout(timeInstance);
|
||||
// if (res.data.length) {
|
||||
// cb(res.data);
|
||||
// } else cb([]);
|
||||
// }, 1000 * Math.random());
|
||||
// });
|
||||
// } else cb([]);
|
||||
// },
|
||||
closeWindow() {
|
||||
this.$emit("closeWindow");
|
||||
this.form = {};
|
||||
|
||||
Reference in New Issue
Block a user