添加表单自定义内容

pull/1/head
lilu 2 years ago
parent 8d5f12af6a
commit a4495b0dc2

@ -182,7 +182,7 @@
prop="bookingEDIExt.orderRemark"
>
<!-- <a-input v-model="details.bookingEDIExt.orderRemark" /> -->
<inputView type="orderRemark" placeholder="订舱人说明或ESL BP CODE" :parentVal="details.bookingEDIExt.orderRemark" @getInputChange="inputChange"/>
<inputView type="orderRemark" :placeholder="'订舱人说明或ESL BP CODE'" :parentVal="details.bookingEDIExt.orderRemark" @getInputChange="inputChange"/>
</a-form-model-item>
</a-col>
<a-col :span="23">

@ -6,6 +6,7 @@
:type="inputType"
v-model="value"
:disabled="ishd"
:placeholder="placeholder"
@blur="inputBlur"
@change="inputChange"
/>
@ -32,6 +33,10 @@ export default {
type: String,
default: 'text'
},
placeholder: {
type: String,
default: ''
}
},
data() {
return {

@ -1882,7 +1882,7 @@ export default {
}
},
getTextareaChange({ type, value }) {
// console.log('== ==', type, value)
console.log('== 输入框更新 ==', type, value)
this.details[type] = value
// console.log(this.details[type])
this.$forceUpdate()

@ -84,13 +84,13 @@ export default {
{ field: 'route', label: 'ROUTE', width: 120, title: '航线操作', showHeaderOverflow: true, sortable: true },
// 以下未核实台账字段里是否有该字段
{ field: 'lanecode', label: 'LANECODE', width: 120, title: '航线代码', showHeaderOverflow: true, sortable: true },
{ field: 'shipperid', label: 'SHIPPERID', width: 120, title: '发货人代码', showHeaderOverflow: true, sortable: true },
{ field: 'notifypartyid', label: 'NOTIFYPARTYID', width: 120, title: '通知人代码', showHeaderOverflow: true, sortable: true },
{ field: 'notifypartY2', label: 'NOTIFYPARTY2', width: 120, title: '第二通知人', showHeaderOverflow: true, sortable: true },
{ field: 'consigneeid', label: 'CONSIGNEEID', width: 120, title: '收货人代码', showHeaderOverflow: true, sortable: true },
{ field: 'shipperid', label: 'SHIPPERID', width: 120, title: '发货人代码', showHeaderOverflow: true, sortable: true }, // 台账无字段
{ field: 'notifypartyid', label: 'NOTIFYPARTYID', width: 120, title: '通知人代码', showHeaderOverflow: true, sortable: true }, // 台账无字段
{ field: 'notifypartY2', label: 'NOTIFYPARTY2', width: 120, title: '第二通知人', showHeaderOverflow: true, sortable: true }, // 台账无,详情有
{ field: 'consigneeid', label: 'CONSIGNEEID', width: 120, title: '收货人代码', showHeaderOverflow: true, sortable: true }, // 台账无字段
{ field: 'closedocdate', label: 'CLOSEDOCDATE', width: 120, title: '截单日期', showHeaderOverflow: true, sortable: true },
{ field: 'bsdate', label: 'BSDATE', width: 120, title: '业务日期', showHeaderOverflow: true, sortable: true },
{ field: 'vesselid', label: 'VESSELID', width: 120, title: '船舶呼号', showHeaderOverflow: true, sortable: true },
{ field: 'bsdate', label: 'BSDATE', width: 120, title: '业务日期', showHeaderOverflow: true, sortable: true }, // 台账无字段
{ field: 'vesselid', label: 'VESSELID', width: 120, title: '船舶呼号', showHeaderOverflow: true, sortable: true }, // 台账无字段
{ field: 'closevgmdate', label: 'CLOSEVGMDATE', width: 120, title: '截VGM时间', showHeaderOverflow: true, sortable: true },
{ field: 'placereceipt', label: 'PLACERECEIPT', width: 120, title: '收货地', showHeaderOverflow: true, sortable: true },
{ field: 'placereceiptid', label: 'PLACERECEIPTID', width: 120, title: '收货地代码', showHeaderOverflow: true, sortable: true },
@ -148,6 +148,34 @@ export default {
{ 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' },
{ title: '航线操作', align: 'center', width: 120, label: 'ROUTE', type: 'complete', showLabel: 'name' }
{ title: '航线操作', align: 'center', width: 120, label: 'ROUTE', type: 'complete', showLabel: 'name' },
{ title: '件数', align: 'center', width: 160, label: 'PKGS', type: 'input' },
{ title: '重量', align: 'center', width: 160, label: 'KGS', type: 'input' },
{ title: '尺码', align: 'center', width: 160, label: 'CBM', type: 'input' },
{ title: 'HS编码', align: 'center', width: 160, label: 'HSCODE', type: 'input' },
{ title: '航线', align: 'center', width: 160, label: 'LANENAME', type: 'input' },
{ title: '设置温度', align: 'center', width: 160, label: 'TEMPSET', type: 'input' },
{ title: '通风度', align: 'center', width: 160, label: 'REEFERF', type: 'input' },
{ title: '付款方', align: 'center', width: 160, label: 'FREIGHTPAYER', type: 'input' },
{ title: '唛头', align: 'center', width: 160, label: 'MARKS', type: 'input' },
{ title: '危险品编号', align: 'center', width: 160, label: 'DUNNO', type: 'input' },
// 以下需要加模糊搜索
{ title: '箱型', align: 'center', width: 160, label: 'CNTRTOTAL', type: 'input' },
{ title: '包装', align: 'center', width: 160, label: 'KINDPKGS', type: 'input' },
{ title: '到付地点', align: 'center', width: 160, label: 'PAYABLEAT', type: 'input' },
{ title: '付费方式', align: 'center', width: 160, label: 'BLFRT', type: 'input' },
{ title: '签单地点', align: 'center', width: 160, label: 'ISSUEPLACE', type: 'input' },
{ title: '预付地点', align: 'center', width: 160, label: 'PREPARDAT', type: 'input' },
{ title: '运输条款', align: 'center', width: 160, label: 'SERVICE', type: 'input' },
{ title: '国外代理', align: 'center', width: 160, label: 'AGENTID', type: 'input' },
{ title: '车队', align: 'center', width: 160, label: 'TRUCKER', type: 'input' },
{ title: '船代', align: 'center', width: 160, label: 'SHIPAGENCY', type: 'input' },
{ title: '订舱代理', align: 'center', width: 160, label: 'FORWARDER', type: 'input' },
// 以下为下拉加载
{ title: '签单方式', align: 'center', width: 160, label: 'ISSUETYPE', type: 'input' },
{ title: '提单份数', align: 'center', width: 160, label: 'NOBILL', type: 'input' },
{ title: '货物标识', align: 'center', width: 160, label: 'CARGOID', type: 'input' },
// 以下为日期区间
{ title: '签单日期', align: 'center', width: 160, label: 'ISSUEDATE', type: 'dateRange', resLabel: ['BISSUEDATE', 'EISSUEDATE'] }
]
}

Loading…
Cancel
Save