Commit 75aae5f6 authored by liuzeheng's avatar liuzeheng

复制价格后加载列表数据

parent f9f8ba7f
......@@ -711,9 +711,11 @@
},
//复制价格
copyPrice(){
console.log(this.product)
if(this.ids.length==0){
console.log(this.ids)
return this.$message(this.$t('请至少选中一项复制价格'))
}
this.$confirm(this.$t('请再次确认是否将勾选的线路价格复制到手机充电器'), '提示', {
......@@ -724,9 +726,11 @@
let productPriceIds = this.ids.join(',')
let productId = this.$route.query.id
let data = {productPriceIds:productPriceIds,productId:productId}
let lineChannelList =[{lineId:1,shippingChannelId:2}]
let data = {productPriceIds:productPriceIds,productId:productId,lineChannelList:lineChannelList}
copyPriceByProductIds(data).then(res => {
this.$modal.msgSuccess(this.$t("复制价格成功"));
this.getList()
})
......
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