|
@@ -19,18 +19,32 @@
|
|
|
</template>
|
|
</template>
|
|
|
</timeaxis-item>
|
|
</timeaxis-item>
|
|
|
<!-- 送达 -->
|
|
<!-- 送达 -->
|
|
|
- <block v-for="(item, index) in orderComData" :key="index">
|
|
|
|
|
- <timeaxis-item class="axis-list com-wrap" bgcolor="none" v-if="index > 0">
|
|
|
|
|
- <template v-slot:content>
|
|
|
|
|
- <div class="axis-slot-wrap">
|
|
|
|
|
- <div class="axis-title">{{ item.actionName }}</div>
|
|
|
|
|
- <div class="axis-det">
|
|
|
|
|
- <div class="app-color-0 app-bold">{{ item.addTime | formatTime }}</div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <timeaxis-item class="axis-list com-wrap" bgcolor="none">
|
|
|
|
|
+ <template v-slot:content>
|
|
|
|
|
+ <div class="axis-slot-wrap">
|
|
|
|
|
+ <div class="axis-title">打单</div>
|
|
|
|
|
+ <div class="axis-det">
|
|
|
|
|
+ <div class="app-color-0 app-bold">{{ orderComData[1].addTime | formatTime }}</div>
|
|
|
|
|
+ <block v-if="!$util.isEmpty(orderComData[1].receive)">
|
|
|
|
|
+ <card-name :info="orderComData[1].receive" />
|
|
|
|
|
+ <div class="btn-wrap-com">
|
|
|
|
|
+ <button class="admin-button-com default" @click="printOrderFn">重打</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </block>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </timeaxis-item>
|
|
|
|
|
+ <timeaxis-item class="axis-list com-wrap" bgcolor="none">
|
|
|
|
|
+ <template v-slot:content>
|
|
|
|
|
+ <div class="axis-slot-wrap">
|
|
|
|
|
+ <div class="axis-title">下单</div>
|
|
|
|
|
+ <div class="axis-det">
|
|
|
|
|
+ <div class="app-color-0 app-bold">{{ orderComData[1].addTime | formatTime }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </template>
|
|
|
|
|
- </timeaxis-item>
|
|
|
|
|
- </block>
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </timeaxis-item>
|
|
|
</time-axis>
|
|
</time-axis>
|
|
|
<!-- ship -->
|
|
<!-- ship -->
|
|
|
<modal-module :show="shipModal" :maskClosable="false" @cancel="modalCancel" @click="shipModalClick" title="确认发货?" padding="30rpx 30rpx">
|
|
<modal-module :show="shipModal" :maskClosable="false" @cancel="modalCancel" @click="shipModalClick" title="确认发货?" padding="30rpx 30rpx">
|
|
@@ -74,7 +88,7 @@ import TimeaxisItem from '@/admin/home/components/plugin/timeaxis-item'
|
|
|
import CardName from './card-name'
|
|
import CardName from './card-name'
|
|
|
import ModalModule from '@/components/plugin/modal'
|
|
import ModalModule from '@/components/plugin/modal'
|
|
|
// api
|
|
// api
|
|
|
-import { orderSend } from '@/api/order'
|
|
|
|
|
|
|
+import { orderSend, printOrder } from '@/api/order'
|
|
|
export default {
|
|
export default {
|
|
|
name: 'sel-confirm-module',
|
|
name: 'sel-confirm-module',
|
|
|
components: {
|
|
components: {
|
|
@@ -107,7 +121,10 @@ export default {
|
|
|
},
|
|
},
|
|
|
sendSideText: '',
|
|
sendSideText: '',
|
|
|
// time
|
|
// time
|
|
|
- timeList: [['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24'], ['00', '10', '20', '30', '40', '50']],
|
|
|
|
|
|
|
+ timeList: [
|
|
|
|
|
+ ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24'],
|
|
|
|
|
+ ['00', '10', '20', '30', '40', '50']
|
|
|
|
|
+ ],
|
|
|
// deliveryList
|
|
// deliveryList
|
|
|
deliveryList: [
|
|
deliveryList: [
|
|
|
{
|
|
{
|
|
@@ -126,6 +143,20 @@ export default {
|
|
|
sendSide: ''
|
|
sendSide: ''
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ printOrderFn() {
|
|
|
|
|
+ printOrder({
|
|
|
|
|
+ id: this.orderData.id,
|
|
|
|
|
+ option: 1
|
|
|
|
|
+ }).then(res => {
|
|
|
|
|
+ this.$util.pageTo({
|
|
|
|
|
+ url: '/admin/order/ship',
|
|
|
|
|
+ query: {
|
|
|
|
|
+ id: this.orderData.id,
|
|
|
|
|
+ pageStatus: 7
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
// moadl
|
|
// moadl
|
|
|
switchChangeFn(e) {
|
|
switchChangeFn(e) {
|
|
|
this.form.sendType = e.detail.value ? 1 : 0
|
|
this.form.sendType = e.detail.value ? 1 : 0
|