优化问题

This commit is contained in:
duan 2024-07-23 10:15:30 +08:00
parent 2be2df7bc4
commit 1ca47334f6
1 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,7 @@
<el-input v-model="form.remark" placeholder="请输入备注" style="width: 180px;"></el-input>
</el-form-item>
<el-form-item>
<el-button @click="dialogVisible = false"> </el-button>
<el-button @click="dialogVisible = false; form.remark = ''"> </el-button>
<el-button type="primary" :loading="loading" @click="onSubmitHandle"> </el-button>
</el-form-item>
</el-form>
@ -123,7 +123,7 @@ export default {
let res = await tbConCheck({
conInfoId: this.form.conInfoId,
lpNum: this.profitNumber,
remark:this.form.remark
remark: this.form.remark
});
this.detail.num = this.form.lpNum;
this.form.lpNum = 0;
@ -136,6 +136,7 @@ export default {
message: `添加成功`,
type: "success"
});
this.form.remark = ''
this.getTableData();
} catch (error) {
this.loading = false;