szh_zidingyibiaoti
张同海 2 years ago
parent 3e46a1e2d1
commit c04dd14bbf

@ -10,14 +10,14 @@
<a-spin :spinning="confirmLoading">
<a-form :form="form">
<a-row>
<a-col :span="12">
<!-- <a-col :span="12">
<a-form-item label="代码" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input
placeholder="请输入代码"
v-decorator="['code', { rules: [{ required: true, message: '请输入代码!' }] }]"
v-decorator="['code', { rules: [{ required: true, message: '请输入代码!' }] }]"
/>
</a-form-item>
</a-col>
</a-col> -->
<a-col :span="12">
<a-form-item label="船名" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-select

@ -10,14 +10,6 @@
<a-spin :spinning="confirmLoading">
<a-form :form="form">
<a-row>
<a-col :span="12">
<a-form-item label="代码" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input
placeholder="请输入代码"
v-decorator="['code', { rules: [{ required: true, message: '请输入代码!' }] }]"
/>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="船名" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-select
@ -123,7 +115,8 @@ export default {
form: this.$form.createForm(this),
data: {},
CodeData: [],
ModulesData: []
ModulesData: [],
YardCodeData: []
}
},
mounted() {},
@ -161,7 +154,6 @@ export default {
})
setTimeout(() => {
this.form.setFieldsValue({
code: record.code,
name: record.name,
module: record.module,
yardCode: record.yardCode,

@ -19,7 +19,7 @@
item.title != '模块' &&
item.title != '映射名称' &&
item.title != '映射代码' &&
item.title != '场站'
item.title != '场站代码'
"
>
<a-input v-model="queryParam[item.dataIndex]" allow-clear :placeholder="`请输入${item.title}`" />
@ -143,12 +143,12 @@ export default {
width: '80',
dataIndex: 'module'
},
{
title: '代码',
align: 'center',
width: '80',
dataIndex: 'code'
},
// {
// title: '',
// align: 'center',
// width: '80',
// dataIndex: 'code'
// },
{
title: '船名',
align: 'center',
@ -168,7 +168,7 @@ export default {
dataIndex: 'mapCode'
},
{
title: '场站',
title: '场站代码',
align: 'center',
width: '80',
dataIndex: 'yardCode'

Loading…
Cancel
Save