明树Git Lab

Commit 828918e8 authored by yangyajing's avatar yangyajing

修改空值判断

parent e4d2f02a
Pipeline #108304 passed with stage
in 20 seconds
......@@ -2556,7 +2556,7 @@
>
<template #default="scope_">
<!-- 去掉空白单元行 -->
<el-input-number v-if="scope_.row[col.children[1].key]"
<el-input-number v-if="scope_.row[col.children[1].key] || scope_.row[col.children[1].key] === 0"
v-model="scope_.row[col_.key.toString()]" :min="0" :max="99999999999.99999999"
controls-position="right"
/>
......@@ -2597,7 +2597,7 @@
>
<template #default="scope_">
<!-- 去掉空白单元行 -->
<el-input-number v-if="scope_.row[col.children[1].key]"
<el-input-number v-if="scope_.row[col.children[1].key] || scope_.row[col.children[1].key] === 0"
v-model="scope_.row[col_.key.toString()]" :min="0" :max="99999999999.99999999"
controls-position="right"
/>
......@@ -2638,7 +2638,7 @@
>
<template #default="scope_">
<!-- 去掉空白单元行 -->
<el-input-number v-if="scope_.row[col.children[1].key]"
<el-input-number v-if="scope_.row[col.children[1].key] || scope_.row[col.children[1].key] === 0"
v-model="scope_.row[col_.key.toString()]" :min="0" :max="99999999999.99999999"
controls-position="right"
/>
......@@ -2679,7 +2679,7 @@
>
<template #default="scope_">
<!-- 去掉空白单元行 -->
<el-input-number v-if="scope_.row[col.children[1].key]"
<el-input-number v-if="scope_.row[col.children[1].key] || scope_.row[col.children[1].key] === 0"
v-model="scope_.row[col_.key.toString()]" :min="0" :max="99999999999.99999999"
controls-position="right"
/>
......@@ -2720,7 +2720,7 @@
>
<template #default="scope_">
<!-- 去掉空白单元行 -->
<el-input-number v-if="scope_.row[col.children[1].key]"
<el-input-number v-if="scope_.row[col.children[1].key] | scope_.row[col.children[1].key] === 0"
v-model="scope_.row[col_.key.toString()]" :min="0" :max="99999999999.99999999"
controls-position="right"
/>
......
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