|
@ -229,6 +229,7 @@ |
|
|
:isBusiness="false" |
|
|
:isBusiness="false" |
|
|
:footButttondata="undefined" |
|
|
:footButttondata="undefined" |
|
|
@success="submitPurchasePass" |
|
|
@success="submitPurchasePass" |
|
|
|
|
|
@onChange="onChangePurchasePass" |
|
|
/> |
|
|
/> |
|
|
<!-- 详情 --> |
|
|
<!-- 详情 --> |
|
|
<!-- :apiUpdate="SupplierinvoiceRequestDetailApi.updateSupplierinvoiceRequestDetail" --> |
|
|
<!-- :apiUpdate="SupplierinvoiceRequestDetailApi.updateSupplierinvoiceRequestDetail" --> |
|
@ -1107,10 +1108,20 @@ const handleSub = async (id: number) => { |
|
|
tableObject.loading = false |
|
|
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) => { |
|
|
const submitPurchasePass = async (id, submitData) => { |
|
|
console.log(submitData) |
|
|
console.log(submitData) |
|
|
|
|
|
if(!submitData?.balanceStatement.trim()){ |
|
|
|
|
|
message.error('请输入价差通过说明') |
|
|
|
|
|
} |
|
|
const id1 = submitData?.id || id |
|
|
const id1 = submitData?.id || id |
|
|
|
|
|
|
|
|
console.log(id1) |
|
|
console.log(id1) |
|
|