|
|
@ -138,6 +138,16 @@ |
|
|
{{ opt.componentPartDesc || '-' }} |
|
|
{{ opt.componentPartDesc || '-' }} |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="card-details"> |
|
|
|
|
|
<div class="detail-item"> |
|
|
|
|
|
<div class="detail-label">需求数量</div> |
|
|
|
|
|
<div class="detail-value">{{ opt.qtyRequired }}</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="detail-item" :class="{ 'issued-qty-highlight': (opt.qtyIssued || 0) > 0 }"> |
|
|
|
|
|
<div class="detail-label">已发数量</div> |
|
|
|
|
|
<div class="detail-value">{{ opt.qtyIssued || 0 }}</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</el-radio> |
|
|
</el-radio> |
|
|
</div> |
|
|
</div> |
|
|
</el-radio-group> |
|
|
</el-radio-group> |
|
|
@ -332,6 +342,8 @@ export default { |
|
|
componentPartDesc: m.componentPartDesc, |
|
|
componentPartDesc: m.componentPartDesc, |
|
|
lineItemNo: m.lineItemNo, |
|
|
lineItemNo: m.lineItemNo, |
|
|
itemNo: m.itemNo, |
|
|
itemNo: m.itemNo, |
|
|
|
|
|
qtyRequired: m.qtyRequired, |
|
|
|
|
|
qtyIssued: m.qtyIssued, |
|
|
})) |
|
|
})) |
|
|
.filter((m) => m.componentPartNo && m.lineItemNo); |
|
|
.filter((m) => m.componentPartNo && m.lineItemNo); |
|
|
}, |
|
|
}, |
|
|
@ -385,6 +397,7 @@ export default { |
|
|
key: `${this.materialKey(m.componentPartNo, m.componentPartDesc)}@@${m.lineItemNo}`, |
|
|
key: `${this.materialKey(m.componentPartNo, m.componentPartDesc)}@@${m.lineItemNo}`, |
|
|
})); |
|
|
})); |
|
|
this.selectedMaterialKey = this.materialSelectOptions[0].key || ""; |
|
|
this.selectedMaterialKey = this.materialSelectOptions[0].key || ""; |
|
|
|
|
|
|
|
|
this.materialSelectDialogVisible = true; |
|
|
this.materialSelectDialogVisible = true; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|