|
|
@@ -285,7 +285,6 @@ import { RuleObject } from 'ant-design-vue/es/form/interface';
|
|
|
import { FormState, WRSConvertDetailEx } from './interface';
|
|
|
import { validateCommon } from '@/common/setup/validate';
|
|
|
import { getGoodsUnitEnumList } from '@/common/constants/enumsList';
|
|
|
-import { getGoodsUnitEnumItemName } from '@/common/constants/enumsName';
|
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
import { DeliveryGoodsApplyReq } from '@/services/proto/delivery/interface';
|
|
|
import { addDeliveryGoodsApply } from '@/services/proto/delivery';
|
|
|
@@ -385,7 +384,7 @@ export default defineComponent({
|
|
|
function middleChange(id: number, value: WRSConvertDetailEx) {
|
|
|
const obj = goodsGroup.value.find((e) => e.groupcategroyid === id);
|
|
|
if (obj) {
|
|
|
- value.unitidName = getGoodsUnitEnumItemName(obj.agreeunit);
|
|
|
+ value.unitidName = obj.enumdicname;
|
|
|
value.unitid = obj.agreeunit;
|
|
|
}
|
|
|
}
|