Commit de60ef92 authored by XieZhiXiong's avatar XieZhiXiong

Merge branch 'fix418' into 'v2-220418'

销售订单转单显示提示信息 See merge request linkseeks-design/pro-platform!625
parents 2a4bfc34 0154246b
......@@ -16,7 +16,7 @@ import Search from '@/components/NiceForm/components/Search'
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch'
import Submit from '@/components/NiceForm/components/Submit'
import { MALL_TYPE } from '@/constants';
import { fectchShopListsSource } from '@/utils/type'
import { fectchShopListsSource, fectchShopListsSourceTradeRule } from '@/utils/type'
import { getMemberManagePageitems, postMemberManageAllPageByshoptype } from '@/services/MemberV2Api'
import { getProductCommodityCommonGetCommodityListByStock, getProductFreightSpaceDetails, getProductFreightSpaceMamberList, getProductSelectGetSelectBrand, getProductSelectGetSelectCustomerCategory } from '@/services/ProductV2Api'
......@@ -498,7 +498,7 @@ const BatchPositionSetting: React.FC<BatchPositionSettingProps> = (props) => {
createAddRepositoryEffect(addSchemaAction)
$('onFieldValueChange', 'shopType').subscribe(async parentState => {
if (parentState.value) {
const data = await fectchShopListsSource({ type: parentState.value })
const data = await fectchShopListsSourceTradeRule({ type: parentState.value })
setFieldState('shopIds', state => {
state.props["x-component-props"].dataSource = data
});
......
......@@ -264,7 +264,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const { code, data } = await postOrderVendorTransferPreview({
roleId: defaultRoleId,
orderIds: [orderId]
}, {ctlType: 'none'})
})
if(code === 1000) {
transformRef.current.setVisible(true)
transformActions.setFieldValue('orders', data)
......@@ -276,7 +276,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const { code, data } = await postOrderVendorTransferPreview({
roleId: defaultRoleId,
orderIds: selectRef.current,
}, { ctlType: 'none' })
})
if(code === 1000) {
transformRef.current.setVisible(true)
transformActions.setFieldValue('orders', 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