Commit 4574b53d by liuxin

“获取”按钮调整

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