Browse Source

Merge branch 'master_hella' into hella_zhaoxuebing

hella_zhaoxuebing
赵雪冰 1 month ago
parent
commit
545a0f0e48
  1. 6
      src/components/Detail/src/Detail.vue
  2. 18
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

6
src/components/Detail/src/Detail.vue

@ -182,7 +182,11 @@
</div>
</el-drawer>
<!-- 表格弹窗 -->
<SearchTable ref="searchTableRef" @search-table-success="searchTableSuccess1" />
<SearchTable ref="searchTableRef" @search-table-success="searchTableSuccess1" >
<template v-for="name in Object.keys($slots)" :key="name" #[name]="{ selections }">
<slot :name="name" :selections="selections"></slot>
</template>
</SearchTable>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="formRef"

18
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -334,6 +334,24 @@
<template #differencePrice="{ row }">
<span :class="{ 'red-text': row.differencePrice != 0 }">{{ row.differencePrice }}</span>
</template>
<template #selectionsActionspoLine="{ selections }">
<div style="text-align: left; margin-right: 10px">
{{t('ts.系统未税金额')}}:{{
Number(
selections.reduce(
(prev, item) =>
prev +
Number(
Number(
Number(Number(item['purchasePrice']).toFixed(5)) * item['invoicableQuantity']
).toFixed(2)
),
0
)
).toFixed(2)
}}
</div>
</template>
</Detail>
<!-- 导入 -->

Loading…
Cancel
Save