|
@@ -1299,14 +1299,14 @@ const changeProductPrice = () => {
|
|
|
iele.saleCostPrice = res[key].costPrice;
|
|
|
iele.contractProductList = res[key].contractProductList
|
|
|
.map((x) => ({
|
|
|
- createTime: x.createTime,
|
|
|
+ createTime: x.createTime || "",
|
|
|
price: x.price,
|
|
|
currency: x.currency,
|
|
|
}))
|
|
|
.filter((y, index) => index < 3);
|
|
|
iele.contractProductListOne = res[key].contractProductList.map(
|
|
|
(x) => ({
|
|
|
- createTime: x.createTime,
|
|
|
+ createTime: x.createTime || "",
|
|
|
price: x.price,
|
|
|
currency: x.currency,
|
|
|
})
|
|
@@ -1314,7 +1314,7 @@ const changeProductPrice = () => {
|
|
|
iele.customerContractProductList = res[
|
|
|
key
|
|
|
].customerContractProductList.map((x) => ({
|
|
|
- createTime: x.createTime,
|
|
|
+ createTime: x.createTime || "",
|
|
|
price: x.price,
|
|
|
currency: x.currency,
|
|
|
}));
|