|
|
@@ -140,7 +140,7 @@
|
|
|
</el-row>
|
|
|
|
|
|
<!-- 添加或修改对话框 -->
|
|
|
- <el-dialog :title="title" :visible.sync="open" class="asset-dialog" width="800px" append-to-body >
|
|
|
+ <el-dialog :title="title" :visible.sync="open" class="asset-dialog" width="800px" append-to-body>
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="10">
|
|
|
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="100px">
|
|
|
@@ -258,7 +258,8 @@
|
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 物品流转对话框 -->
|
|
|
- <el-dialog title="物品流转" :visible.sync="transferOpen" class="asset-dialog" width="800px" append-to-body>
|
|
|
+ <el-dialog title="物品流转" :visible.sync="transferOpen" class="asset-dialog" width="800px" append-to-body
|
|
|
+ @close="cancelTransferForm">
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="12">
|
|
|
<el-form ref="transferForm" :model="transferForm" :rules="transferRules" size="mini" label-width="100px">
|
|
|
@@ -615,6 +616,7 @@ export default {
|
|
|
}
|
|
|
addTransfer(this.transferForm).then(res => {
|
|
|
this.$message.success("流转成功");
|
|
|
+ this.$refs.dut.clearText();
|
|
|
this.transferOpen = false;
|
|
|
this.resetForm("transferForm");
|
|
|
this.getList();
|
|
|
@@ -623,6 +625,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
cancelTransferForm() {
|
|
|
+ this.$refs.dut.clearText();
|
|
|
this.transferOpen = false
|
|
|
this.transferForm = {}
|
|
|
this.resetForm("transferForm");
|