|
@@ -205,7 +205,20 @@ export default {
|
|
this.multipleSelection = []
|
|
this.multipleSelection = []
|
|
this.timeValueObj = {}
|
|
this.timeValueObj = {}
|
|
this.form = JSON.parse(JSON.stringify(obj))
|
|
this.form = JSON.parse(JSON.stringify(obj))
|
|
- await this.getPushListFun(obj,type)
|
|
|
|
|
|
+ if(type == 'yesPush') {
|
|
|
|
+ await this.getPushListFun(obj,type)
|
|
|
|
+ } else {
|
|
|
|
+ let list1 = []
|
|
|
|
+ if(obj.sku?.length > 0) {
|
|
|
|
+ obj.sku.forEach((item,index)=>{
|
|
|
|
+ list1.push({
|
|
|
|
+ ...item,
|
|
|
|
+ tableId: "id_" + index
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ this.goodsList = JSON.parse(JSON.stringify(list1));
|
|
|
|
+ }
|
|
this.loading = false
|
|
this.loading = false
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|
|
this.goodsList.forEach((item)=>{
|
|
this.goodsList.forEach((item)=>{
|