Commit 98eb2fd5 by wangna

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 4cb9912c 06e0fcdc
...@@ -300,19 +300,13 @@ export default { ...@@ -300,19 +300,13 @@ export default {
* @param {String} val 选种行的值(一般是首列) * @param {String} val 选种行的值(一般是首列)
* @param {String} rulePath 路径 * @param {String} rulePath 路径
*/ */
selectEty(val, modelUrl, isCover, rulePath) { selectEty(val, rulePath) {
let rule; const props = rulePath.replaceAll(".", "_")
if (typeof modelUrl === 'string') { const obj = {}
const props = modelUrl.replaceAll(".", "_") obj[props] = val;
const obj = {} Utils.copyValueFromVO(this.model, obj);
obj[props] = val; this.executeRule(rulePath).then((res) => {
Utils.copyValueFromVO(this.model, obj);
rule = modelUrl;
} else {
this.selectMsg(val, modelUrl, isCover, rulePath)
rule = rulePath;
}
this.executeRule(rule).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
......
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