Commit 587ccbbc by zhangxw

施工单详情修改

1 parent 3ec5db76
......@@ -61,7 +61,7 @@
主技师
</div>
<div class="value">
<span>{{ detailForm.staffList && detailForm.staffList.length ? detailForm.staffList.filter(t => t.role === 'main').map(t => t.name).join('/') : '-' }}</span>
<span>{{ detailForm.staffList && detailForm.staffList.length && detailForm.staffList.filter(t => t.role === 'main').length ? detailForm.staffList.filter(t => t.role === 'main').map(t => t.name).join('/') : '-' }}</span>
</div>
</div>
<div class="message-item">
......@@ -69,7 +69,7 @@
副手技师
</div>
<div class="value">
<span>{{ detailForm.staffList && detailForm.staffList.length ? detailForm.staffList.filter(t => t.role === 'sub').map(t => t.name).join('/') : '-' }}</span>
<span>{{ detailForm.staffList && detailForm.staffList.length && detailForm.staffList.filter(t => t.role === 'sub').length ? detailForm.staffList.filter(t => t.role === 'sub').map(t => t.name).join('/') : '-' }}</span>
</div>
</div>
<div class="message-item">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!