|
|
@ -3,21 +3,18 @@ import { ref, onMounted } from 'vue'
|
|
|
|
import { BasicColumn, FormSchema } from '/@/components/Table'
|
|
|
|
import { BasicColumn, FormSchema } from '/@/components/Table'
|
|
|
|
import { GetTaskPlatEnumDict } from './api'
|
|
|
|
import { GetTaskPlatEnumDict } from './api'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'mBlNo',
|
|
|
|
field: 'mBlNo',
|
|
|
|
label: '提单号',
|
|
|
|
label: '提单号',
|
|
|
|
component: 'Input',
|
|
|
|
component: 'Input',
|
|
|
|
colProps: { span: 6 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'goodsCode',
|
|
|
|
field: 'goodsCode',
|
|
|
|
label: '接收人',
|
|
|
|
label: '接收人',
|
|
|
|
component: 'Input',
|
|
|
|
component: 'Input',
|
|
|
|
colProps: { span: 6 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'etd',
|
|
|
|
field: 'etd',
|
|
|
@ -25,7 +22,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
component: 'RangePicker',
|
|
|
|
component: 'RangePicker',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
colProps: { span: 6 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -36,7 +33,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
component: 'RangePicker',
|
|
|
|
component: 'RangePicker',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
colProps: { span: 6 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: {
|
|
|
|
componentProps: {
|
|
|
|
allowClear: true,
|
|
|
|
allowClear: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -47,7 +44,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
component: 'ApiSelect',
|
|
|
|
component: 'ApiSelect',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
colProps: { span: 6 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: () => {
|
|
|
|
api: () => {
|
|
|
@ -80,7 +77,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
component: 'ApiSelect',
|
|
|
|
component: 'ApiSelect',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
colProps: { span: 6 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: () => {
|
|
|
|
api: () => {
|
|
|
@ -113,7 +110,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
component: 'ApiSelect',
|
|
|
|
component: 'ApiSelect',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
colProps: { span: 6 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: () => {
|
|
|
|
api: () => {
|
|
|
@ -146,7 +143,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
component: 'ApiSelect',
|
|
|
|
component: 'ApiSelect',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
colProps: { span: 6 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: () => {
|
|
|
|
api: () => {
|
|
|
|