Commit 8c62ff58 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏
parents 5568abe0 91faafe9
......@@ -6,7 +6,7 @@ import OrderProcess from './components/orderProcess'
import ReplaceGoods from './components/replaceGoods'
import ReturnGoods from './components/returnGoods'
import ReplaceDetail from './components/replaceDetail'
import HistoryLog from './components/HistoryLog'
import HistoryLog from './components/historyLog'
interface OrderPreviewPropsType { }
......
......@@ -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