Commit a425c8fc authored by 我在何方's avatar 我在何方

订单详情入仓记录优化

parent 036bcc32
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<el-table-column :label="$t('箱数')" prop="cartonsNum"> <el-table-column :label="$t('箱数')" prop="cartonsNum">
<template slot-scope="{row}"> <template slot-scope="{row}">
<template v-if="row.orderWarehouseInDetailsVOList && row.orderWarehouseInDetailsVOList.length"> <template v-if="row.orderWarehouseInDetailsVOList && row.orderWarehouseInDetailsVOList.length">
<WarehouseRecordDetail v-model="row.orderWarehouseInDetailsVOList" text readonly /> <WarehouseRecordDetail v-model="row.orderWarehouseInDetailsVOList" :num="row.cartonsNum" text readonly />
</template> </template>
<template v-else>{{ row.cartonsNum }}</template> <template v-else>{{ row.cartonsNum }}</template>
</template> </template>
......
<template> <template>
<div style="display: inline-block"> <div style="display: inline-block">
<template v-if="text"> <template v-if="text">
<el-button size="mini" type="text" style="margin-right: 10px" @click="handleOpen">{{ value.length }}(混箱)</el-button> <el-button size="mini" type="text" style="margin-right: 10px" @click="handleOpen">{{ num }}(混箱)</el-button>
</template> </template>
<template v-else> <template v-else>
<el-button size="mini" type="primary" style="margin-right: 10px" @click="handleOpen">{{ title }}</el-button> <el-button size="mini" type="primary" style="margin-right: 10px" @click="handleOpen">{{ title }}</el-button>
...@@ -57,6 +57,10 @@ export default { ...@@ -57,6 +57,10 @@ export default {
text: { text: {
type: Boolean, type: Boolean,
default: false default: false
},
num:{
type:Number,
default:0
} }
}, },
......
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