Browse Source

采购审批去掉请上传调差附件的验证

intex
张立 2 days ago
parent
commit
1fee8ca907
  1. 16
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

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

@ -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) {

Loading…
Cancel
Save