fix:入库单详情信息调整
parent
239009a59b
commit
972d121580
|
|
@ -35,7 +35,7 @@
|
|||
<div class="summary-icon">¥</div>
|
||||
<div>
|
||||
<div class="summary-label">入库总价格(元)</div>
|
||||
<div class="summary-value price">{{ form.sumInnerPrice || 0 }}</div>
|
||||
<div class="summary-value price">{{ formatThousands(form.sumInnerPrice) }}</div>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="6" class="summary-item">
|
||||
|
|
@ -162,6 +162,12 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
formatThousands(value) {
|
||||
if (value === null || value === undefined || value === '') {
|
||||
return 0;
|
||||
}
|
||||
return Number(value).toLocaleString();
|
||||
},
|
||||
handleViewPurchaseOrder() {
|
||||
listPurchaseorder({ purchaseNo: this.form.purchaseNo, pageNum: 1, pageSize: 1 }).then(response => {
|
||||
const purchaseOrder = response.rows && response.rows[0];
|
||||
|
|
|
|||
Loading…
Reference in New Issue