|
|
|
@ -41,7 +41,7 @@
|
|
|
|
|
<a-form-item label="车队:" :labelCol="labelCol3" :wrapperCol="wrapperCol3" has-feedback>
|
|
|
|
|
<a-select
|
|
|
|
|
mode="multiple"
|
|
|
|
|
v-decorator="['WpropString', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
|
|
|
|
|
v-decorator="['truckCode', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option v-for="item in propStringData" :key="item.id" :value="item.code">
|
|
|
|
|
{{ item.name }}
|
|
|
|
@ -55,7 +55,7 @@
|
|
|
|
|
<a-form-item label="ATTN:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-select
|
|
|
|
|
mode="multiple"
|
|
|
|
|
v-decorator="['WpropString', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
|
|
|
|
|
v-decorator="['attn', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option v-for="item in propStringData" :key="item.id" :value="item.code">
|
|
|
|
|
{{ item.name }}
|
|
|
|
@ -65,12 +65,12 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-item label="ATTN电话:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['attnTel', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-item label="ATTN传真:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['attnMail', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -79,7 +79,7 @@
|
|
|
|
|
<a-form-item label="FROM:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-select
|
|
|
|
|
mode="multiple"
|
|
|
|
|
v-decorator="['WpropString', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
|
|
|
|
|
v-decorator="['fromName', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option v-for="item in propStringData" :key="item.id" :value="item.code">
|
|
|
|
|
{{ item.name }}
|
|
|
|
@ -89,17 +89,17 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-item label="FROM电话:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['fromTel', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-item label="FROM传真:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['fromMail', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-item label="EMAIL:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['fromMail', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -112,44 +112,44 @@
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="5">
|
|
|
|
|
<a-form-item label="箱型箱量:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['ctncode', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="3">
|
|
|
|
|
<a-form-item label="吨数:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['kgs', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="5">
|
|
|
|
|
<a-form-item label="陆运费:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['fee', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="5">
|
|
|
|
|
<a-form-item label="支付方式:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['payMethod', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="6">
|
|
|
|
|
<a-form-item label="派车日期:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['truckTime', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="提箱场站:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['yardid', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="联系人:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['yardcontract', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="电话:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['yardcontracttel', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -161,7 +161,7 @@
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="16">
|
|
|
|
|
<a-form-item label="工厂:" :labelCol="labelCol4" :wrapperCol="wrapperCol4" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['factoryName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -176,24 +176,24 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="要求到达时间:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['needArriveTime', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="工厂联系人:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['factoryContact', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="联系人:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-form-item label="工厂联系电话:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['factoryTel', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="返场时间:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['returnTime', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -205,34 +205,34 @@
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="入场场站:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['inYardID', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="联系人:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['inYardContact', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="电话:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['inYardContractTel', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="截港日期:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['closingTime', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="提货日期:" :labelCol="labelCol8" :wrapperCol="wrapperCol8" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['pickUpTime', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="派车状态:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
<a-input v-decorator="['status', { rules: [{ required: true, message: '请输入简称!' }] }]" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -259,12 +259,12 @@
|
|
|
|
|
>
|
|
|
|
|
<vxe-column type="checkbox" width="40"></vxe-column>
|
|
|
|
|
<!-- <vxe-column type="seq" width="60"></vxe-column> -->
|
|
|
|
|
<vxe-column field="roleCode" title="箱型" :edit-render="{}">
|
|
|
|
|
<vxe-column field="ctncode" title="箱型" :edit-render="{}">
|
|
|
|
|
<template #default="{ row }">
|
|
|
|
|
<span>{{ formatRole(row.roleCode) }}</span>
|
|
|
|
|
<span>{{ formatRole(row.ctncode) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template #edit="{ row }">
|
|
|
|
|
<vxe-select v-model="row.roleCode" transfer>
|
|
|
|
|
<vxe-select v-model="row.ctncode" transfer>
|
|
|
|
|
<vxe-option
|
|
|
|
|
v-for="item in TypeData"
|
|
|
|
|
:key="item.code"
|
|
|
|
@ -274,34 +274,34 @@
|
|
|
|
|
</vxe-select>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column field="name" title="箱号" :edit-render="{}">
|
|
|
|
|
<vxe-column field="cntrno" title="箱号" :edit-render="{}">
|
|
|
|
|
<template #edit="{ row }">
|
|
|
|
|
<vxe-input v-model="row.name" type="text"></vxe-input>
|
|
|
|
|
<vxe-input v-model="row.cntrno" type="text"></vxe-input>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column field="email" title="铅封号" :edit-render="{}">
|
|
|
|
|
<vxe-column field="sealno" title="铅封号" :edit-render="{}">
|
|
|
|
|
<template #edit="{ row }">
|
|
|
|
|
<vxe-input v-model="row.email" type="text"></vxe-input>
|
|
|
|
|
<vxe-input v-model="row.sealno" type="text"></vxe-input>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column field="tel" title="箱量" :edit-render="{}">
|
|
|
|
|
<vxe-column field="ctnnum" title="箱量" :edit-render="{}">
|
|
|
|
|
<template #edit="{ row }">
|
|
|
|
|
<vxe-input v-model="row.tel" type="text"></vxe-input>
|
|
|
|
|
<vxe-input v-model="row.ctnnum" type="text"></vxe-input>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column field="qq" title="件数" :edit-render="{}">
|
|
|
|
|
<vxe-column field="pkgs" title="件数" :edit-render="{}">
|
|
|
|
|
<template #edit="{ row }">
|
|
|
|
|
<vxe-input v-model="row.qq" type="text" transfer></vxe-input>
|
|
|
|
|
<vxe-input v-model="row.pkgs" type="text" transfer></vxe-input>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column field="remark" title="重量(KGS)" :edit-render="{}">
|
|
|
|
|
<vxe-column field="weighkgs" title="重量(KGS)" :edit-render="{}">
|
|
|
|
|
<template #edit="{ row }">
|
|
|
|
|
<vxe-input v-model="row.remark" type="text" transfer></vxe-input>
|
|
|
|
|
<vxe-input v-model="row.weighkgs" type="text" transfer></vxe-input>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column field="remark" title="尺寸(CMB)" :edit-render="{}">
|
|
|
|
|
<vxe-column field="cbm" title="尺寸(CMB)" :edit-render="{}">
|
|
|
|
|
<template #edit="{ row }">
|
|
|
|
|
<vxe-input v-model="row.remark" type="text" transfer></vxe-input>
|
|
|
|
|
<vxe-input v-model="row.cbm" type="text" transfer></vxe-input>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column field="remark" title="车牌号" :edit-render="{}">
|
|
|
|
@ -327,7 +327,7 @@
|
|
|
|
|
<a-form-item label="注意事项:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-textarea
|
|
|
|
|
:auto-size="{ minRows: 3, maxRows: 5 }"
|
|
|
|
|
v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]"
|
|
|
|
|
v-decorator="['attention', { rules: [{ required: true, message: '请输入简称!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -335,7 +335,7 @@
|
|
|
|
|
<a-form-item label="备注:" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-textarea
|
|
|
|
|
:auto-size="{ minRows: 3, maxRows: 5 }"
|
|
|
|
|
v-decorator="['shortName', { rules: [{ required: true, message: '请输入简称!' }] }]"
|
|
|
|
|
v-decorator="['remark', { rules: [{ required: true, message: '请输入简称!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
@ -348,7 +348,11 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { DjyCustomerAdd, DjyCustomerEdit } from '@/api/modular/main/CustomerInformationManagement'
|
|
|
|
|
import {
|
|
|
|
|
DjyCustomerAdd,
|
|
|
|
|
DjyCustomerQuerytDjyCustomerInfo,
|
|
|
|
|
DjyCustomerEdit
|
|
|
|
|
} from '@/api/modular/main/CustomerInformationManagement'
|
|
|
|
|
import { GetSysUserPage } from '@/api/modular/main/BookingLedger'
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
@ -477,6 +481,9 @@ export default {
|
|
|
|
|
add(record) {
|
|
|
|
|
this.visible = true
|
|
|
|
|
this.typeData = []
|
|
|
|
|
DjyCustomerQuerytDjyCustomerInfo({ queryType: 'fleet' }).then(res => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 提交表单
|
|
|
|
|