import Api from "~/service/Api"; import commonFunctions from "~/mixin/commonFunctions.js"; import buildFn from "./buildCommons.js"; export default { mixins: [commonFunctions], methods: { async onMgskhbhClick() { let data = { extkey: this.model.limchg.ptyextkey, }; const loading = this.loading(); let res = await Api.post("/Lc/common/othSearch", data); loading.close(); if (res.respCode === SUCCESS) { this.model.limchg.lim.mgskhbh = res.data; } }, async onOthmgsClick() { let data = { extkey: this.model.limchg.othextkey, }; const loading = this.loading(); let res = await Api.post("/Lc/common/othSearch", data); loading.close(); if (res.respCode === SUCCESS) { this.model.limchg.lim.othmgs = res.data; } }, }, };