Commit d20cf249 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

修改需求报价审核的接口

parent fc0c74b7
......@@ -27,13 +27,13 @@ const comfirmDialog: React.FC<Params> = (props) => {
value.id = Number(props.id)
console.log('value',value)
if(props.type == 1){
PublicApi.postOrderRequisitionFormAudit(value).then(res => {
PublicApi.postOrderQuotationDocumentsReview(value).then(res => {
if (res.code === 1000) {
props.onOK()
}
})
}else if(props.type == 2){
PublicApi.postOrderRequisitionFormAuditTwo(value).then(res => {
PublicApi.postOrderQuotationDocumentsReviewTwo(value).then(res => {
if (res.code === 1000) {
props.onOK()
}
......
......@@ -572,10 +572,7 @@ const Detail: React.FC<{}> = () => {
let areaCodeList = []
setdataInfo(data)//总
//地区
setinitialValues({
quotationSummary: data,
})
setinitialValues(data)
getOrderProductAll(data.requisitionFormId) //查询规格 赋值弹窗单位和采购数量
tabForm.resetFields()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment