|
|
@ -1165,191 +1165,165 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</a-modal>
|
|
|
|
</a-modal>
|
|
|
|
<a-modal
|
|
|
|
<a-modal
|
|
|
|
width="1100px"
|
|
|
|
width="820px"
|
|
|
|
:maskClosable="false"
|
|
|
|
:maskClosable="false"
|
|
|
|
v-model="editingModalVisible"
|
|
|
|
v-model="editingModalVisible"
|
|
|
|
title="批量编辑"
|
|
|
|
title="批量编辑"
|
|
|
|
@ok="editingHandleOk"
|
|
|
|
@ok="editingHandleOk"
|
|
|
|
@cancel="editingHandleCancel"
|
|
|
|
@cancel="editingHandleCancel">
|
|
|
|
>
|
|
|
|
|
|
|
|
<div class="trace-box">
|
|
|
|
<div class="trace-box">
|
|
|
|
<div style="margin-bottom:10px;font-weight:bold;padding-left:48px">
|
|
|
|
|
|
|
|
<a-icon type="info-circle" theme="filled" style="font-size:15px;color: orange;;margin-right:10px" />
|
|
|
|
|
|
|
|
批量修改默认只处理输入框已填写的内容,需要修改为空值,请选择选中”置空“</div>
|
|
|
|
|
|
|
|
<a-form :form="editingForm">
|
|
|
|
<a-form :form="editingForm">
|
|
|
|
<a-checkbox-group v-model="checkedList" >
|
|
|
|
<a-row :gutter="26">
|
|
|
|
<a-row :gutter="26">
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-item
|
|
|
|
label="船名"
|
|
|
|
label="船名"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
has-feedback>
|
|
|
|
>
|
|
|
|
<a-select
|
|
|
|
<a-select
|
|
|
|
placeholder="请选择船名"
|
|
|
|
placeholder="请选择船名"
|
|
|
|
v-decorator="['vessel']"
|
|
|
|
v-decorator="['vessel']"
|
|
|
|
show-search
|
|
|
|
show-search
|
|
|
|
@focus="vesselSearch"
|
|
|
|
@focus="vesselSearch"
|
|
|
|
@search="vesselSearch"
|
|
|
|
@search="vesselSearch"
|
|
|
|
@blur="vesselBlur"
|
|
|
|
style="width: 82%;margin-right: 10px"
|
|
|
|
:default-active-first-option="false"
|
|
|
|
@blur="vesselBlur"
|
|
|
|
:show-arrow="false"
|
|
|
|
:default-active-first-option="false"
|
|
|
|
:filter-option="false"
|
|
|
|
:show-arrow="false"
|
|
|
|
:not-found-content="null">
|
|
|
|
:filter-option="false"
|
|
|
|
<a-select-option v-for="item in vesselData" :key="item.vessel" :value="item.vessel">
|
|
|
|
:not-found-content="null"
|
|
|
|
{{ item.vessel }}
|
|
|
|
>
|
|
|
|
</a-select-option>
|
|
|
|
<a-select-option v-for="item in vesselData" :key="item.vessel" :value="item.vessel">
|
|
|
|
</a-select>
|
|
|
|
{{ item.vessel }}
|
|
|
|
</a-form-item>
|
|
|
|
</a-select-option>
|
|
|
|
</a-col>
|
|
|
|
</a-select>
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-checkbox value="vessel" style="margin-right: 5px" @change="handleEmpty($event,'vessel')" />置空
|
|
|
|
<a-form-item
|
|
|
|
</a-form-item>
|
|
|
|
label="开船日期"
|
|
|
|
</a-col>
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
<a-form-item
|
|
|
|
has-feedback>
|
|
|
|
label="开船日期"
|
|
|
|
<a-date-picker
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
v-decorator="['etd', { rules: [{ required: true, message: '请选择开船日期!' }] }]"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
:style="{ width: '100%' }"
|
|
|
|
prop="etd"
|
|
|
|
placeholder="请选择开船日期"
|
|
|
|
>
|
|
|
|
valueFormat="YYYY-MM-DD" />
|
|
|
|
<a-date-picker
|
|
|
|
</a-form-item>
|
|
|
|
v-decorator="['etd']"
|
|
|
|
</a-col>
|
|
|
|
style="width: 82%;margin-right: 10px"
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
placeholder="请选择开船日期"
|
|
|
|
<a-form-item
|
|
|
|
valueFormat="YYYY-MM-DD"
|
|
|
|
label="内部航次"
|
|
|
|
/>
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
<!-- <a-checkbox value="etd" style="margin-right: 5px" @change="handleEmpty('etd')"/>置空 -->
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
</a-form-item>
|
|
|
|
has-feedback>
|
|
|
|
</a-col>
|
|
|
|
<a-input v-decorator="['voynoinner']" />
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
</a-form-item>
|
|
|
|
<a-form-item
|
|
|
|
</a-col>
|
|
|
|
label="内部航次"
|
|
|
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input v-decorator="['voynoinner']" style="width: 82%;margin-right: 10px" />
|
|
|
|
|
|
|
|
<a-checkbox value="voynoinner" style="margin-right: 5px" @change="handleEmpty($event,'voynoinner')"/>置空
|
|
|
|
|
|
|
|
</a-form-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-item
|
|
|
|
label="海关航次"
|
|
|
|
label="海关航次"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
>
|
|
|
|
has-feedback>
|
|
|
|
<a-input style="width: 82%;margin-right: 10px" v-decorator="['voyno']" />
|
|
|
|
<a-input v-decorator="['voyno']" />
|
|
|
|
<a-checkbox value="voyno" style="margin-right: 5px" @change="handleEmpty($event,'voyno')"/>置空
|
|
|
|
</a-form-item>
|
|
|
|
</a-form-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-form-item
|
|
|
|
<a-form-item
|
|
|
|
label="卸货港"
|
|
|
|
label="卸货港"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
has-feedback>
|
|
|
|
>
|
|
|
|
<a-select
|
|
|
|
<a-select
|
|
|
|
placeholder="请选择卸货港"
|
|
|
|
placeholder="请选择卸货港"
|
|
|
|
v-decorator="['portDischarge']"
|
|
|
|
v-decorator="['portDischarge']"
|
|
|
|
show-search
|
|
|
|
show-search
|
|
|
|
@focus="portDischargeSearch"
|
|
|
|
@focus="portDischargeSearch"
|
|
|
|
@search="portDischargeSearch"
|
|
|
|
@search="portDischargeSearch"
|
|
|
|
@change="portDischargeChange"
|
|
|
|
@change="portDischargeChange"
|
|
|
|
:default-active-first-option="false"
|
|
|
|
:default-active-first-option="false"
|
|
|
|
:show-arrow="false"
|
|
|
|
style="width: 82%;margin-right: 10px"
|
|
|
|
:filter-option="false"
|
|
|
|
:show-arrow="false"
|
|
|
|
:not-found-content="null">
|
|
|
|
:filter-option="false"
|
|
|
|
<a-select-option v-for="item in portDischargeData" :key="item.code" :value="item.enName">
|
|
|
|
:not-found-content="null"
|
|
|
|
{{ item.enName }}
|
|
|
|
>
|
|
|
|
</a-select-option>
|
|
|
|
<a-select-option v-for="item in portDischargeData" :key="item.code" :value="item.enName">
|
|
|
|
</a-select>
|
|
|
|
{{ item.enName }}
|
|
|
|
</a-form-item>
|
|
|
|
</a-select-option>
|
|
|
|
</a-col>
|
|
|
|
</a-select>
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-checkbox value="portDischarge" style="margin-right: 5px" @change="handleEmpty($event,'portDischarge')"/>置空
|
|
|
|
<a-form-item
|
|
|
|
</a-form-item>
|
|
|
|
label="卸货代码"
|
|
|
|
</a-col>
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
<a-form-item
|
|
|
|
has-feedback>
|
|
|
|
label="卸货代码"
|
|
|
|
<a-input v-decorator="['portDischargeId']" />
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
</a-form-item>
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
</a-col>
|
|
|
|
>
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-input style="width: 82%;margin-right: 10px" v-decorator="['portDischargeId']" />
|
|
|
|
<a-form-item
|
|
|
|
<a-checkbox value="portDischargeId" style="margin-right: 5px" @change="handleEmpty($event,'portDischargeId')"/>置空
|
|
|
|
label="目的港"
|
|
|
|
</a-form-item>
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
</a-col>
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
has-feedback>
|
|
|
|
<a-form-item
|
|
|
|
<a-select
|
|
|
|
label="目的港"
|
|
|
|
placeholder="请选择目的港"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
v-decorator="['destination']"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
show-search
|
|
|
|
>
|
|
|
|
@focus="destinationSearch"
|
|
|
|
<a-select
|
|
|
|
@search="destinationSearch"
|
|
|
|
placeholder="请选择目的港"
|
|
|
|
@change="destinationChange"
|
|
|
|
v-decorator="['destination']"
|
|
|
|
:default-active-first-option="false"
|
|
|
|
show-search
|
|
|
|
:show-arrow="false"
|
|
|
|
@focus="destinationSearch"
|
|
|
|
:filter-option="false"
|
|
|
|
@search="destinationSearch"
|
|
|
|
:not-found-content="null">
|
|
|
|
@change="destinationChange"
|
|
|
|
<a-select-option v-for="item in destinationData" :key="item.code" :value="item.enName">
|
|
|
|
:default-active-first-option="false"
|
|
|
|
{{ item.enName }}
|
|
|
|
:show-arrow="false"
|
|
|
|
</a-select-option>
|
|
|
|
:filter-option="false"
|
|
|
|
</a-select>
|
|
|
|
style="width: 82%;margin-right: 10px"
|
|
|
|
</a-form-item>
|
|
|
|
:not-found-content="null"
|
|
|
|
</a-col>
|
|
|
|
>
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
<a-select-option v-for="item in destinationData" :key="item.code" :value="item.enName">
|
|
|
|
<a-form-item
|
|
|
|
{{ item.enName }}
|
|
|
|
label="目的代码"
|
|
|
|
</a-select-option>
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
</a-select>
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
<a-checkbox value="destination" style="margin-right: 5px" @change="handleEmpty($event,'destination')"/>置空
|
|
|
|
has-feedback>
|
|
|
|
</a-form-item>
|
|
|
|
<a-input v-decorator="['destinationid']" />
|
|
|
|
</a-col>
|
|
|
|
</a-form-item>
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
</a-col>
|
|
|
|
<a-form-item
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
label="目的代码"
|
|
|
|
<a-form-item
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
label="截港时间"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
>
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
<a-input style="width: 82%;margin-right: 10px" v-decorator="['destinationid']" />
|
|
|
|
has-feedback>
|
|
|
|
<a-checkbox value="destinationid" style="margin-right: 5px" @change="handleEmpty($event,'destinationid')"/>置空
|
|
|
|
<a-date-picker
|
|
|
|
</a-form-item>
|
|
|
|
show-time
|
|
|
|
</a-col>
|
|
|
|
v-decorator="['closingdate']"
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
:style="{ width: '100%' }"
|
|
|
|
<a-form-item
|
|
|
|
placeholder="请选择截港时间"
|
|
|
|
label="截港时间"
|
|
|
|
valueFormat="YYYY-MM-DD HH:mm:ss"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
format="YYYY-MM-DD HH" />
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
</a-form-item>
|
|
|
|
>
|
|
|
|
</a-col>
|
|
|
|
<a-date-picker
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
show-time
|
|
|
|
<a-form-item
|
|
|
|
v-decorator="['closingdate']"
|
|
|
|
label="截单时间"
|
|
|
|
style="width: 82%;margin-right: 10px"
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
placeholder="请选择截港时间"
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
valueFormat="YYYY-MM-DD HH:mm:ss"
|
|
|
|
has-feedback>
|
|
|
|
format="YYYY-MM-DD HH"
|
|
|
|
<a-date-picker
|
|
|
|
/>
|
|
|
|
show-time
|
|
|
|
<a-checkbox value="closingdate" style="margin-right: 5px" @change="handleEmpty($event,'closingdate')"/>置空
|
|
|
|
v-decorator="['closedocdate']"
|
|
|
|
</a-form-item>
|
|
|
|
:style="{ width: '100%' }"
|
|
|
|
</a-col>
|
|
|
|
placeholder="请选择截单时间"
|
|
|
|
<a-col :span="12" class="book-model-box">
|
|
|
|
valueFormat="YYYY-MM-DD HH:mm:ss"
|
|
|
|
<a-form-item
|
|
|
|
format="YYYY-MM-DD HH" />
|
|
|
|
label="截单时间"
|
|
|
|
</a-form-item>
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
|
|
|
|
</a-col>
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 18 } }"
|
|
|
|
</a-row>
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-date-picker
|
|
|
|
|
|
|
|
show-time
|
|
|
|
|
|
|
|
v-decorator="['closedocdate']"
|
|
|
|
|
|
|
|
style="width: 82%;margin-right: 10px"
|
|
|
|
|
|
|
|
placeholder="请选择截单时间"
|
|
|
|
|
|
|
|
valueFormat="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
|
|
|
format="YYYY-MM-DD HH"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<a-checkbox value="closedocdate" style="margin-right: 5px" @change="handleEmpty($event,'closedocdate')"/>置空
|
|
|
|
|
|
|
|
</a-form-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
</a-row>
|
|
|
|
|
|
|
|
</a-checkbox-group>
|
|
|
|
|
|
|
|
</a-form>
|
|
|
|
</a-form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-modal>
|
|
|
|
</a-modal>
|
|
|
|