|
|
|
@ -55,7 +55,8 @@ |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<div v-if="scope.row.valueChooseFlag !== 'Y'"> |
|
|
|
<el-input-number v-model="scope.row.numValue" style="padding: 0;width: 100%" v-if="scope.row.valueType === '数字'" :controls="false"></el-input-number> |
|
|
|
<el-input-number v-model="scope.row.numValue" style="padding: 0;width: 100%" v-if="scope.row.valueType === '数字'" :controls="false" |
|
|
|
></el-input-number> |
|
|
|
<el-input v-model="scope.row.textValue" v-else></el-input> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
@ -333,10 +334,17 @@ export default { |
|
|
|
if (!this.attributeDialog){ |
|
|
|
this.updateTestPropertiesList(); |
|
|
|
}else { |
|
|
|
//针对null 处理 |
|
|
|
for (let i = 0; i < this.dataList.length; i++){ |
|
|
|
if (this.dataList[i].numValue == null){ |
|
|
|
this.dataList[i].numValue = undefined; |
|
|
|
} |
|
|
|
} |
|
|
|
this.copyAttributeList = JSON.parse(JSON.stringify(this.dataList)) |
|
|
|
this.attributeDialog = false; |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
updateTestPropertiesList(){ |
|
|
|
this.loading = true |
|
|
|
updatePropertiesList(this.copyAttributeList).then(({data})=>{ |
|
|
|
|