| | |
| | | let tableData = ref([]);
|
| | | let openDetl = ref(false);
|
| | | const orderId = ref(null);
|
| | | const inModel = ref('');
|
| | | const orderInfo = ref({
|
| | | orderInfo: '',
|
| | | orderType$: '',
|
| | |
| | |
|
| | | get("/api/order/" + newVal, {}).then((resp) => {
|
| | | let result = resp.data;
|
| | | if(result.data != null) {
|
| | | if (result.data != null) {
|
| | | orderInfo.value = result.data;
|
| | | console.log(result.data);
|
| | | }
|
| | | })
|
| | | }
|
| | |
| | | orderId,
|
| | | openDetl,
|
| | | showWidth,
|
| | | inModel,
|
| | | })
|
| | |
|
| | | </script>
|
| | |
| | |
|
| | | <template>
|
| | | <div>
|
| | | <a-modal v-model:open="openDetl" :width="showWidth" @ok="handleOk" @cancel="handleCancel">
|
| | | <a-modal v-model:open="openDetl" :width="showWidth" @ok="handleOk" @cancel="handleCancel" style="width: 80%;">
|
| | | <div class="component-header">
|
| | | <div>
|
| | | <h3>
|
| | |
| | | 单据状态:{{ orderInfo.orderSettle$ }}
|
| | | </h3>
|
| | | </div>
|
| | | <div>
|
| | | <h3>
|
| | | 数量:{{ orderInfo.waitQty }}
|
| | | </h3>
|
| | | <h3>
|
| | | 物流名称:{{ orderInfo.logisticsName }}
|
| | | </h3>
|
| | | <h3>
|
| | | 快递单号:{{ orderInfo.logistics }}
|
| | | </h3>
|
| | | </div>
|
| | | <div>
|
| | | <h3>
|
| | | 收货地址:{{ orderInfo.address }}
|
| | | </h3>
|
| | | <h3>
|
| | | 联系电话:{{ orderInfo.phone }}
|
| | | </h3>
|
| | | </div>
|
| | | <div v-if="inModel != 'in'">
|
| | | <h2>
|
| | | 出站口:{{ orderInfo.site }}
|
| | | </h2>
|
| | | </div>
|
| | | <div class="qrcode">
|
| | | <a-qrcode :value="orderInfo.orderNo" :size="100" :bordered="false" />
|
| | | </div>
|
| | |
| | | <template v-if="column.dataIndex === 'workQty'">
|
| | | <a-button type="link" @click="openWorkTask(record)">{{ text }}</a-button>
|
| | | </template>
|
| | |
|
| | | <template v-if="column.dataIndex === 'qty'">
|
| | | <a-button type="link" @click="openCompleteQty(record)">{{ text }}</a-button>
|
| | | </template>
|