Browse Source

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

intex
张立 24 hours 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)
// ,0
const fileList = await FileApi.getFileList({
tableId: row.masterId || row.id,
tableName: 'adjustmentAttachment'
})
if (row.differencePriceTotalMain || row.discountAmount1 || row.claimTaxAmount || !fileList || fileList.length == 0) {
message.alertWarning('请上传调差附件!')
return
}
// const fileList = await FileApi.getFileList({
// tableId: row.masterId || row.id,
// tableName: 'adjustmentAttachment'
// })
// if (row.differencePriceTotalMain || row.discountAmount1 || row.claimTaxAmount || !fileList || fileList.length == 0) {
// message.alertWarning('')
// return
// }
//
const res = await checkInvoicingCalendar()
if (res?.flag) {

Loading…
Cancel
Save