Browse Source

详情主数据--税率为0详情不展示

hella_online_20240829
wangyufei 4 months ago
parent
commit
c1aaff8ffe
  1. 2
      src/components/Descriptions/src/Descriptions.vue

2
src/components/Descriptions/src/Descriptions.vue

@ -149,7 +149,7 @@ const showAll = () =>{
<div v-if="data[item.field]&&Array.isArray(data[item.field])" >
<DictTag :type="item.dictType" :value="cur" v-for="(cur,key) in data[item.field]" :key="key" style="margin-right: 6px;margin-bottom: 6px;"/>
</div>
<DictTag :type="item.dictType" :value="data[item.field] + ''" v-if="data[item.field]&&!Array.isArray(data[item.field])"/>
<DictTag :type="item.dictType" :value="data[item.field] + ''" v-if="(data[item.field]||data[item.field]==0)&&!Array.isArray(data[item.field])"/>
</slot>
<slot v-else :name="item.field" :row="data">{{ data[item.field] }}</slot>
</template>

Loading…
Cancel
Save