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

修改需求报价审核的接口

parent fc0c74b7
...@@ -27,13 +27,13 @@ const comfirmDialog: React.FC<Params> = (props) => { ...@@ -27,13 +27,13 @@ const comfirmDialog: React.FC<Params> = (props) => {
value.id = Number(props.id) value.id = Number(props.id)
console.log('value',value) console.log('value',value)
if(props.type == 1){ if(props.type == 1){
PublicApi.postOrderRequisitionFormAudit(value).then(res => { PublicApi.postOrderQuotationDocumentsReview(value).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
props.onOK() props.onOK()
} }
}) })
}else if(props.type == 2){ }else if(props.type == 2){
PublicApi.postOrderRequisitionFormAuditTwo(value).then(res => { PublicApi.postOrderQuotationDocumentsReviewTwo(value).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
props.onOK() props.onOK()
} }
......
...@@ -572,10 +572,7 @@ const Detail: React.FC<{}> = () => { ...@@ -572,10 +572,7 @@ const Detail: React.FC<{}> = () => {
let areaCodeList = [] let areaCodeList = []
setdataInfo(data)//总 setdataInfo(data)//总
//地区 //地区
setinitialValues({ setinitialValues(data)
quotationSummary: data,
})
getOrderProductAll(data.requisitionFormId) //查询规格 赋值弹窗单位和采购数量 getOrderProductAll(data.requisitionFormId) //查询规格 赋值弹窗单位和采购数量
tabForm.resetFields() 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