Commit 550abbff by WF1020

litopn修改

parent a3777003
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "../event"; import Event from "../event";
import Ovwp1 from "./Ovwp1"; import Ovwp1 from "./Ovwp1";
...@@ -80,7 +79,7 @@ export default { ...@@ -80,7 +79,7 @@ export default {
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess, Event], mixins: [ Event],
data() { data() {
return { return {
zmqflg: null, zmqflg: null,
......
...@@ -651,6 +651,8 @@ export default { ...@@ -651,6 +651,8 @@ export default {
handler(val,oldval){ handler(val,oldval){
const res = this.model.lidgrp const res = this.model.lidgrp
if(res.cbs.nom1.cur !== "" && res.cbs.nom1.amt !== "" && res.apl.pts.adrblk !== ""){ if(res.cbs.nom1.cur !== "" && res.cbs.nom1.amt !== "" && res.apl.pts.adrblk !== ""){
this.model.lidgrp.cbs.max.cur=this.model.lidgrp.cbs.nom1.cur
this.model.lidgrp.cbs.max.amt=this.model.lidgrp.cbs.nom1.amt
this.model.lidgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}` this.model.lidgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}`
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment