Commit 0f82e95f authored by wzy's avatar wzy

fix: 去掉获取关联供应商接口成功提示

parent 102a2f38
...@@ -25,7 +25,7 @@ function useGetDetailCommon<T extends GetProductGoodsGetGoodsProcessDetailRespon ...@@ -25,7 +25,7 @@ function useGetDetailCommon<T extends GetProductGoodsGetGoodsProcessDetailRespon
const [vendor, setVendor] = useState('') const [vendor, setVendor] = useState('')
const getVentor = (vt) => { const getVentor = (vt) => {
postMemberAbilityMaintenanceCreateMterielPage().then(res => { postMemberAbilityMaintenanceCreateMterielPage({}, { ctlType: 'none' }).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
const val = res.data.data?.find(v => v.memberGlobalMqId === vt) const val = res.data.data?.find(v => v.memberGlobalMqId === vt)
setVendor(val?.name) setVendor(val?.name)
......
...@@ -64,7 +64,7 @@ export const fetchBrand = async () => { ...@@ -64,7 +64,7 @@ export const fetchBrand = async () => {
} }
export const fetchVendor = async () => { export const fetchVendor = async () => {
try { try {
const { data, code } = await postMemberAbilityMaintenanceCreateMterielPage(); const { data, code } = await postMemberAbilityMaintenanceCreateMterielPage({}, { ctlType: 'none' });
if (code === 1000) { if (code === 1000) {
return data.data; return data.data;
} }
......
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