Commit 5a61cad5 by 王志慧

commit

1 parent 08a2f7f8
......@@ -61,17 +61,14 @@
</div>
</GLTable>
</el-form>
</div>
</template>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="dialogShow = false">关闭</el-button>
<el-button type="primary" size="small" @click="handleSave">保存入库</el-button>
</span>
</GLDialog>
</template>
<script>
import BigNumber from 'bignumber.js'
import * as dayjs from 'dayjs'
......@@ -287,7 +284,6 @@ export default {
}
}
</script>
<style lang="scss" scoped>
.detail-info {
display: flex;
......@@ -304,13 +300,6 @@ export default {
color: #5850ff;
cursor: pointer;
}
.lookNumber {
font-size: 14px;
color: #5850ff;
cursor: pointer;
margin-left: 8px;
}
}
.table-wrap {
border: 1px solid #e5e5e5;
......@@ -325,9 +314,5 @@ export default {
/deep/ td.el-table__cell {
height: 64px;
}
.message {
font-size: 14px;
color: #666666;
}
}
</style>
......@@ -24,21 +24,21 @@
<div>
发货数量:
<span>{{ membraneTypeList.includes(item.goodsType) ? `${item.purchaseNumber}卷` : `${item.purchaseNumber}件` }}</span>
<span class="lookNumber" @click="lookNumber(item.deliveryCardList)" v-if="item.deliveryCardList&&item.deliveryCardList.length > 0">查看卡号</span>
<span class="lookNumber" @click="lookNumber(item.deliveryCardList)" v-if="item.deliveryCardList && item.deliveryCardList.length > 0">查看卡号</span>
</div>
<div>
可用库存数量:
<span>{{ item.stockNum }}{{ membraneTypeList.includes(item.goodsType) ? `米` : `件` }}</span>
</div>
</div>
<el-form ref="addForm" :model="item" size="small" v-if="item.deliveryCardList===null">
<el-form ref="addForm" :model="item" size="small" v-if="item.deliveryCardList === null">
<GLTable :tableData="item.goodsWarehousingList" :noDataImg="url" :tableParams="tableParams" :hasPage="false">
<template slot="increaseStockNum" slot-scope="scope">
<span>{{ membraneTypeList.includes(scope.scope.goodsType) ? `${scope.scope.increaseStockNum}米` : `${scope.scope.increaseStockNum}件` }}</span>
</template>
</GLTable>
</el-form>
<div v-else class="message">
<div v-else class="message">
已自动入库至商户的权益卡管理中,可前往“库存管理-权益卡管理”中查询
</div>
</div>
......@@ -135,8 +135,8 @@ export default {
}
})
},
lookNumber(data){
this.innerVisible =true
lookNumber(data) {
this.innerVisible = true
this.tableData = data
}
}
......@@ -171,4 +171,10 @@ export default {
position: static;
}
}
.lookNumber {
font-size: 14px;
color: #5850ff;
cursor: pointer;
margin-left: 8px;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!