修改表单自定义

pull/1/head
lilu 2 years ago
parent d3acd5dca1
commit 4e0dddbeb2

@ -1893,6 +1893,11 @@ export default {
line-height: 36px !important; line-height: 36px !important;
} }
.from-box3 {
/deep/ .ant-form-item-label{
margin-top: 2px;
}
}
// .ant-calendar-picker-input{ // .ant-calendar-picker-input{
// padding: 0 4px; // padding: 0 4px;
// } // }

@ -166,7 +166,7 @@
</a-col> </a-col>
<a-col class="right-content" :xs="24" :sm="24" :md="24" :lg="14" :xl="13"> <a-col class="right-content" :xs="24" :sm="24" :md="24" :lg="14" :xl="13">
<a-row :gutter="16"> <a-row :gutter="16">
<div class="right-content-top" style="border-bottom:1px dashed #ddd;padding-bottom:4px;margin-bottom:4px; overflow:hidden;"> <div class="right-content-top" >
<a-col :span="12"> <a-col :span="12">
<a-form-model-item <a-form-model-item
class="from-label yarn-label" class="from-label yarn-label"
@ -710,7 +710,7 @@
</a-modal> </a-modal>
<a-modal <a-modal
:title="yardType === 'remark' ? '场站备注' : '场站联系人'" :title="yardType === 'remark' ? '场站备注' : '场站联系人'"
:width="1200" :width="yardType === 'remark' ? 600 : 1000"
:visible="yardVisible" :visible="yardVisible"
:maskClosable="false" :maskClosable="false"
@ok="ModelyardTypeOk" @ok="ModelyardTypeOk"
@ -2441,6 +2441,22 @@ form .has-feedback .ant-time-picker-clear {
} }
} }
.right-content-top {
padding-bottom:4px;
margin-bottom:4px;
overflow:hidden;
position: relative;
&::before{
content: '';
position: absolute;
bottom: 0;
right: 10px;
width: 92%;
height:2px;
border-bottom: 1px dashed #ddd;
}
}
/deep/ .ant-input-suffix { /deep/ .ant-input-suffix {
color: rgba(0, 0, 0, 0.25); color: rgba(0, 0, 0, 0.25);
display: none; display: none;

@ -467,6 +467,7 @@ import {
SendTrace, SendTrace,
GetVessellist, GetVessellist,
GetPortlist, GetPortlist,
GetPortloadlist,
BookingOrderBachUpdate, BookingOrderBachUpdate,
GetCarrierlist, GetCarrierlist,
DjyCustomerSuggest, DjyCustomerSuggest,
@ -1349,7 +1350,7 @@ export default {
// //
getCompleteListFun ({ form, value }) { getCompleteListFun ({ form, value }) {
let query = {} let query = {}
if (['VESSEL', 'PORTDISCHARGE', 'PORTLOAD'].includes(form.label)) { if (['VESSEL', 'PORTDISCHARGE', 'PORTLOAD', 'PLACERECEIPT', 'DESTINATION', 'PLACEDELIVERY'].includes(form.label)) {
// //
query = { query = {
KeyWord: value KeyWord: value
@ -1399,9 +1400,15 @@ export default {
return DjyCustomerSuggest return DjyCustomerSuggest
case 'FORWARDER': case 'FORWARDER':
return DjyCustomerSuggest return DjyCustomerSuggest
case 'PORTDISCHARGE': case 'PORTDISCHARGE': //
return GetPortlist return GetPortlist
case 'PORTLOAD': case 'PORTLOAD': //
return GetPortloadlist
case 'PLACERECEIPT': //
return GetPortloadlist
case 'DESTINATION': //
return GetPortlist
case 'PLACEDELIVERY': //
return GetPortlist return GetPortlist
case 'SALE': case 'SALE':
return GetSysUserPage return GetSysUserPage

@ -108,10 +108,31 @@ export default {
{ title: '业务状态', align: 'center', width: 120, label: 'BSSTATUS', type: 'input' }, { title: '业务状态', align: 'center', width: 120, label: 'BSSTATUS', type: 'input' },
{ title: '客户合同号', align: 'center', width: 120, label: 'SERVICECONTRACTNO', type: 'input' }, { title: '客户合同号', align: 'center', width: 120, label: 'SERVICECONTRACTNO', type: 'input' },
{ title: '航线', align: 'center', width: 120, label: 'ROUTE', type: 'input' }, { title: '航线', align: 'center', width: 120, label: 'ROUTE', type: 'input' },
{ title: '航线代码', align: 'center', width: 120, label: 'LANECODE', type: 'input' }, { title: '航线代码', align: 'center', width: 120, label: 'LANECODE', type: 'input' }, // == 这里表格没有 ===
{ title: '内部航次', align: 'center', width: 120, label: 'VOYNOINNER', type: 'input' }, { title: '内部航次', align: 'center', width: 120, label: 'VOYNOINNER', type: 'input' },
{ title: '海关航次', align: 'center', width: 120, label: 'VOYNO', type: 'input' }, { title: '海关航次', align: 'center', width: 120, label: 'VOYNO', type: 'input' },
// 未完成 // 未完成 - 以下为东胜没有的,大简云有的
{ title: '发货人', align: 'center', width: 120, label: 'SHIPPER', type: 'input' },
{ title: '发货人代码', align: 'center', width: 120, label: 'SHIPPERID', type: 'input' }, // == 这里表格没有 ===
{ title: '通知人', align: 'center', width: 120, label: 'NOTIFYPARTY', type: 'input' },
{ title: '通知人代码', align: 'center', width: 120, label: 'NOTIFYPARTYID', type: 'input' }, // == 这里表格没有 ===
{ title: '第二通知人', align: 'center', width: 120, label: 'NOTIFYPARTY2', type: 'input' }, // == 这里表格没有 ===
{ title: '收货人', align: 'center', width: 120, label: 'CONSIGNEE', type: 'input' },
{ title: '收货人代码', align: 'center', width: 120, label: 'CONSIGNEEID', type: 'input' }, // == 这里表格没有 ===
{ title: '截单日期', align: 'center', width: 160, label: 'CLOSEDOCDATE', type: 'dateRange', resLabel: ['BCLOSEDOCDATE', 'ECLOSEDOCDATE'] }, // == 这里表格没有 ===
{ title: '业务日期', align: 'center', width: 120, label: 'BSDATE', type: 'date' }, // == 这里表格没有 ===
{ title: '合约号', align: 'center', width: 120, label: 'CONTRACTNO', type: 'input' },
{ title: '船舶呼号', align: 'center', width: 120, label: 'VESSELID', type: 'input' }, // == 这里表格没有 ===
{ title: '截港日期', align: 'center', width: 160, label: 'CLOSINGDATE', type: 'dateRange', resLabel: ['BCLOSINGDATE', 'ECLOSINGDATE'] },
{ title: '截VGM时间', align: 'center', width: 160, label: 'CLOSEVGMDATE', type: 'dateRange', resLabel: ['BCLOSEVGMDATE', 'ECLOSEVGMDATE'] }, // == 这里表格没有 ===
{ title: '收货地', align: 'center', width: 120, label: 'PLACERECEIPT', type: 'complete', showLabel: 'enName' }, // == 这里表格没有 ===
{ title: '目的地', align: 'center', width: 120, label: 'DESTINATION', type: 'complete', showLabel: 'enName' },
{ title: '交货地', align: 'center', width: 120, label: 'PLACEDELIVERY', type: 'complete', showLabel: 'enName' },
{ title: '收货地代码', align: 'center', width: 120, label: 'PLACERECEIPTID', type: 'input' }, // == 这里表格没有 ===
{ title: '目的地代码', align: 'center', width: 120, label: 'DESTINATIONID', type: 'input' }, // == 这里表格没有 ===
{ title: '交货地代码', align: 'center', width: 120, label: 'PLACEDELIVERYID', type: 'input' }, // == 这里表格没有 ===
{ title: '装货港代码', align: 'center', width: 120, label: 'PORTLOADID', type: 'input' }, // == 这里表格没有 ===
{ title: '卸货港代码', align: 'center', width: 120, label: 'PORTDISCHARGEID', type: 'input' } // == 这里表格没有 ===
], ],
condAllDataOld: [ condAllDataOld: [
{ title: '业务编号', align: 'center', width: 120, label: 'BSNO', type: 'input' }, { title: '业务编号', align: 'center', width: 120, label: 'BSNO', type: 'input' },

Loading…
Cancel
Save