|
@ -873,14 +873,14 @@ const buttonTableClick = async (val, row) => { |
|
|
// handleApp(row.id) |
|
|
// handleApp(row.id) |
|
|
// 校验是否上传调差附件,、价差合计、返利未税金额、索赔税额有一项是0的时候或者调差附件未上传的时候要提示未 |
|
|
// 校验是否上传调差附件,、价差合计、返利未税金额、索赔税额有一项是0的时候或者调差附件未上传的时候要提示未 |
|
|
|
|
|
|
|
|
const fileList = await FileApi.getFileList({ |
|
|
// const fileList = await FileApi.getFileList({ |
|
|
tableId: row.masterId || row.id, |
|
|
// tableId: row.masterId || row.id, |
|
|
tableName: 'adjustmentAttachment' |
|
|
// tableName: 'adjustmentAttachment' |
|
|
}) |
|
|
// }) |
|
|
if (row.differencePriceTotalMain || row.discountAmount1 || row.claimTaxAmount || !fileList || fileList.length == 0) { |
|
|
// if (row.differencePriceTotalMain || row.discountAmount1 || row.claimTaxAmount || !fileList || fileList.length == 0) { |
|
|
message.alertWarning('请上传调差附件!') |
|
|
// message.alertWarning('请上传调差附件!') |
|
|
return |
|
|
// return |
|
|
} |
|
|
// } |
|
|
// 校验是否可以开票 |
|
|
// 校验是否可以开票 |
|
|
const res = await checkInvoicingCalendar() |
|
|
const res = await checkInvoicingCalendar() |
|
|
if (res?.flag) { |
|
|
if (res?.flag) { |
|
|