This commit is contained in:
zjf committed 2025-05-25 21:05:47 +08:00
commit ba579b5de7
13 files changed
+238 -132

No files matched your search

@@ -389,6 +389,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: Number(unit?.purchasePrice || 0) * item.quantity,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
} else {
return {
@@ -399,6 +400,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: item?.purchasePrice && item.quantity ? Number(item.purchasePrice) * item.quantity : 0,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
}
})
@@ -394,6 +394,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: Number(unit?.purchasePrice || 0) * item.quantity,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
} else {
return {
@@ -404,6 +405,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: item?.purchasePrice && item.quantity ? Number(item.purchasePrice) * item.quantity : 0,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
}
})
@@ -420,6 +420,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: storePrice(Number(unitObj?.realPrice || 0) * item.quantity),
remark: item.remark,
unitId: unitObj.id,
orderType: baseDataForm.orderType,
}
} else {
return {
@@ -431,6 +432,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: item?.realPrice && item.quantity ? storePrice(Number(item.realPrice) * item.quantity) : 0,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
}
})
@@ -314,6 +314,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: Number(unit?.purchasePrice || 0) * item.quantity,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
})
})
@@ -435,6 +435,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: unit?.purchasePrice && item.quantity ? Number(unit.purchasePrice) * item.quantity : 0,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
} else {
return {
@@ -445,6 +446,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: item?.purchasePrice && item.quantity ? Number(item.purchasePrice) * item.quantity : 0,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
}
})
@@ -427,6 +427,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: unit?.purchasePrice && item.quantity ? Number(unit.purchasePrice) * item.quantity : 0,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
} else {
return {
@@ -437,6 +438,7 @@ const cgPlanSpuItems = computed(() => {
totalAmount: item?.purchasePrice && item.quantity ? Number(item.purchasePrice) * item.quantity : 0,
remark: item.remark,
unitId: item.unitId,
orderType: baseDataForm.orderType,
}
}
})