Commit ad6de73f authored by 邓春圆's avatar 邓春圆

赋初始值

parent 1b2976e7
...@@ -130,6 +130,18 @@ export default { ...@@ -130,6 +130,18 @@ export default {
item.lineChannelPriceStepClearanceBackVOList = null; item.lineChannelPriceStepClearanceBackVOList = null;
}) })
}) })
if(arr.length === 0){
return [{
"channelIds": "",
"packagingCreateReqVOList": [
{
"airWeightLimit": 0,
"packagingTypes": "",
"priceStepClearanceCreateReqVOList": []
}
]
}]
}
return arr; return arr;
}, },
...@@ -174,7 +186,6 @@ export default { ...@@ -174,7 +186,6 @@ export default {
}) })
}, },
copy(value) { copy(value) {
console.log(value, 'value');
this.getRouteDetails(value.id, (value) => { this.getRouteDetails(value.id, (value) => {
this.form.channelList = this.setChannelData(value) this.form.channelList = this.setChannelData(value)
this.$message.success('复制成功。') this.$message.success('复制成功。')
......
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