Commit 4574b53d by liuxin

“获取”按钮调整

parent bcd122a0
......@@ -2,6 +2,7 @@
/**
* Ditopn Check规则
*/
import Utils from "~/utils";
export default {
"liaall.misamt": [checkLiaallMisamtN100,],
......@@ -770,8 +771,11 @@ function checkDidgrpRecAvbbyN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.rec.avbby").then(res => {
//TODO
callback()
if (res.respCode == "AAAAAA"){
Utils.copyValueFromVO(that.model, res.data);
}
})
callback()
}
/**
* source:ditp.@0077.script
......
......@@ -194,7 +194,6 @@ export default {
})
},
onRejrow() {
debugger;
console.log(this.getSelectedData())
this.model.trncorco.selinr['rows'] = this.getSelectedData();
......
......@@ -703,7 +703,6 @@ export default {
produce: "0",
uri: "/ditopn/getElcsRef",
},
flag: true,
jigomcFlag:false,
trade: "",
};
......@@ -717,7 +716,6 @@ export default {
//失去焦点,避免多次触发
document.getElementById('extkey').blur();
Utils.copyValueFromVO(this.model, res.data);
this.flag = false;
}
}
);
......@@ -770,13 +768,17 @@ export default {
(res) => {
if (res.respCode = "AAAAAA"){
Utils.copyValueFromVO(this.model, res.data);
this.flag = false;
}
}
);
},
},
created: function () {},
computed:{
flag(){
return this.model.didgrp.apl.pts.extkey=="";
} ,
},
watch: {
declareParams() {},
},
......
......@@ -247,8 +247,7 @@ export default {
},
avbby(){
this.pattern["didgrp.rec.tenmaxday"][0].required = this.model.didgrp.rec.avbby == "D";
}
},
}
}
</script>
......
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