Commit 0768ac7b by 王志慧

commit

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