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

调拨到仓,出仓查看 修改

parent 9c77abcb
......@@ -25,7 +25,8 @@ export default {
item:{
type:Object,
default:{}
}
},
status:Number,
},
name: "warehouse-video-list",
data(){
......@@ -39,7 +40,7 @@ export default {
},
methods:{
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 =>{
this.list = r.data.map(i =>i.url)
})
......
......@@ -64,9 +64,14 @@
{{STATUS[row.status]}}
</template>
</el-table-column>
<el-table-column :label="$t('图片')">
<el-table-column :label="$t('出仓影像')">
<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>
</el-table-column>
</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