|
@@ -41,6 +41,17 @@
|
|
|
<div>{{ text }}</div>
|
|
|
<div v-if="record.origqty">原采购数量:{{ record.origqty }}</div>
|
|
|
</template>
|
|
|
+ <!-- 入库数量 -->
|
|
|
+ <template slot="warehouseNum" slot-scope="text, record">
|
|
|
+ <a-input-number
|
|
|
+ size="small"
|
|
|
+ v-model="record.putQty"
|
|
|
+ :precision="0"
|
|
|
+ :min="0"
|
|
|
+ :max="999999"
|
|
|
+ style="width: 100%;"
|
|
|
+ placeholder="请输入入库数量" />
|
|
|
+ </template>
|
|
|
<!-- 仓库仓位 -->
|
|
|
<template slot="warehousePosition" slot-scope="text, record, index">
|
|
|
<a-cascader
|
|
@@ -148,7 +159,9 @@ export default {
|
|
|
{ title: '本次发货数量', dataIndex: 'shippedQty', width: '9%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '单位', dataIndex: 'dealerProductEntity.unit', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
// { title: '本次发货金额', dataIndex: 'discountedAmount', width: '9%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
- { title: '本次入库数量', dataIndex: 'putQty', width: '9%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ // { title: '本次入库数量', dataIndex: 'putQty', width: '9%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '本次入库数量', scopedSlots: { customRender: 'warehouseNum' }, width: '9%', align: 'center' },
|
|
|
+ { title: '本次入库金额', dataIndex: 'warehouseMoney', width: '9%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text, 2) : '--') } },
|
|
|
{ title: '仓库仓位', scopedSlots: { customRender: 'warehousePosition' }, width: '13%', align: 'center' }
|
|
|
]
|
|
|
if (this.$hasPermissions('M_ShowAllCost')) {
|
|
@@ -319,7 +332,7 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style lang="less">
|
|
|
+<style lang="less" scoped>
|
|
|
.purchaseOrderWarehousing-wrap{
|
|
|
position: relative;
|
|
|
height: 100%;
|
|
@@ -339,5 +352,8 @@ export default {
|
|
|
.purchaseOrderWarehousing-cont{
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
+ /deep/.ant-input-number-input{
|
|
|
+ text-align: center !important;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|