Commit b64160ab authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 处理下单报价单文案异常

parent 4511c8b8
......@@ -62,12 +62,11 @@ const AddBrand: React.FC<{}> = () => {
const [currentStep, setCurrentStep] = useState(0)
const [fileList, setFileList] = useState<any[]>([])
// const [proveUrl, setProveUrl] = useState<any>({})
const [isEnableCheck, setIsEnableCheck] = useState(true)
const [responseId, setReponseId] = useState<number>(null)
const [formValues, setFormValues] = useState<any>({})
const [banSomeField, setBanSomeField] = useState<boolean>(false)
const [isDisabledSave, setIsDisabledSave] = useState<boolean>(false)
const [isDisabledCheck, setDisabledCheck] = useState<boolean>(false)
const [isDisabledCheck, setDisabledCheck] = useState<boolean>(true)
useEffect(()=>{
const { id } = history.location.query
......@@ -142,7 +141,7 @@ const AddBrand: React.FC<{}> = () => {
}
PublicApi.postProductBrandSaveOrUpdateBrand(values).then(res => {
if(res.code === 1000) {
setIsEnableCheck(false)
setDisabledCheck(false)
setReponseId(res.data)
} else {
setIsDisabledSave(false)
......@@ -186,7 +185,7 @@ const AddBrand: React.FC<{}> = () => {
backIcon={<ReutrnEle description="返回"/>}
title={history.location.query?.id?'修改品牌':'新建品牌'}
extra={[
<Button key="2" disabled={isEnableCheck} onClick={handleApplyCheck} disabled={isDisabledCheck}>直接提交审核</Button>,
<Button key="2" onClick={handleApplyCheck} disabled={isDisabledCheck}>直接提交审核</Button>,
<Button icon={<SaveOutlined />} key="1" type="primary" onClick={handleSave} disabled={isDisabledSave}>
保存
</Button>,
......
......@@ -156,7 +156,7 @@ export const inquiryColumns: any[] = [
key: 'details',
},
{
title: '价会员',
title: '价会员',
dataIndex: 'memberName',
align: 'center',
key: 'memberName',
......
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