|
@ -63,6 +63,13 @@ |
|
|
<template #qty="{row}" v-if="tabCurrent.prop == 'ShareReconciliation'"> |
|
|
<template #qty="{row}" v-if="tabCurrent.prop == 'ShareReconciliation'"> |
|
|
<span :style="{color:row.qty>0?'red':row.qty<0?'#409eff':'#000'}">{{ row.qty }}</span> |
|
|
<span :style="{color:row.qty>0?'red':row.qty<0?'#409eff':'#000'}">{{ row.qty }}</span> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
<template #quantityVariance="{row}" v-if="tabCurrent.prop == 'Reconciliation'"> |
|
|
|
|
|
<span :style="{color:row.quantityVariance>0?'#409eff':row.quantityVariance<0?'red':'#000'}">{{ row.quantityVariance }}</span> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template #amountVariance="{row}" v-if="tabCurrent.prop == 'Reconciliation'"> |
|
|
|
|
|
<span :style="{color:row.amountVariance>0?'#409eff':row.amountVariance<0?'red':'#000'}">{{ row.amountVariance }}</span> |
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
<template #amount="{row}" v-if="tabCurrent.prop == 'ShareReconciliation'"> |
|
|
<template #amount="{row}" v-if="tabCurrent.prop == 'ShareReconciliation'"> |
|
|
<div style="display: flex;align-items: center;"> |
|
|
<div style="display: flex;align-items: center;"> |
|
|
<span style="margin-right:6px">{{ row.amount }}</span> |
|
|
<span style="margin-right:6px">{{ row.amount }}</span> |
|
@ -463,7 +470,7 @@ const changeTabs = async (item) => { |
|
|
otherHeadButttonData.value = [ |
|
|
otherHeadButttonData.value = [ |
|
|
{ |
|
|
{ |
|
|
label: t(`ts.导出`).replace('ts.', ''), |
|
|
label: t(`ts.导出`).replace('ts.', ''), |
|
|
name: 'exportReconciliation', |
|
|
name: 'export', |
|
|
hide: false, |
|
|
hide: false, |
|
|
type: 'success', |
|
|
type: 'success', |
|
|
icon: 'ep:download', |
|
|
icon: 'ep:download', |
|
@ -500,7 +507,7 @@ const changeTabs = async (item) => { |
|
|
otherHeadButttonData.value = [ |
|
|
otherHeadButttonData.value = [ |
|
|
{ |
|
|
{ |
|
|
label: t(`ts.导出`).replace('ts.', ''), |
|
|
label: t(`ts.导出`).replace('ts.', ''), |
|
|
name: 'exportConfirmShareMoney', |
|
|
name: 'export', |
|
|
hide: false, |
|
|
hide: false, |
|
|
type: 'success', |
|
|
type: 'success', |
|
|
icon: 'ep:download', |
|
|
icon: 'ep:download', |
|
@ -524,21 +531,24 @@ const changeTabs = async (item) => { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
// 点击子表按钮事件 |
|
|
// 点击子表按钮事件 |
|
|
const detailButtonBaseClick = (val, item,detailTableObject) => { |
|
|
const detailButtonBaseClick = (val, item, detailTableObject) => { |
|
|
|
|
|
console.log(val, item, detailTableObject) |
|
|
if (val == 'export') { |
|
|
if (val == 'export') { |
|
|
// 子表导出明细 |
|
|
// 子表导出明细 |
|
|
if (tabCurrent.value.prop == 'Detail') { |
|
|
if (tabCurrent.value.prop == 'Detail') { |
|
|
handleExportDetail(detailTableObject) |
|
|
handleExportDetail(detailTableObject) |
|
|
} else if (tabCurrent.value.prop == 'Reconciliation') { |
|
|
} else if (tabCurrent.value.prop == 'Reconciliation') { |
|
|
// 子表导出对账差异 |
|
|
// 子表导出对账差异 |
|
|
handleExportReconciliation(detailTableObject) |
|
|
handleExportReconciliation(detailTableObject) |
|
|
} { |
|
|
} else if (tabCurrent.value.prop == 'ShareReconciliation') { |
|
|
|
|
|
// 子表导出模具分摊对账单 |
|
|
} |
|
|
} |
|
|
}else if (val == 'againContrast') { |
|
|
}else if (val == 'againContrast') { |
|
|
// 重新对比 |
|
|
// 重新对比 |
|
|
|
|
|
tapRematch(chooseRow.value.id) |
|
|
}else if (val == 'confirmResults') { |
|
|
}else if (val == 'confirmResults') { |
|
|
// 确认对比结果 |
|
|
// 确认对比结果 |
|
|
|
|
|
tapConfirmationContrast(chooseRow.value.id) |
|
|
}else if (val == 'exportConfirmShareMoney') { |
|
|
}else if (val == 'exportConfirmShareMoney') { |
|
|
// 子表导出模具分摊对账单 |
|
|
// 子表导出模具分摊对账单 |
|
|
}else if (val == 'confirmShareMoney') { |
|
|
}else if (val == 'confirmShareMoney') { |
|
|