Browse Source

HL-6424没有价差的情况下,采购通过时,会弹出提示。没有价差的时候可直接处理,不应该弹出提示 @王宇飞

hella_online_20241121
yufei_wang 2 weeks ago
parent
commit
bb5eefa178
  1. 3
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

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

@ -1119,8 +1119,9 @@ const onChangePurchasePass = (field, cur, formRef)=>{
/** 采购审批通过按钮操作 */ /** 采购审批通过按钮操作 */
const submitPurchasePass = async (id, submitData) => { const submitPurchasePass = async (id, submitData) => {
console.log(submitData) console.log(submitData)
if(!submitData?.balanceStatement.trim()){ if(submitData&&!submitData.balanceStatement.trim()){
message.error('请输入价差通过说明') message.error('请输入价差通过说明')
return
} }
const id1 = submitData?.id || id const id1 = submitData?.id || id

Loading…
Cancel
Save