Commit 03cf83d1 by 胡悦

修复bug

1 parent 5303f987
...@@ -404,7 +404,7 @@ export default { ...@@ -404,7 +404,7 @@ export default {
if (e === 'access_platform_didihu') { if (e === 'access_platform_didihu') {
this.productFormList.forEach((item, index) => { this.productFormList.forEach((item, index) => {
if (item.prop === 'networkKey') this.productFormList.splice(index, 1) if (item.prop === 'networkKey') this.productFormList.splice(index, 1)
this.productRuleForm.networkKey = '' this.$set(this.productRuleForm, 'networkKey', '')
}) })
} else { } else {
const value = this.productFormList.find(item => item.prop === 'networkKey') const value = this.productFormList.find(item => item.prop === 'networkKey')
......
...@@ -603,12 +603,12 @@ export default { ...@@ -603,12 +603,12 @@ export default {
const contentList = this.params.contentList const contentList = this.params.contentList
conditionList.forEach(item => { conditionList.forEach(item => {
if (item.paramValue) { if (item.paramValue) {
if (item.paramValue.select) item.paramValue.list = this.deviceConditionList.find(i => item.paramValue.select == i.id).conditionList if (!item.paramValue.date && item.paramValue.select) item.paramValue.list = this.deviceConditionList.find(i => item.paramValue.select == i.id).conditionList
if (item.paramValue.value) item.paramValue.noValue = true if (item.paramValue.value) item.paramValue.noValue = true
} }
}) })
contentList.forEach(item => { contentList.forEach(item => {
if (item.paramValue.select) { if (!item.paramValue.date && item.paramValue.select) {
item.paramValue.list = this.deviceContentList.find(i => item.paramValue.select == i.id).contentList item.paramValue.list = this.deviceContentList.find(i => item.paramValue.select == i.id).contentList
item.paramValue.orderType = item.paramValue.list.find(j => item.paramValue.orderId == j.id).orderType item.paramValue.orderType = item.paramValue.list.find(j => item.paramValue.orderId == j.id).orderType
if (item.paramValue.orderType == 2) { if (item.paramValue.orderType == 2) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!