Authored by 李奇

收发货组件修改

... ... @@ -2,8 +2,8 @@
<div class="cell-info">
<span class="item">销售数:{{buyNum}}</span>
<span class="item">实际应发数:{{actualNeed}}</span>
<span class="item">当前需发数:{{currentNeed}}</span>
<span class="item">收货数:{{storeNum}}</span>
<span class="item darker">当前需发数:{{currentNeed}}</span>
<span v-if="showStore" class="item">收货数:{{storeNum}}</span>
</div>
</template>
... ... @@ -11,6 +11,9 @@
export default {
name: 'CellDispatch',
props: {
showStore: {
default: false
},
storeNum: {
type: [String, Number]
},
... ... @@ -46,6 +49,11 @@
.item {
display: block;
&.darker {
font-weight: bold;
color: #000000;
}
}
}
... ...
... ... @@ -95,7 +95,8 @@ export default () => {
title: '订单收发货',
align: 'center',
render(row){
return `<cell-dispatch
return `<cell-dispatch
:show-store="true"
:store-num="row.inStoreNum"
:buy-num="row.buyingNums"
:ship-num="row.shipmentsNums"
... ...