Browse Source

#I1BLJM #I1BLV6

master
hupeng 5 years ago
parent
commit
66d08cc899
  1. 2
      src/components/material/index.vue
  2. 8
      src/views/shop/order/detail.vue

2
src/components/material/index.vue

@ -103,7 +103,7 @@
:src="item.url" :src="item.url"
fit="contain" fit="contain"
:preview-src-list="[item.url]" :preview-src-list="[item.url]"
z-index="999" :z-index=999
/> />
<div> <div>
<el-checkbox class="material-name" :label="item.url"> <el-checkbox class="material-name" :label="item.url">

8
src/views/shop/order/detail.vue

@ -25,8 +25,8 @@
<div class="text item">订单状态: {{ form.statusName }}</div> <div class="text item">订单状态: {{ form.statusName }}</div>
<div class="text item">商品总价: {{ form.totalPrice }}</div> <div class="text item">商品总价: {{ form.totalPrice }}</div>
<div class="text item">优惠券金额: {{ form.couponPrice }}</div> <div class="text item">优惠券金额: {{ form.couponPrice }}</div>
<div class="text item">创建时间: {{ formatTime(form.addTime) }}</div> <div class="text item">创建时间: {{ parseTime(form.addTime) }}</div>
<div class="text item">支付时间: {{ formatTime(form.payTime) }}</div> <div class="text item">支付时间: {{ parseTime(form.payTime) }}</div>
</el-col> </el-col>
</el-row> </el-row>
</el-card> </el-card>
@ -48,7 +48,7 @@
<script> <script>
import { add, edit } from '@/api/yxStoreOrder' import { add, edit } from '@/api/yxStoreOrder'
import { formatTime } from '@/utils/index' import { parseTime } from '@/utils/index'
export default { export default {
props: { props: {
isAdd: { isAdd: {
@ -120,7 +120,7 @@ export default {
} }
}, },
methods: { methods: {
formatTime, parseTime,
cancel() { cancel() {
this.resetForm() this.resetForm()
}, },

Loading…
Cancel
Save