Commit 0ff630fc authored by dragondean@qq.com's avatar dragondean@qq.com

backup

parent 0faed767
...@@ -318,3 +318,11 @@ export function getOrderCourierNumber(params){ ...@@ -318,3 +318,11 @@ export function getOrderCourierNumber(params){
params, params,
}) })
} }
// 获取审核
export function getApproval(id){
return request({
url:'/order/approval/get?id=' + id,
method:'get'
})
}
\ No newline at end of file
...@@ -239,7 +239,7 @@ export default { ...@@ -239,7 +239,7 @@ export default {
component: "shippingDetail", component: "shippingDetail",
processId: this.processInstance.businessKey, processId: this.processInstance.businessKey,
}, },
split_order: { split_detail: {
component: "splitDetail", component: "splitDetail",
id: this.processInstance.businessKey, id: this.processInstance.businessKey,
} }
......
<!--拆单审核中的申请信息部分--> <!--拆单审核中的申请信息部分-->
<template> <template>
<div>拆单审核详情</div> <div>
<el-descriptions :column="4">
<el-descriptions-item label="订单号">kooriookami</el-descriptions-item>
<el-descriptions-item label="运输方式">18100000000</el-descriptions-item>
<el-descriptions-item label="出货方式">苏州市</el-descriptions-item>
<el-descriptions-item label="订单状态">
<el-tag size="small">学校</el-tag>
</el-descriptions-item>
<el-descriptions-item label="出货方式">苏州市</el-descriptions-item>
<el-descriptions-item label="唛头">苏州市</el-descriptions-item>
<el-descriptions-item label="目的仓">苏州市</el-descriptions-item>
</el-descriptions>
<template v-for="item in detail.orderSplitBackVOList">
<div class="title" :key="item.orderNo">
{{item.orderNo}}
</div>
<el-table :data="item.orderSplitItemBackVOList" :key="'items-' + item.orderNo">
<el-table-column label="序号">
<template slot-scope="scope">{{scope.$index+1}}</template>
</el-table-column>
<el-table-column label="中文品名">
<template slot-scope="{row}">{{row.prodTitleZh}}</template>
</el-table-column>
<el-table-column label="英文品名">
<template slot-scope="{row}">{{row.prodTitleEn}}</template>
</el-table-column>
<el-table-column label="品牌">
<template slot-scope="{row}">
<dict-tag :type="DICT_TYPE.ECW_IS_BRAND" :value="row.brandType" />
</template>
</el-table-column>
<el-table-column label="体积">
<template slot-scope="{row}">{{row.volume}}</template>
</el-table-column>
<el-table-column label="重量">
<template slot-scope="{row}">{{row.weight}}kg</template>
</el-table-column>
<el-table-column label="箱数">
<template slot-scope="{row}">{{row.num}}</template></el-table-column>
</el-table>
</template>
</div>
</template> </template>
<script> <script>
import {getApproval} from '@/api/ecw/order'
export default { export default {
props:{ props:{
id: [String, Number] id: [String, Number]
}, },
data(){ data(){
return { return {
detail: null
}
},
watch:{
id(){
this.getData()
} }
}, },
created(){ created(){
if(this.id){
this.getData()
}
},
methods:{
getData(){
getApproval(this.id).then(res => {
this.detail = JSON.parse(res.data.details)
})
}
} }
} }
</script> </script>
\ No newline at end of file
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