Commit 3d72f0af authored by 邓春圆's avatar 邓春圆

Merge remote-tracking branch 'origin/dev' into dev

parents a9ed2ee3 455fc9f0
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<el-form-item :label="$t('特性')" prop="attrId"> <el-form-item :label="$t('特性')" prop="attrId">
<el-select v-model="queryParams.attrId" :placeholder="$t('特性')"> <el-select v-model="queryParams.attrId" :placeholder="$t('特性')">
<el-option v-for="item in attrIdList" :label="item" :value="item*1" :key="item"></el-option> <el-option v-for="item in attrIdList" :label="item.label" :value="item.value*1" :key="item.value"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
</el-table-column> </el-table-column>
<el-table-column :label="$t('箱数')" align="center" prop="warehouseInInfoVO.cartonsNum"> <el-table-column :label="$t('箱数')" align="center" prop="warehouseInInfoVO.cartonsNum">
<template slot-scope="scope"> <template slot-scope="scope">
<span style="color: bule" v-if="scope.row.mixStatus == 1">{{scope.row.warehouseInInfoVO.cartonsNum}}{{$t('(混箱)')}}</span> <span style="color: blue;" v-if="scope.row.mixStatus == 1">{{scope.row.warehouseInInfoVO.cartonsNum}}{{$t('(混箱)')}}</span>
<template v-else> <template v-else>
{{scope.row.warehouseInInfoVO.cartonsNum}} {{scope.row.warehouseInInfoVO.cartonsNum}}
</template> </template>
...@@ -514,7 +514,15 @@ export default { ...@@ -514,7 +514,15 @@ export default {
if(this.queryParams.shippingChannelId){ if(this.queryParams.shippingChannelId){
let attrs = this.channelList.find(item=>this.queryParams.shippingChannelId == item.channelId) let attrs = this.channelList.find(item=>this.queryParams.shippingChannelId == item.channelId)
if(attrs){ if(attrs){
data = attrs.attrId.split(',') let attrId = attrs.attrId.split(',')
attrId.forEach((item,index)=>{
data.push(
{
value: item,
label: attrs.attrNameList[index]
}
)
})
} }
} }
return data return data
......
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