Commit 788acbe4 authored by 我在何方's avatar 我在何方
parents 7bc92ee0 d2710fd4
...@@ -157,7 +157,9 @@ export default { ...@@ -157,7 +157,9 @@ export default {
unitList:[], unitList:[],
currencyList:[], currencyList:[],
form:{ form:{
copyUserId:[] copyUserId:[],
freightUnitId: 6,
clearanceUnitId: 6
}, },
// 表格多选 // 表格多选
multipleSelection: [], multipleSelection: [],
......
...@@ -291,7 +291,7 @@ export default { ...@@ -291,7 +291,7 @@ export default {
this.exportLoading = true; this.exportLoading = true;
return exportCargoControl(this.combinedQueryParams); return exportCargoControl(this.combinedQueryParams);
}).then(response => { }).then(response => {
this.$download.excel(response, this.$t('控货订单') + '.xlsx'); this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载'))
this.exportLoading = false; this.exportLoading = false;
}).catch(() => { }); }).catch(() => { });
}, },
......
...@@ -733,6 +733,11 @@ export default { ...@@ -733,6 +733,11 @@ export default {
{field: 'hiddenCommission', label: this.$t('暗佣')} {field: 'hiddenCommission', label: this.$t('暗佣')}
] ]
// 批量加价
if(row.markupSeaFreight){
freightFields.push({field: 'markupSeaFreight', label: this.$t('批量加价')})
}
// 品牌加价 // 品牌加价
if(row['brandFreightPrice'] && row['brandFreightPrice'] > 0){ if(row['brandFreightPrice'] && row['brandFreightPrice'] > 0){
freightFields.push({field: 'brandFreightPrice', label: brandType == 1 ? this.$t('有品牌加价') : this.$t('中性品牌加价')}) freightFields.push({field: 'brandFreightPrice', label: brandType == 1 ? this.$t('有品牌加价') : this.$t('中性品牌加价')})
...@@ -763,6 +768,10 @@ export default { ...@@ -763,6 +768,10 @@ export default {
{field: 'electrifiedClearanceFeePrice', label: this.$t('带电加价')}, {field: 'electrifiedClearanceFeePrice', label: this.$t('带电加价')},
{field: 'discountClearanceFeePrice', label: this.$t('优惠活动减免')} {field: 'discountClearanceFeePrice', label: this.$t('优惠活动减免')}
] ]
// 批量加价
if(row.markupClearanceFreight){
clearanceFields.push({field: 'markupClearanceFreight', label: this.$t('批量加价')})
}
// 品牌加价 // 品牌加价
if(row['brandClearanceFeePrice'] && row['brandClearanceFeePrice'] > 0){ if(row['brandClearanceFeePrice'] && row['brandClearanceFeePrice'] > 0){
clearanceFields.push({field: 'brandClearanceFeePrice', label: brandType == 1 ? this.$t('有品牌加价') : this.$t('中性品牌加价')}) clearanceFields.push({field: 'brandClearanceFeePrice', label: brandType == 1 ? this.$t('有品牌加价') : this.$t('中性品牌加价')})
......
...@@ -379,7 +379,7 @@ ...@@ -379,7 +379,7 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<template v-if="exclude(scope.row.status, [0, 11,12,13,14,15,17,18]) && exclude(scope.row.inWarehouseState, [204,205,206])"> <template v-if="exclude(scope.row.status, [0, 11,12,13,14,15,17,18, 32]) && exclude(scope.row.inWarehouseState, [204,205,206])">
<!-- <el-divider direction="vertical"></el-divider> --> <!-- <el-divider direction="vertical"></el-divider> -->
<!--仓库相关的--> <!--仓库相关的-->
<el-dropdown v-hasPermi="[ <el-dropdown v-hasPermi="[
...@@ -468,7 +468,8 @@ ...@@ -468,7 +468,8 @@
<!--修改备货--> <!--修改备货-->
<template v-if=" <template v-if="
include(scope.row.airShipment, [3, 4, 10]) && include(scope.row.airShipment, [3, 4, 10]) &&
scope.row.abnormalState === 0 scope.row.abnormalState === 0 &&
scope.row.status <= 5
"> ">
<el-dropdown-item @click.native="$router.push({path:'/order/stocking?action=update&id=' + scope.row.orderId})" v-hasPermi="['ecw:order:stocking_update']">{{$t('修改备货')}}</el-dropdown-item> <el-dropdown-item @click.native="$router.push({path:'/order/stocking?action=update&id=' + scope.row.orderId})" v-hasPermi="['ecw:order:stocking_update']">{{$t('修改备货')}}</el-dropdown-item>
</template> </template>
......
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