|
@@ -4,7 +4,7 @@ import { orderMoney0TypeOptions } from '@/views/create-order/data/index.js'
|
|
|
import { dateFormatter } from '@/utils/globalFun'
|
|
|
import { getProductCodeWithType, sortCommonForm } from './common'
|
|
|
import { payWayOptions, productGroupKeyMap, productKeyMap } from '@/views/create-order/data/index.js'
|
|
|
-import { calcSaleTableList } from "@/views/create-order/hooks/utils"
|
|
|
+import { calcSaleTableList, getProductTypeConfWithSpecCode } from "@/views/create-order/hooks/utils"
|
|
|
import dayjs from 'dayjs'
|
|
|
import { div } from '@/utils/number'
|
|
|
|
|
@@ -111,6 +111,9 @@ export function sortOrderInfo(order = {}) {
|
|
|
productArr = productData.map((pd, index) => {
|
|
|
const productCode = pd.productItemCode || getProductCodeWithType(pd.product_type)
|
|
|
const productForm = sortProductFormArr(productCode, pd, order)
|
|
|
+ const actInfo = getProductTypeConfWithSpecCode(productCode)
|
|
|
+
|
|
|
+ Object.assign(pd, actInfo)
|
|
|
|
|
|
const config = {
|
|
|
productCode,
|