Commit b7aad70f by zhangzhijie

Merge remote-tracking branch 'origin/sx_bz' into sx_bz

# Conflicts:
#	src/views/hainanBZ/ajbzDetailHN.vue
parents 5216e3df bd9df209
......@@ -110,6 +110,7 @@ export default {
props: []
},
fdId: "",
preCode: "",
}
},
......@@ -117,7 +118,7 @@ export default {
newValue() {
var self = this;
if (this.curItem.id != 'zcjddm' && this.curItem.codeOptions.length != 0) {
if (this.curFormData[this.curItem.id] != '') {
if (this.curFormData[this.curItem.id] != this.preCode) {
let value = this.queryTree(this.curItem.codeOptions, this.curFormData[this.curItem.id]);
this.codeTreeConfig.fieldItem = [];
this.$set(
......@@ -125,6 +126,7 @@ export default {
this.curItem.id,
value[0] == undefined ? '' : this.curFormData[this.curItem.id]
);
this.preCode = this.curFormData[this.curItem.id]
if (value && value.length > 1) {
var label = '';
value.forEach((singleValue, valueIndex) => {
......
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