Browse Source

YT-2335供应商发票申请,发票未税金额应该不可修改

intex
王宇飞 3 days ago
parent
commit
4621e57a9d
  1. 14
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

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

@ -939,10 +939,11 @@ const openForm = async (type: string, row?: any) => {
item.componentProps.disabled = true
}
// ---taxRate\beforeTaxAmount\totalTaxAmount\goldenTaxInvoiceNumber\invoiceTime
if (
item.field == 'taxRate' ||
item.field == 'beforeTaxAmount' ||
// item.field == 'beforeTaxAmount' ||
item.field == 'totalTaxAmount' ||
item.field == 'goldenTaxInvoiceNumber' ||
item.field == 'invoiceTime'
@ -953,6 +954,12 @@ const openForm = async (type: string, row?: any) => {
item.componentProps.disabled = true
}
}
//
if (item.field == 'beforeTaxAmount') {
item.componentProps.disabled = true
}
// ---procurementCreatordiscountAmount1
if (item.field == 'procurementCreator' || item.field == 'discountAmount1') {
if (row.status == '1' || row.status == '6') {
@ -979,6 +986,7 @@ const openForm = async (type: string, row?: any) => {
if (item.field == 'orderType') {
item.componentProps.disabled = false
}
// \ \ \\\\
if (
item.field == 'taxRate' ||
@ -992,6 +1000,10 @@ const openForm = async (type: string, row?: any) => {
item.componentProps.disabled = false
}
//
if (item.field == 'beforeTaxAmount') {
item.componentProps.disabled = false
}
// if (item.field == 'procurementCreator') {
// item.componentProps.options = procurementCreators.value

Loading…
Cancel
Save