优化问题
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
<el-input v-model="form.remark" placeholder="请输入备注" style="width: 180px;"></el-input>
|
<el-input v-model="form.remark" placeholder="请输入备注" style="width: 180px;"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<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-button type="primary" :loading="loading" @click="onSubmitHandle">确 定</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -123,7 +123,7 @@ export default {
|
|||||||
let res = await tbConCheck({
|
let res = await tbConCheck({
|
||||||
conInfoId: this.form.conInfoId,
|
conInfoId: this.form.conInfoId,
|
||||||
lpNum: this.profitNumber,
|
lpNum: this.profitNumber,
|
||||||
remark:this.form.remark
|
remark: this.form.remark
|
||||||
});
|
});
|
||||||
this.detail.num = this.form.lpNum;
|
this.detail.num = this.form.lpNum;
|
||||||
this.form.lpNum = 0;
|
this.form.lpNum = 0;
|
||||||
@@ -136,6 +136,7 @@ export default {
|
|||||||
message: `添加成功`,
|
message: `添加成功`,
|
||||||
type: "success"
|
type: "success"
|
||||||
});
|
});
|
||||||
|
this.form.remark = ''
|
||||||
this.getTableData();
|
this.getTableData();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user