|
@@ -1,30 +1,31 @@
|
|
|
<template>
|
|
|
<!-- 添加提货委托 -->
|
|
|
- <div class="addWagonLoad">
|
|
|
- <PageTitle>返回</PageTitle>
|
|
|
- <el-divider content-position="left">提货委托</el-divider>
|
|
|
- <div class="form-box" style="margin-right: 10rem">
|
|
|
- <el-form
|
|
|
- ><dil-form :formId="113" v-model="form1" ref="from1"></dil-form
|
|
|
- ></el-form>
|
|
|
- <div class="buttonins">
|
|
|
- <el-button type="primary" @click="onDrawer">浏览</el-button>
|
|
|
+ <div class="shipTransport">
|
|
|
+ <page-title>返回</page-title>
|
|
|
+ <div class="form">
|
|
|
+ <div class="form_box">
|
|
|
+ <dil-form :formId="113" v-model="form1" ref="from1"></dil-form>
|
|
|
</div>
|
|
|
+ <div class="liulan">
|
|
|
+ <el-button type="primary" class="btn" @click="onDrawer">浏览</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="button-box">
|
|
|
+ <!-- 确定和取消 -->
|
|
|
+ <div class="button_box">
|
|
|
<el-button @click="cancel">取消</el-button>
|
|
|
<el-button type="primary" @click="makeSure">确定</el-button>
|
|
|
</div>
|
|
|
+ <!-- 模态框 -->
|
|
|
<el-drawer
|
|
|
:visible.sync="drawer"
|
|
|
:direction="direction"
|
|
|
:before-close="handleClose"
|
|
|
- size="30%"
|
|
|
+ size="50%"
|
|
|
>
|
|
|
<el-input
|
|
|
placeholder="请输入内容"
|
|
|
v-model="input"
|
|
|
- style="margin-top: 10px; margin-left: 20px"
|
|
|
+ style="margin-top: 10px; margin-left: 20px; width:250px"
|
|
|
clearable
|
|
|
>
|
|
|
</el-input>
|
|
@@ -45,6 +46,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import PageTitle from "@/components/Page/Title";
|
|
|
+import { sjTime,isNumber } from "@/utils/sharedJsFile";
|
|
|
export default {
|
|
|
components: { PageTitle },
|
|
|
data() {
|
|
@@ -76,13 +78,13 @@ export default {
|
|
|
currentRadioChange1(selection) {
|
|
|
this.maplist = selection;
|
|
|
this.form1 = {
|
|
|
- batchId: selection.shipName + selection.materialName,
|
|
|
+ batchId: selection.resultForeignShipName + selection.materialName,
|
|
|
};
|
|
|
},
|
|
|
// 确定
|
|
|
makeSure() {
|
|
|
let AmsshipDeliveryAttorney = {
|
|
|
- downSwimPortId: this.form1.downSwimPortId,
|
|
|
+ // downSwimPortId: this.form1.downSwimPortId,
|
|
|
attorenyPickupIdcard: this.form1.attorenyPickupIdcard,
|
|
|
attorneyContactTelephone: this.form1.attorneyContactTelephone,
|
|
|
batchId: this.maplist.batchId,
|
|
@@ -91,7 +93,7 @@ export default {
|
|
|
noticeId: this.form1.noticeId,
|
|
|
portId: this.form1.portId,
|
|
|
attorneyPickupContactPerson: this.form1.attorneyPickupContactPerson,
|
|
|
- resultMemo: this.form1.resultMemo,
|
|
|
+ // resultMemo: this.form1.resultMemo,
|
|
|
};
|
|
|
if (
|
|
|
// AmsshipDeliveryAttorney.attorneyId==null||
|
|
@@ -109,8 +111,6 @@ export default {
|
|
|
AmsshipDeliveryAttorney
|
|
|
)
|
|
|
.then((res) => {
|
|
|
- // console.log(res);
|
|
|
- // console.log(this.form4);
|
|
|
this.$router.go(-1);
|
|
|
});
|
|
|
},
|
|
@@ -121,10 +121,55 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-<style lang='scss' scoped>
|
|
|
-
|
|
|
-.buttonins {
|
|
|
- height: auto;
|
|
|
+<style lang='scss'>
|
|
|
+.shipTransport{
|
|
|
+ .form{
|
|
|
+ display: flex;
|
|
|
+ .form_box{
|
|
|
+ width: 320px;
|
|
|
+ margin-left: 35%;
|
|
|
+ margin-top: 30px;
|
|
|
+ margin-right: 20px;
|
|
|
+ .el-form{
|
|
|
+ .preview-group{
|
|
|
+ .el-form-item{
|
|
|
+ .el-form-item__label{
|
|
|
+ display: inline-block;
|
|
|
+ width: 70px !important;
|
|
|
+ }
|
|
|
+ .el-form-item__content{
|
|
|
+ .el-select{
|
|
|
+ width: 250px;
|
|
|
+ }
|
|
|
+ .el-input{
|
|
|
+ width: 250px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .liulan{
|
|
|
+ width: 120px;
|
|
|
+ margin-top: 30px;
|
|
|
+ .el-button{
|
|
|
+ width: 100px !important;
|
|
|
+ margin: auto;
|
|
|
+ }
|
|
|
+ .btn{
|
|
|
+ margin-top: 0px;
|
|
|
+ }
|
|
|
+ .btn1{
|
|
|
+ margin-top: 13px;
|
|
|
+ }
|
|
|
+ .btn2{
|
|
|
+ margin-top: 67px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .button_box{
|
|
|
+ margin-left: 45%;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|
|
|
|