Commit a3c52d7d authored by 邓春圆's avatar 邓春圆

调拨到仓,出仓查看 修改

parent 9c77abcb
...@@ -25,7 +25,8 @@ export default { ...@@ -25,7 +25,8 @@ export default {
item:{ item:{
type:Object, type:Object,
default:{} default:{}
} },
status:Number,
}, },
name: "warehouse-video-list", name: "warehouse-video-list",
data(){ data(){
...@@ -39,7 +40,7 @@ export default { ...@@ -39,7 +40,7 @@ export default {
}, },
methods:{ methods:{
warehousePictureListFn(){ warehousePictureListFn(){
let p = {bizId:this.item.id,type:this.item.status === 5 ? 2 :this.item.status === 6 ? 3 :''} let p = {bizId:this.item.id,type:this.status}
warehousePictureList(p).then(r =>{ warehousePictureList(p).then(r =>{
this.list = r.data.map(i =>i.url) this.list = r.data.map(i =>i.url)
}) })
......
...@@ -64,9 +64,14 @@ ...@@ -64,9 +64,14 @@
{{STATUS[row.status]}} {{STATUS[row.status]}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('图片')"> <el-table-column :label="$t('出仓影像')">
<template v-slot="{row}"> <template v-slot="{row}">
<warehouse-video-list :item ="row"></warehouse-video-list> <warehouse-video-list :status="2" :item ="row"></warehouse-video-list>
</template>
</el-table-column>
<el-table-column :label="$t('到仓影像')">
<template v-slot="{row}">
<warehouse-video-list :status="3" :item ="row"></warehouse-video-list>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment