Commit 4abc15c0 authored by yaya's avatar yaya

feat:物流展示修改

parent c1a03946
......@@ -34,7 +34,7 @@
<script>
import { MessageBox } from 'element-ui'
import { requestIdentifyDelivery, requestIdentifySendBack } from '@/api/business/order'
import { requestIdentifyDelivery, requestIdentifySendBack, requestLogisticsList } from '@/api/business/order'
export default {
name: 'ReturnLogisticIdentifyDialog',
props: {
......@@ -97,10 +97,24 @@ export default {
]
}
},
created() {
this.getLogisticsList()
},
methods: {
handleCancelLogisticDialog() {
this.$emit('cancelDialog')
},
/**
* 获取物流公司列表
*/
getLogisticsList() {
requestLogisticsList().then((response) => {
console.log('==response===', response)
this.logisticList = response.data.data
}).catch((err) => {
console.log('==err===', err)
})
},
/**
* 实物评估
*/
......
......@@ -89,13 +89,13 @@
<div class="user_info flex">
<el-form ref="addInviteRef" label-width="200px" style="width: 100%">
<el-form-item label="藏家>平台 物流信息:">
<div>{{ itemContent.fromLogisticsInfo || '-' }}</div>
<div>{{ fromLogisticsInfo || '-' }}</div>
</el-form-item>
<el-form-item label="平台>买家 物流信息:">
<div>{{ itemContent.fromLogisticsInfo || '-' }}</div>
<div>{{ deliveryLogisticsInfo || '-' }}</div>
</el-form-item>
<el-form-item label="平台>藏家 物流信息:">
<div>{{ itemContent.returnLogisticsInfo || '-' }}</div>
<div>{{ returnLogisticsInfo || '-' }}</div>
</el-form-item>
</el-form>
</div>
......@@ -184,6 +184,9 @@ export default {
requestTransferDetail(params).then(response => {
console.log('===response=', response)
this.itemContent = response.data.data.data || {}
this.fromLogisticsInfo = response.data.data.fromLogisticsInfo || '-'
this.returnLogisticsInfo = response.data.data.returnLogisticsInfo || ''
this.deliveryLogisticsInfo = response.data.data.deliveryLogisticsInfo || ''
const model = {
itemName: this.itemContent.itemName,
homePageImage: this.itemContent.homePageImage,
......
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