|
|
@ -229,6 +229,7 @@ |
|
|
|
:isBusiness="false" |
|
|
|
:footButttondata="undefined" |
|
|
|
@success="submitPurchasePass" |
|
|
|
@onChange="onChangePurchasePass" |
|
|
|
/> |
|
|
|
<!-- 详情 --> |
|
|
|
<!-- :apiUpdate="SupplierinvoiceRequestDetailApi.updateSupplierinvoiceRequestDetail" --> |
|
|
@ -1107,10 +1108,20 @@ const handleSub = async (id: number) => { |
|
|
|
tableObject.loading = false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const onChangePurchasePass = (field, cur, formRef)=>{ |
|
|
|
console.log('onChangePurchasePass',field, cur, formRef) |
|
|
|
if(field=='balanceStatement'){ |
|
|
|
formRef.value.setValues({ |
|
|
|
'balanceStatement':cur.trim() |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
/** 采购审批通过按钮操作 */ |
|
|
|
const submitPurchasePass = async (id, submitData) => { |
|
|
|
console.log(submitData) |
|
|
|
if(!submitData?.balanceStatement.trim()){ |
|
|
|
message.error('请输入价差通过说明') |
|
|
|
} |
|
|
|
const id1 = submitData?.id || id |
|
|
|
|
|
|
|
console.log(id1) |
|
|
|