Commit 1ef2c61f authored by 邓春圆's avatar 邓春圆

复制包装类型

parent dace2a39
......@@ -274,11 +274,12 @@ export default {
getChannel(val).then((res) => {
console.log(res.data,'data')
res.data.channelPackagingList.forEach((item,index) =>{
if(!this.form.channelPackagingList[index]){
this.form.channelPackagingList[index] = { airWeightLimit:item.airWeightLimit, packagingTypes:[], channelPriceStepClearanceList:[],}
}else {
this.form.channelPackagingList[index] = { airWeightLimit:item.airWeightLimit, packagingTypes: [], channelPriceStepClearanceList:[],}
}
this.form.channelPackagingList[index] = { airWeightLimit:item.airWeightLimit, packagingTypes: item.packagingTypes ? item.packagingTypes.split(',') : [], channelPriceStepClearanceList:[],}
// if(!this.form.channelPackagingList[index]){
// this.form.channelPackagingList[index] = { airWeightLimit:item.airWeightLimit, packagingTypes:item.packagingTypes ? item.packagingTypes.split(',') : [], channelPriceStepClearanceList:[],}
// }else {
//
// }
item.channelPriceStepClearanceList.forEach((itemm, indexx) => {
let p = {
"channelId":'',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment