Commit 3585f819 authored by dragondean@qq.com's avatar dragondean@qq.com
parents 55bf6bb3 b9a688ff
...@@ -692,7 +692,7 @@ export default { ...@@ -692,7 +692,7 @@ export default {
this.exportLoading = true; this.exportLoading = true;
return exportCustomerExcel(params); return exportCustomerExcel(params);
}).then(response => { }).then(response => {
this.$download.excel(response, '${table.classComment}.xls'); this.$download.excel(response, '客户信息.xls');
this.exportLoading = false; this.exportLoading = false;
}).catch(() => {}); }).catch(() => {});
}, },
......
...@@ -159,14 +159,19 @@ export default { ...@@ -159,14 +159,19 @@ export default {
handEdit(row){ handEdit(row){
if(row.orderExceptionType=='order_no_quote_exception'){ if(row.orderExceptionType=='order_no_quote_exception'){
let url = '../../lineProject/product-price/edit?product_id=' + row.orderItemId if(row.orderItemId){
var productData = this.orderData.orderItemVOList.find(item=>item.orderItemId==row.orderItemId)
if(row.orderItem){ if(productData){
getProduct(row.orderItemId).then(res=>{ getProduct(productData.prodId).then(res=>{
url = '../../lineProject/product-price/edit?product_id='+row.orderItemId+'&product_type='+res.data.typeId let url = '../../lineProject/product-price/edit?product_id='+productData.prodId+'&product_type='+res.data.typeId
}) return this.$router.push(url)
})
}
}else{
let url = '../../lineProject/product-price/edit'
return this.$router.push(url)
} }
return this.$router.push(url)
}else if(row.orderExceptionType == 'order_heavy_cargo_exception'||row.orderExceptionType=='order_bulky_cargo_exception'){ }else if(row.orderExceptionType == 'order_heavy_cargo_exception'||row.orderExceptionType=='order_bulky_cargo_exception'){
this.$router.push({ this.$router.push({
path:"/order/weightDeal?id="+row.id+'&type='+row.orderExceptionType, path:"/order/weightDeal?id="+row.id+'&type='+row.orderExceptionType,
......
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