lijingjia 1 week ago
commit 5d6e00acd8

@ -2,7 +2,7 @@
<BasicModal
v-bind="$attrs"
:use-wrapper="true"
title="箱状态批量维护"
title="箱可用状态批量维护"
width="55%"
@register="registerModal"
@ok="handleSave"

@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [
title: '箱型',
dataIndex: 'ctnall',
sorter: true,
width: 150,
width: 100,
},
{
title: '序号',
@ -40,13 +40,13 @@ export const columns: BasicColumn[] = [
width: 50,
},
// {
// title: '箱状态',
// title: '箱可用状态',
// dataIndex: 'ctnState',
// sorter: true,
// width: 200,
// },
{
title: '箱流转状态',
title: '箱状态',
dataIndex: 'ctnFlowState',
sorter: true,
width: 200,
@ -76,7 +76,7 @@ export const columns: BasicColumn[] = [
width: 200,
},
{
title: '空重',
title: '空重',
dataIndex: 'isHeavy',
sorter: true,
width: 80,
@ -108,7 +108,7 @@ export const columns: BasicColumn[] = [
width: 150,
},
{
title: '码头或场站',
title: '场地',
dataIndex: 'depot',
sorter: true,
width: 150,
@ -159,7 +159,7 @@ export const columns: BasicColumn[] = [
// },
// {
// title: '箱状态',
// title: '箱可用状态',
// dataIndex: 'ctnState',
// sorter: true,
// width: 200,
@ -649,7 +649,7 @@ export const formSchema: FormSchema[] = [
},
{
field: 'ctnStateId',
label: '箱状态',
label: '箱可用状态',
component: 'ApiSelect',
colProps: { span: 6 },
defaultValue: '',
@ -721,7 +721,7 @@ export const formSchema: FormSchema[] = [
},
{
field: 'isHeavy',
label: '空重',
label: '空重',
component: 'Switch',
defaultValue: false,
colProps: { span: 6 },
@ -879,7 +879,7 @@ export const formSchema: FormSchema[] = [
},
{
field: 'depot',
label: '码头或场站',
label: '场地',
component: 'ApiSelect',
colProps: { span: 6 },
required: false,
@ -1071,13 +1071,13 @@ export const InfoColumns: BasicColumn[] = [
width: 150,
},
{
title: '箱状态',
title: '箱可用状态',
dataIndex: 'ctnState',
sorter: true,
width: 150,
},
{
title: '空重',
title: '空重',
dataIndex: 'isHeavy',
sorter: true,
width: 80,
@ -1097,7 +1097,7 @@ export const InfoColumns: BasicColumn[] = [
width: 150,
},
{
title: '码头或场站',
title: '场地',
dataIndex: 'depot',
sorter: true,
width: 150,

@ -2,10 +2,10 @@
<div>
<BasicTable class="ds-table" @register="registerTable">
<template #tableTitle>
<a-button type="link" @click="handleCreate">
<!-- <a-button type="link" @click="handleCreate">
<span class="iconfont icon-piliangbianji"></span>
批量维护
</a-button>
</a-button> -->
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">

@ -2,7 +2,7 @@
<BasicModal
v-bind="$attrs"
:use-wrapper="true"
title="箱状态详情"
title="箱可用状态详情"
width="55%"
@register="registerModal"
>

@ -865,7 +865,7 @@
data: 'ctnstate',
},
{
title: '箱流转状态',
title: '箱状态',
width: 120,
data: 'ctnflowstate',
},

@ -1424,12 +1424,12 @@
data: 'ctnBizState',
},
{
title: '箱状态',
title: '箱可用状态',
width: 120,
data: 'ctnState',
},
{
title: '箱流转状态',
title: '箱状态',
width: 120,
data: 'ctnFlowState',
},
@ -1568,12 +1568,12 @@
data: 'ctnBizState',
},
{
title: '箱状态',
title: '箱可用状态',
width: 120,
data: 'ctnState',
},
{
title: '箱流转状态',
title: '箱状态',
width: 120,
data: 'ctnFlowState',
},

@ -651,7 +651,7 @@
data: 'ctnBizStateId',
},
{
title: '箱状态ID',
title: '箱可用状态ID',
width: 120,
data: 'ctnStateId',
},
@ -736,7 +736,7 @@
// },
// },
// {
// title: '',
// title: '',
// width: 120,
// data: 'ctnState',
// type: 'dropdown',

@ -32,7 +32,7 @@ export const columns: BasicColumn[] = [
title: '箱型',
dataIndex: 'ctnall',
sorter: true,
width: 150,
width: 100,
},
{
title: '序号',
@ -40,13 +40,13 @@ export const columns: BasicColumn[] = [
width: 50,
},
// {
// title: '箱状态',
// title: '箱可用状态',
// dataIndex: 'ctnState',
// sorter: true,
// width: 200,
// },
{
title: '箱流转状态',
title: '箱状态',
dataIndex: 'ctnFlowState',
sorter: true,
width: 200,
@ -76,7 +76,7 @@ export const columns: BasicColumn[] = [
width: 150,
},
{
title: '空重',
title: '空重',
dataIndex: 'isHeavy',
sorter: true,
width: 80,
@ -108,7 +108,7 @@ export const columns: BasicColumn[] = [
width: 150,
},
{
title: '码头或场站',
title: '场地',
dataIndex: 'depot',
sorter: true,
width: 150,
@ -423,7 +423,7 @@ export const formSchema: FormSchema[] = [
},
{
field: 'ctnStateId',
label: '箱状态',
label: '箱可用状态',
component: 'ApiSelect',
colProps: { span: 6 },
defaultValue: '',
@ -454,7 +454,7 @@ export const formSchema: FormSchema[] = [
},
{
field: 'isHeavy',
label: '空重',
label: '空重',
component: 'Switch',
defaultValue: false,
colProps: { span: 6 },
@ -604,7 +604,7 @@ export const formSchema: FormSchema[] = [
},
{
field: 'depot',
label: '码头或场站',
label: '场地',
component: 'ApiSelect',
colProps: { span: 6 },
required: false,

@ -2,10 +2,10 @@
<div>
<BasicTable class="ds-table" @register="registerTable">
<template #tableTitle>
<a-button type="link" @click="handleCreate">
<!-- <a-button type="link" @click="handleCreate">
<span class="iconfont icon-tianjia"></span>
批量添加
</a-button>
</a-button> -->
<a-popconfirm
title="确定删除当前选中数据?"
ok-text="是"

@ -434,7 +434,7 @@
data: 'dealRemark',
},
{
title: '箱流转状态',
title: '箱状态',
width: 120,
data: 'ctnFlowState',
},
@ -474,7 +474,7 @@
data: 'portDischarge',
},
{
title: '场站/码头',
title: '场',
width: 120,
data: 'depot',
},
@ -522,12 +522,12 @@
// },
// {
// title: '',
// title: '',
// width: 120,
// data: 'ctnState',
// },
// {
// title: '',
// title: '',
// width: 120,
// data: 'isHeavy',
// },

@ -195,13 +195,13 @@ export const InfoColumns: BasicColumn[] = [
width: 150,
},
{
title: '箱状态',
title: '箱可用状态',
dataIndex: 'ctnState',
sorter: true,
width: 150,
},
{
title: '空重',
title: '空重',
dataIndex: 'isHeavy',
sorter: true,
width: 80,
@ -221,7 +221,7 @@ export const InfoColumns: BasicColumn[] = [
width: 150,
},
{
title: '码头或场站',
title: '场地',
dataIndex: 'depot',
sorter: true,
width: 150,

@ -145,7 +145,7 @@
data: 'dealRemark',
},
{
title: '箱流转状态',
title: '箱状态',
width: 120,
data: 'ctnFlowState',
},
@ -185,7 +185,7 @@
data: 'portDischarge',
},
{
title: '场站/码头',
title: '场',
width: 120,
data: 'depot',
},

@ -58,7 +58,7 @@ export const columns: BasicColumn[] = [
width: 200,
},
{
title: '箱状态',
title: '箱可用状态',
dataIndex: 'ctnState',
sorter: true,
width: 200,
@ -76,7 +76,7 @@ export const columns: BasicColumn[] = [
width: 200,
},
{
title: '空重',
title: '空重',
dataIndex: 'isHeavy',
sorter: true,
width: 200,
@ -88,7 +88,7 @@ export const columns: BasicColumn[] = [
width: 150,
},
{
title: '码头或场站',
title: '场地',
dataIndex: 'depot',
sorter: true,
width: 200,

@ -2,7 +2,7 @@
<BasicModal
v-bind="$attrs"
:use-wrapper="true"
title="箱状态批量维护"
title="箱可用状态批量维护"
width="55%"
@register="registerModal"
@ok="handleSave"

@ -72,7 +72,7 @@ export const columns: BasicColumn[] = [
width: 200,
},
{
title: '箱状态',
title: '箱可用状态',
dataIndex: 'ctnState',
sorter: true,
width: 200,
@ -85,7 +85,7 @@ export const columns: BasicColumn[] = [
},
{
title: '码头或场站',
title: '场地',
dataIndex: 'depot',
sorter: true,
width: 200,
@ -325,7 +325,7 @@ export const formSchema: FormSchema[] = [
},
{
field: 'ctnStateId',
label: '箱状态',
label: '箱可用状态',
component: 'ApiSelect',
colProps: { span: 6 },
defaultValue: '',
@ -357,7 +357,7 @@ export const formSchema: FormSchema[] = [
{
field: 'isHeavy',
label: '空重',
label: '空重',
component: 'Switch',
defaultValue: false,
colProps: { span: 6 },
@ -396,7 +396,7 @@ export const formSchema: FormSchema[] = [
},
{
field: 'depot',
label: '码头或场站',
label: '场地',
component: 'ApiSelect',
colProps: { span: 6 },
required: false,
@ -553,13 +553,13 @@ export const InfoColumns: BasicColumn[] = [
width: 150,
},
{
title: '箱状态',
title: '箱可用状态',
dataIndex: 'ctnState',
sorter: true,
width: 150,
},
{
title: '空重',
title: '空重',
dataIndex: 'isHeavy',
sorter: true,
width: 150,
@ -571,7 +571,7 @@ export const InfoColumns: BasicColumn[] = [
width: 150,
},
{
title: '码头或场站',
title: '场地',
dataIndex: 'depot',
sorter: true,
width: 150,

@ -93,6 +93,9 @@ function uploadFile(file) {
formData.append('file', file.file)
GetBookingAIResult(formData).then(res => {
if (res.succeeded) {
res.data.shipperContent = res.data.shipper
res.data.consigneeContent = res.data.consignee
res.data.notifyPartyContent = res.data.notifyParty
res.data.bookingRemark = res.data.remark
setFieldsValue(res.data)
list.value = res.data.ctnInfo

Loading…
Cancel
Save