|
@@ -228,7 +228,7 @@ export default {
|
|
|
if ((this.taskDefinitionKey === 'salesManagerApprove') && status === 1) {
|
|
if ((this.taskDefinitionKey === 'salesManagerApprove') && status === 1) {
|
|
|
let arr = await this.getTableValue();
|
|
let arr = await this.getTableValue();
|
|
|
|
|
|
|
|
- let arrList = arr?.productList.map((item) => {
|
|
|
|
|
|
|
+ let arrList = arr.map((item) => {
|
|
|
return {
|
|
return {
|
|
|
...item,
|
|
...item,
|
|
|
id: item.id,
|
|
id: item.id,
|
|
@@ -247,7 +247,7 @@ export default {
|
|
|
let arr = await this.getTableValue();
|
|
let arr = await this.getTableValue();
|
|
|
let singlePrice = true;
|
|
let singlePrice = true;
|
|
|
let totalCount = true;
|
|
let totalCount = true;
|
|
|
- let arrList = arr.map((item) => {
|
|
|
|
|
|
|
+ let arrList = arr?.productList.map((item) => {
|
|
|
if (!item.singlePrice) {
|
|
if (!item.singlePrice) {
|
|
|
singlePrice = false;
|
|
singlePrice = false;
|
|
|
}
|
|
}
|