|
@@ -72,9 +72,9 @@
|
|
<template #bodyCell="{ column, record }">
|
|
<template #bodyCell="{ column, record }">
|
|
<template v-if="column.dataIndex === 'action'">
|
|
<template v-if="column.dataIndex === 'action'">
|
|
|
|
|
|
- <a @click="showModal(record)" v-if="record.status == '5'">二维码</a>
|
|
|
|
|
|
+ <a @click="showModal(record)" v-if="(record.status == '5' || record.status == '6')">二维码</a>
|
|
|
|
|
|
- <a-divider type="vertical" v-if="record.status == '5' "/>
|
|
|
|
|
|
+ <a-divider type="vertical" v-if="(record.status == '5' || record.status == '6') "/>
|
|
|
|
|
|
<a-dropdown>
|
|
<a-dropdown>
|
|
<a class="ant-dropdown-link">
|
|
<a class="ant-dropdown-link">
|
|
@@ -104,6 +104,12 @@
|
|
<a-menu-item v-if="hasPerm('bizDispatchLoad') && (record.status == '4' || record.status=='5' || record.status=='6') && record.arriveStatus == '2'">
|
|
<a-menu-item v-if="hasPerm('bizDispatchLoad') && (record.status == '4' || record.status=='5' || record.status=='6') && record.arriveStatus == '2'">
|
|
<a style="color:green" size="small" type="link" @click="dispatchLoadRef.onOpen(record)">起卸调度</a>
|
|
<a style="color:green" size="small" type="link" @click="dispatchLoadRef.onOpen(record)">起卸调度</a>
|
|
</a-menu-item>
|
|
</a-menu-item>
|
|
|
|
+ <a-menu-item v-if="hasPerm('bizLoadAppointEnd') && (record.status=='5' || record.status=='6')">
|
|
|
|
+ <a style="color:red" @click="endRef.showModal(record.id)">结束</a>
|
|
|
|
+ </a-menu-item>
|
|
|
|
+ <a-menu-item v-if="hasPerm('bizLoadAppointFill') && (record.status=='7' )">
|
|
|
|
+ <a style="color:orange" @click="fillRef.showModal(record.id)">填报</a>
|
|
|
|
+ </a-menu-item>
|
|
</a-menu>
|
|
</a-menu>
|
|
</template>
|
|
</template>
|
|
</a-dropdown>
|
|
</a-dropdown>
|
|
@@ -140,6 +146,8 @@
|
|
<Detail ref="detailRef" @successful="tableRef.refresh()" />
|
|
<Detail ref="detailRef" @successful="tableRef.refresh()" />
|
|
<Dispatch ref="dispatchRef" @successful="tableRef.refresh()" />
|
|
<Dispatch ref="dispatchRef" @successful="tableRef.refresh()" />
|
|
<DispatchLoad ref="dispatchLoadRef" @successful="tableRef.refresh()" />
|
|
<DispatchLoad ref="dispatchLoadRef" @successful="tableRef.refresh()" />
|
|
|
|
+ <End ref="endRef" @successful="tableRef.refresh(true)" />
|
|
|
|
+ <Fill ref="fillRef" @successful="tableRef.refresh(true)" />
|
|
<XnSignName ref="XnSignNameRef" @successful="signSuccess" />
|
|
<XnSignName ref="XnSignNameRef" @successful="signSuccess" />
|
|
|
|
|
|
<a-modal v-model:visible="open" title="二维码" width="600px" style="height: 700px">
|
|
<a-modal v-model:visible="open" title="二维码" width="600px" style="height: 700px">
|
|
@@ -180,6 +188,8 @@
|
|
import downloadUtil from '@/utils/downloadUtil'
|
|
import downloadUtil from '@/utils/downloadUtil'
|
|
import Dispatch from './dispatch.vue'
|
|
import Dispatch from './dispatch.vue'
|
|
import DispatchLoad from './dispatchload.vue'
|
|
import DispatchLoad from './dispatchload.vue'
|
|
|
|
+ import End from "./end.vue";
|
|
|
|
+ import Fill from './fill.vue'
|
|
|
|
|
|
|
|
|
|
const tableRef = ref()
|
|
const tableRef = ref()
|
|
@@ -189,6 +199,8 @@
|
|
const detailRef = ref()
|
|
const detailRef = ref()
|
|
const XnSignNameRef = ref()
|
|
const XnSignNameRef = ref()
|
|
const nowRecord = ref()
|
|
const nowRecord = ref()
|
|
|
|
+ const endRef = ref()
|
|
|
|
+ const fillRef = ref()
|
|
const submitLoading = ref(false)
|
|
const submitLoading = ref(false)
|
|
const toolConfig = { refresh: true, height: true, columnSetting: true, striped: false }
|
|
const toolConfig = { refresh: true, height: true, columnSetting: true, striped: false }
|
|
|
|
|
|
@@ -370,7 +382,8 @@
|
|
//QRCode.toDataURL("id:"+record.id+"saleCode:"+record.saleCode, {
|
|
//QRCode.toDataURL("id:"+record.id+"saleCode:"+record.saleCode, {
|
|
let param = {
|
|
let param = {
|
|
id:record.id,
|
|
id:record.id,
|
|
- loadNumber:record.loadNumber
|
|
|
|
|
|
+ loadNumber:record.loadNumber,
|
|
|
|
+ type:'3'
|
|
}
|
|
}
|
|
QRCode.toDataURL(JSON.stringify(param), {
|
|
QRCode.toDataURL(JSON.stringify(param), {
|
|
errorCorrectionLevel: 'H',
|
|
errorCorrectionLevel: 'H',
|