Commit 1840e736 authored by Marcus's avatar Marcus

Merge remote-tracking branch 'origin/dev' into dev

parents 3d0d49f0 65d62bea
...@@ -31,9 +31,9 @@ ...@@ -31,9 +31,9 @@
</div> </div>
</div> </div>
<div v-if="(type === 'unload_container' || type === 'close_container') && boxBackVO.pictures" style="marginTop:15px"> <div v-if="(type === 'unload_container' || type === 'close_container') && srcStrs" style="marginTop:15px">
<h1>{{$t('图片')}}</h1> <h1>{{$t('图片')}}</h1>
<ImagePreview :src="boxBackVO.pictures" :width="146" :height="146" /> <ImagePreview :src="srcStrs" :width="146" :height="146" />
</div> </div>
<el-dialog :title="dialogConfig.title" :visible.sync="dialogConfig.visible" fullscreen :modal-append-to-body=false append-to-body> <el-dialog :title="dialogConfig.title" :visible.sync="dialogConfig.visible" fullscreen :modal-append-to-body=false append-to-body>
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
data() { data() {
return { return {
approvalInfo: {}, approvalInfo: {},
boxBackVO: { pictures: "" }, boxBackVO: {},
loadDetail: {}, loadDetail: {},
// 柜型 // 柜型
cabinetLabel: "", cabinetLabel: "",
...@@ -128,6 +128,7 @@ export default { ...@@ -128,6 +128,7 @@ export default {
title: "", title: "",
visible: false, visible: false,
}, },
srcStrs: "",
}; };
}, },
created() { created() {
...@@ -141,6 +142,15 @@ export default { ...@@ -141,6 +142,15 @@ export default {
this.approvalInfo = res.data.approvalInfo; this.approvalInfo = res.data.approvalInfo;
this.boxBackVO = res.data.boxBackVO; this.boxBackVO = res.data.boxBackVO;
this.loadDetail = res.data.loadDetail; this.loadDetail = res.data.loadDetail;
if (this.type === "close_container" && res.data.cabinetVO) {
const ldPictures = res.data.cabinetVO.ldPictures
? JSON.parse(res.data.cabinetVO.ldPictures)
: [];
this.srcStrs = ldPictures.map((item) => item.url).join(",");
}
if (this.type === "unload_container" && res.data.cabinetUnloadVO) {
this.srcStrs = res.data.cabinetUnloadVO.ulImgs ?? '';
}
}); });
}, },
/* 获取柜型 */ /* 获取柜型 */
......
...@@ -118,6 +118,10 @@ ...@@ -118,6 +118,10 @@
<warehouse-video-list :modal="false" :status="3" :item ="row"></warehouse-video-list> <warehouse-video-list :modal="false" :status="3" :item ="row"></warehouse-video-list>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('调拨出仓备注')" prop="arrivalRemark">
</el-table-column>
<el-table-column :label="$t('调拨到仓备注')" prop="deliveryRemark">
</el-table-column>
</el-table> </el-table>
</el-card> </el-card>
<el-divider contentPosition="left">{{$t('审批流程')}}</el-divider> <el-divider contentPosition="left">{{$t('审批流程')}}</el-divider>
......
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
<warehouse-video-list :status="3" :item ="row"></warehouse-video-list> <warehouse-video-list :status="3" :item ="row"></warehouse-video-list>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('调拨出仓备注')" prop="arrivalRemark">
</el-table-column>
<el-table-column :label="$t('调拨到仓备注')" prop="deliveryRemark">
</el-table-column>
</el-table> </el-table>
<el-descriptions style="margin-top: 20px" :column="4" border> <el-descriptions style="margin-top: 20px" :column="4" border>
<el-descriptions-item :label="$t('集运仓库')">{{ warehouseDetails && warehouseDetails.warehouseOutName ? warehouseDetails.warehouseOutName : '' }}</el-descriptions-item> <el-descriptions-item :label="$t('集运仓库')">{{ warehouseDetails && warehouseDetails.warehouseOutName ? warehouseDetails.warehouseOutName : '' }}</el-descriptions-item>
......
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