Commit 3b96ed7d by huangxin

bot交易的bug修改

parent dc24f88f
...@@ -5,6 +5,10 @@ import Pub from "../Public" ...@@ -5,6 +5,10 @@ import Pub from "../Public"
export default class Botame{ export default class Botame{
constructor () { constructor () {
this.data = { this.data = {
botcoll2blk:"",
botcoll1blk:"",
botdrrl1blk:"",
bodgrp:{ bodgrp:{
rec:{ rec:{
ownref:"", // Reference .bodgrp.rec.ownref ownref:"", // Reference .bodgrp.rec.ownref
......
...@@ -127,7 +127,7 @@ import Engp from "~/views/Public/Engp" ...@@ -127,7 +127,7 @@ import Engp from "~/views/Public/Engp"
export default { export default {
name: "botame", name: "Botame",
components:{ components:{
"m-amep" : Amep, "m-amep" : Amep,
"m-ovwp" : Ovwp, "m-ovwp" : Ovwp,
......
...@@ -95,6 +95,7 @@ import Engp from "~/views/Public/Engp"; ...@@ -95,6 +95,7 @@ import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
export default { export default {
name: "Botcan",
components: { components: {
"m-canp": Canp, "m-canp": Canp,
"m-setpan": Setpan, "m-setpan": Setpan,
......
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
export default { export default {
name: "botdav", name: "Botdav",
components: { components: {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-inst": Inst, "m-inst": Inst,
......
...@@ -172,7 +172,9 @@ ...@@ -172,7 +172,9 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="bopmod.dbdp.baspp.acp">
<c-checkbox style=" margin: 0px 0 10px 150px;" disabled v-model="model.bopmod.dbdp.baspp.acp">确认</c-checkbox> <c-checkbox style=" margin: 0px 0 10px 150px;" disabled v-model="model.bopmod.dbdp.baspp.acp">确认</c-checkbox>
</el-form-item>
</c-col> </c-col>
...@@ -281,6 +283,15 @@ export default { ...@@ -281,6 +283,15 @@ export default {
}, },
}, },
}, },
// watch:{
// "model.lendoc.actflg":function(){
// if(this.model.bopmod.szflg=='2' && this.model.lendoc.actflg=='X'){
// this.model.bopmod.dbdp.baspp.acp="X"
// }else{
// this.model.bopmod.dbdp.baspp.acp=""
// }
// }
// },
methods:{}, methods:{},
created:function(){ created:function(){
......
...@@ -458,11 +458,11 @@ export default { ...@@ -458,11 +458,11 @@ export default {
async change1(){ async change1(){
if(this.model.bodgrp.cbs.opn1.amt<=this.model.setmod.docamt){ if(this.model.bodgrp.cbs.opn1.amt<=this.model.setmod.docamt){
this.flag1=false; this.flag1=false;
this.model.mtabut.clsflg = "O"; // this.model.mtabut.clsflg = "C";
} }
else if(this.model.bodgrp.cbs.opn1.amt>this.model.setmod.docamt){ else if(this.model.bodgrp.cbs.opn1.amt>this.model.setmod.docamt){
this.flag1=true; this.flag1=true;
this.model.mtabut.clsflg = "C"; // this.model.mtabut.clsflg = "O";
}}, }},
// async change() { // async change() {
// if (this.model.bodgrp.rec.focflg === "X") { // if (this.model.bodgrp.rec.focflg === "X") {
......
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