|
@@ -42,7 +42,7 @@
|
|
功能<i class="el-icon-arrow-down el-icon--right" />
|
|
功能<i class="el-icon-arrow-down el-icon--right" />
|
|
</el-button>
|
|
</el-button>
|
|
<el-dropdown-menu slot="dropdown">
|
|
<el-dropdown-menu slot="dropdown">
|
|
- <el-dropdown-item>备注</el-dropdown-item>
|
|
|
|
|
|
+ <el-dropdown-item><div @click="RemarksOrder(order.orderID)">备注</div></el-dropdown-item>
|
|
<el-dropdown-item>发货记录</el-dropdown-item>
|
|
<el-dropdown-item>发货记录</el-dropdown-item>
|
|
<el-dropdown-item>收退款记录</el-dropdown-item>
|
|
<el-dropdown-item>收退款记录</el-dropdown-item>
|
|
<el-dropdown-item>退款(退货)记录</el-dropdown-item>
|
|
<el-dropdown-item>退款(退货)记录</el-dropdown-item>
|
|
@@ -52,7 +52,7 @@
|
|
</el-row>
|
|
</el-row>
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
- <el-card class="box-card">
|
|
|
|
|
|
+ <el-card v-if="order" class="box-card">
|
|
<el-row :gutter="24" class="box-row">
|
|
<el-row :gutter="24" class="box-row">
|
|
<el-col :span="6">收货人: {{ order.bpOrderUserinfo.shouHuoRen }}</el-col>
|
|
<el-col :span="6">收货人: {{ order.bpOrderUserinfo.shouHuoRen }}</el-col>
|
|
<el-col :span="6">手机: {{ order.bpOrderUserinfo.mobile }}</el-col>
|
|
<el-col :span="6">手机: {{ order.bpOrderUserinfo.mobile }}</el-col>
|
|
@@ -86,7 +86,7 @@
|
|
</el-row>
|
|
</el-row>
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
- <el-card class="box-card">
|
|
|
|
|
|
+ <el-card v-if="order" class="box-card">
|
|
<div v-for="shopOrder in order.newShopOrders" :key="shopOrder.shopOrderID" class="order-item">
|
|
<div v-for="shopOrder in order.newShopOrders" :key="shopOrder.shopOrderID" class="order-item">
|
|
<el-row :gutter="22" class="box-row">
|
|
<el-row :gutter="22" class="box-row">
|
|
<el-col :span="7">子订单号(ID): {{ shopOrder.shopOrderNo + '(' + shopOrder.shopOrderID + ')' }}</el-col>
|
|
<el-col :span="7">子订单号(ID): {{ shopOrder.shopOrderNo + '(' + shopOrder.shopOrderID + ')' }}</el-col>
|
|
@@ -123,12 +123,17 @@
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
</el-card>
|
|
</el-card>
|
|
|
|
+
|
|
|
|
+ <Remarks dialog-title="订单备注信息" :is-visible.sync="dialogRemarksVisible" :order-id="dialogRemarksOrderId" :remark-list="dialogRemarkList" />
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import { getDetail } from '@/api/order'
|
|
|
|
|
|
+import { getDetail, getRemarks } from '@/api/order'
|
|
|
|
+import Remarks from './components/remarks'
|
|
export default {
|
|
export default {
|
|
|
|
+ components: { Remarks },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
activeIndex: '2',
|
|
activeIndex: '2',
|
|
@@ -137,6 +142,9 @@ export default {
|
|
returnValue: 0,
|
|
returnValue: 0,
|
|
returnedPurchaseFee: 0,
|
|
returnedPurchaseFee: 0,
|
|
bpClauses: null,
|
|
bpClauses: null,
|
|
|
|
+ dialogRemarkList: [],
|
|
|
|
+ dialogRemarksVisible: false,
|
|
|
|
+ dialogRemarksOrderId: 0,
|
|
statusObj: {
|
|
statusObj: {
|
|
'0': '待确认',
|
|
'0': '待确认',
|
|
'4': '交易完成',
|
|
'4': '交易完成',
|
|
@@ -176,6 +184,13 @@ export default {
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
this.listLoading = false
|
|
this.listLoading = false
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ RemarksOrder: function(id) {
|
|
|
|
+ getRemarks({ orderID: id }).then(response => {
|
|
|
|
+ this.dialogRemarkList = response.data
|
|
|
|
+ })
|
|
|
|
+ this.dialogRemarksOrderId = id
|
|
|
|
+ this.dialogRemarksVisible = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|