Browse Source

YT-2386

intex_online20250410
王宇飞 2 weeks ago
parent
commit
cf157e754f
  1. 6
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue
  2. 26
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

6
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue

@ -155,15 +155,15 @@
> >
<!-- 价税合计尾差 --> <!-- 价税合计尾差 -->
<template #Descriptions_totalTaxDiffAmount="{ row }"> <template #Descriptions_totalTaxDiffAmount="{ row }">
<span>{{row['totalTaxDiffAmount']}}<span class="red-text"> (含返利合计:{{ accountantFormartDetail(row['rebateTotal']) }})</span></span> <span>{{accountantFormartDetail(row['totalTaxDiffAmount'])}}<span class="red-text"> (含返利合计:{{ accountantFormartDetail(row['rebateTotal']) }})</span></span>
</template> </template>
<!-- 未税尾差 --> <!-- 未税尾差 -->
<template #Descriptions_beforeTaxDiffAmount="{ row }"> <template #Descriptions_beforeTaxDiffAmount="{ row }">
<span>{{row['beforeTaxDiffAmount']}}<span class="red-text"> (含返利未税:{{ accountantFormartDetail(row['discountAmount1']) }})</span></span> <span>{{accountantFormartDetail(row['beforeTaxDiffAmount'])}}<span class="red-text"> (含返利未税:{{ accountantFormartDetail(row['discountAmount1']) }})</span></span>
</template> </template>
<!-- 税额尾差 --> <!-- 税额尾差 -->
<template #Descriptions_taxAmountDiff="{ row }"> <template #Descriptions_taxAmountDiff="{ row }">
<span>{{row['taxAmountDiff']}}<span class="red-text"> (含返利税额:{{ accountantFormartDetail(row['rebateTax']) }})</span></span> <span>{{accountantFormartDetail(row['taxAmountDiff'])}}<span class="red-text"> (含返利税额:{{ accountantFormartDetail(row['rebateTax']) }})</span></span>
</template> </template>
<template #differencePrice="{row}"> <template #differencePrice="{row}">
<span :class="{'red-text':row.differencePrice!=0}">{{ accountantFormartDetail(row.differencePrice) }}</span> <span :class="{'red-text':row.differencePrice!=0}">{{ accountantFormartDetail(row.differencePrice) }}</span>

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

@ -399,21 +399,21 @@
<!-- 价税合计尾差 --> <!-- 价税合计尾差 -->
<template #Descriptions_totalTaxDiffAmount="{ row }"> <template #Descriptions_totalTaxDiffAmount="{ row }">
<span <span
>{{ row['totalTaxDiffAmount'] >{{ accountantFormartDetail(row['totalTaxDiffAmount'])
}}<span class="red-text"> (含返利合计:{{ accountantFormartDetail(row['rebateTotal']) }})</span></span }}<span class="red-text"> (含返利合计:{{ accountantFormartDetail(row['rebateTotal']) }})</span></span
> >
</template> </template>
<!-- 未税尾差 --> <!-- 未税尾差 -->
<template #Descriptions_beforeTaxDiffAmount="{ row }"> <template #Descriptions_beforeTaxDiffAmount="{ row }">
<span <span
>{{ row['beforeTaxDiffAmount'] >{{ accountantFormartDetail(row['beforeTaxDiffAmount'])
}}<span class="red-text"> (含返利未税:{{ accountantFormartDetail(row['discountAmount1']) }})</span></span }}<span class="red-text"> (含返利未税:{{ accountantFormartDetail(row['discountAmount1']) }})</span></span
> >
</template> </template>
<!-- 税额尾差 --> <!-- 税额尾差 -->
<template #Descriptions_taxAmountDiff="{ row }"> <template #Descriptions_taxAmountDiff="{ row }">
<span <span
>{{ row['taxAmountDiff'] >{{ accountantFormartDetail(row['taxAmountDiff'])
}}<span class="red-text"> (含返利税额:{{ accountantFormartDetail(row['rebateTax']) }})</span></span }}<span class="red-text"> (含返利税额:{{ accountantFormartDetail(row['rebateTax']) }})</span></span
> >
</template> </template>
@ -1149,16 +1149,16 @@ const openDetail = (row: any, titleName: any, titleValue: any) => {
detailAnnexTable.value[0].hiddenUpload = true detailAnnexTable.value[0].hiddenUpload = true
} }
// //
if ( // if (
roleList.value.indexOf('supplier_operator') > -1 && // roleList.value.indexOf('supplier_operator') > -1 &&
(row.status == '3' || row.status == '7') // (row.status == '3' || row.status == '7')
) { // ) {
detailAnnexTable.value[1].hiddenDelete = false // detailAnnexTable.value[1].hiddenDelete = false
detailAnnexTable.value[1].hiddenUpload = false // detailAnnexTable.value[1].hiddenUpload = false
} else { // } else {
detailAnnexTable.value[1].hiddenDelete = true // detailAnnexTable.value[1].hiddenDelete = true
detailAnnexTable.value[1].hiddenUpload = true // detailAnnexTable.value[1].hiddenUpload = true
} // }
detailRef.value.openDetail(row, titleName, titleValue, 'requestSupplierinvoiceMain') detailRef.value.openDetail(row, titleName, titleValue, 'requestSupplierinvoiceMain')
} }

Loading…
Cancel
Save