Commit 0768ac7b by 王志慧

commit

1 parent 5a61cad5
......@@ -31,7 +31,7 @@
<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||item.deliveryCardList.length==0">
<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>
......@@ -43,8 +43,8 @@
</div>
</div>
</template>
<el-dialog width="60%" title="查看发货卡号" :visible.sync="innerVisible" append-to-body>
<GLTable :tableData="tableData" :noDataImg="url" :tableParams="innerParams" :hasPage="true"></GLTable>
<el-dialog width="750px" title="查看发货卡号" :visible.sync="innerVisible" append-to-body>
<GLTable class="look-card-wrap" :tableData="tableData" :noDataImg="url" :tableParams="innerParams" :hasPage="false"></GLTable>
</el-dialog>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="dialogShow = false">关闭</el-button>
......@@ -111,15 +111,12 @@ export default {
tableColumns: [
{
label: '卡号',
prop: 'increaseStockNum'
prop: 'cardNum',
width:630
}
]
},
tableData: [
{
increaseStockNum: 111111111111
}
],
tableData: [],
detailInfo: {}
}
},
......@@ -137,7 +134,9 @@ export default {
},
lookNumber(data) {
this.innerVisible = true
this.tableData = data
this.tableData =data.map(item=>{
return {cardNum:item}
})
}
}
}
......@@ -173,8 +172,17 @@ export default {
}
.lookNumber {
font-size: 14px;
color: #5850ff;
color: #5850ff!important;
cursor: pointer;
margin-left: 8px;
}
.look-card-wrap{
/deep/.el-table th.el-table__cell>.cell {
padding: 0 16px;
text-align: center;
}
/deep/.el-table__body td.el-table__cell {
text-align: center;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!