Shpdet.vue 9.8 KB
Newer Older
zhoutian committed
1 2
<template>
  <div class="eibs-tab">
lianyang committed
3

lianyang committed
4
      <!--=== ==========左边=============== -->
lianyang committed
5 6 7
    <c-col :span="11"> 
      <c-col :span="24">
        <el-form-item label="Release of Goods" prop="brdgrp.rec.relgodflg">
lianyang committed
8
            <c-select v-model="model.brdgrp.rec.relgodflg" style="width:100%" placeholder="请选择Release of Goods" :code="codes.relgod">
zhoutian committed
9 10
              </c-select>
        </el-form-item>
lianyang committed
11 12 13 14
      </c-col>

      <c-col :span="24">
        <el-form-item label="Release Type" prop="brdgrp.rec.reltyp">
lianyang committed
15 16
            <c-select v-model="model.brdgrp.rec.reltyp" style="width:100%" placeholder="请选择Release Type"
            :code="codes.reltyp1">
zhoutian committed
17 18
              </c-select>
        </el-form-item>
lianyang committed
19 20 21 22
      </c-col>

      <c-col :span="12">
        <el-form-item label="issue date" prop="brdgrp.rec.relgoddat">
lianyang committed
23 24
            <c-date-picker type="date"  v-model="model.brdgrp.rec.relgoddat" style="width:100%"  placeholder="请选择issue date"
              value-format="yyyy-MM-dd"></c-date-picker>
zhoutian committed
25
        </el-form-item>
lianyang committed
26 27 28
      </c-col>
      <c-col :span="12">
        <el-form-item label="Expiry Date " prop="brdgrp.rec.expdat">
lianyang committed
29 30
            <c-date-picker type="date"  v-model="model.brdgrp.rec.expdat" style="width:100%"  placeholder="请选择Expiry Date of Shipping Guarantee"
              value-format="yyyy-MM-dd"></c-date-picker>
zhoutian committed
31
        </el-form-item>
lianyang committed
32 33 34 35 36
      </c-col>

      <c-col :span="24">
        <el-form-item label="Transport Doc. Type" prop="brdgrp.rec.trpdoctyp">
            <c-select v-model="model.brdgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type">
zhoutian committed
37 38
              </c-select>
        </el-form-item>
lianyang committed
39 40 41 42 43
      </c-col>

      <c-col :span="24">
        <el-form-item label="Transport Doc. No." prop="brdgrp.rec.trpdocnum">
            <c-input  v-model="model.brdgrp.rec.trpdocnum" maxlength="40"  placeholder="请输入Transport Doc. No."></c-input>
zhoutian committed
44
        </el-form-item>
lianyang committed
45 46 47 48
      </c-col>

      <c-col :span="24">
        <el-form-item label="shipment date" prop="brdgrp.rec.tradat">
lianyang committed
49 50
            <c-date-picker type="date"  v-model="model.brdgrp.rec.tradat" style="width:100%"  placeholder="请选择shipment date"
              value-format="yyyy-MM-dd"></c-date-picker>
lianyang committed
51 52 53 54 55 56
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Mode of Transport" prop="brdgrp.rec.tramod">
            <c-select v-model="model.brdgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport">
zhoutian committed
57 58
              </c-select>
        </el-form-item>
lianyang committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
      </c-col>

      <c-col :span="24">
        <el-form-item label="Vessel Name" prop="brdgrp.blk.vesnam">
            <c-input  v-model="model.brdgrp.blk.vesnam" maxlength="40"  placeholder="请输入Vessel Name"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Port of Discharge" prop="brdgrp.blk.pordis">
            <c-input  v-model="model.brdgrp.blk.pordis" maxlength="40"  placeholder="请输入Port of Discharge"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Place of Delivery" prop="brdgrp.blk.delplc">
            <c-input  v-model="model.brdgrp.blk.delplc" maxlength="40"  placeholder="请输入Place of Delivery"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Covered Goods" prop="brdgrp.blk.roggod">
81
            <c-input type="textarea" v-model="model.brdgrp.blk.roggod" maxlength="1600" show-word-limit placeholder="请输入Covered Goods" ></c-input>
lianyang committed
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Port of loading" prop="brdgrp.blk.porlod">
            <c-input  v-model="model.brdgrp.blk.porlod" maxlength="40"  placeholder="请输入Port of loading"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Voyage numer" prop="brdgrp.blk.voynum">
            <c-input  v-model="model.brdgrp.blk.voynum" maxlength="30"  placeholder="请输入Voyage numer"></c-input>
        </el-form-item>
      </c-col>
    </c-col>
                <!--=== ==========右边=============== -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="Contract Number" prop="brtp.connum">
            <c-input  v-model="model.brtp.connum" maxlength="35"  placeholder="请输入Contract Number"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label=" ">
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Carrier" prop="brdgrp.blk.carnam">
            <c-input  v-model="model.brdgrp.blk.carnam" maxlength="35"  placeholder="请输入Carrier"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="B/L Number" prop="brdgrp.rec.blnum">
            <c-input  v-model="model.brdgrp.rec.blnum" maxlength="20"  placeholder="请输入B/L Number"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label=" ">
        </el-form-item>
      </c-col>

127
      <c-col :span="20">
lianyang committed
128
        <el-form-item label="Release to Address" prop="brdgrp.blk.relstoadr">
129
            <c-input type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="140" show-word-limit placeholder="请输入Release to Address" 
lianyang committed
130 131 132
            rows="4"></c-input>
        </el-form-item>
      </c-col>
133
      <c-col :span="4">
lianyang committed
134 135
        <el-form-item label="" label-width="5px" prop="brdgrp.rec.rtoaplflg">
          <c-checkbox v-model="model.brdgrp.rec.rtoaplflg">to Applicant</c-checkbox>
136 137 138 139 140
          <!-- <el-input v-model="model.brdgrp.rec.rtoaplflg"></el-input> -->
        </el-form-item>
        
        <!-- <c-checkbox v-model="model.brdgrp.rec.rtoaplflg">to Applicant</c-checkbox> 简化model前,,原始-->
        <!-- Release Goods to Applicant? -->
lianyang committed
141 142 143
      </c-col>

      <c-col :span="24">
144 145 146 147 148 149 150 151 152 153
        <c-ptap1
          :model="model"
          :argadr="{
            title: 'Shapping Company',
            grp: 'brdgrp',
            rol: 'shp',
          }"
          :disabled="true"
          :isAdrblk="false"
          disabled1
潘际乾 committed
154
          @onSeainf="onSeainf" @onAplpDet="onShppDet"
155 156 157 158 159 160 161
        >
        </c-ptap1>
        <!-- brdgrp.shp.pts.extkey  对应grp: 'brdgrp',  rol: 'prb',-->
      </c-col>
          

      <!-- <c-col :span="24">
lianyang committed
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
        <el-form-item label="Drag  Drop Sender" prop="brtp.shpp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.brtp.shpp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="External Key of Address" prop="brdgrp.shp.pts.extkey">
            <c-input  v-model="model.brdgrp.shp.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="" prop="brtp.shpp.ptsget.sdamod.seainf">
            <c-input  v-model="model.brtp.shpp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
      </c-col>
zhoutian committed
178
                  
lianyang committed
179
      <c-col :span="12">
zhoutian committed
180
        <c-button size="small" type="primary"  @click="onShppDet">
lianyang committed
181
            Details
zhoutian committed
182
        </c-button>
183
      </c-col> -->
lianyang committed
184

185
      <!-- <c-col :span="24">
lianyang committed
186 187 188 189 190 191 192 193 194
        <el-form-item label="名称" prop="brdgrp.shp.namelc">
            <c-input type="textarea" v-model="model.brdgrp.shp.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Address Block" prop="brdgrp.shp.pts.adrblk">
            <c-input type="textarea" v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
195
      </c-col> -->
zhoutian committed
196
                  
197
      <!-- <c-col :span="24">
lianyang committed
198 199 200 201 202 203 204 205 206
        <el-form-item label="Chinese address" prop="brdgrp.shp.dbfadrblkcn">
            <c-input type="textarea" v-model="model.brdgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="地址" prop="brdgrp.shp.adrelc">
            <c-input type="textarea" v-model="model.brdgrp.shp.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
207
      </c-col> -->
lianyang committed
208 209 210

      <c-col :span="24">
        <el-form-item label="Notify Party" prop="brdgrp.blk.notpty">
211
            <c-input type="textarea" v-model="model.brdgrp.blk.notpty" maxlength="350" show-word-limit placeholder="请输入Notify Party" ></c-input>
lianyang committed
212 213 214 215
        </el-form-item>
      </c-col>

      <c-col :span="24">
zhoutian committed
216
        <el-form-item label="Goods code" prop="brdgrp.rec.ngrcod">
217 218
            <c-select v-model="model.brdgrp.rec.ngrcod" style="width:100%" placeholder="请选择Goods code"
            :code="codes.bnrsec">
zhoutian committed
219 220
              </c-select>
        </el-form-item>
lianyang committed
221 222
      </c-col>
    </c-col>
zhoutian committed
223 224 225 226 227 228 229
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdck/Event"
230
import Ptap1 from "~/views/Public/Ptap1"
zhoutian committed
231 232

export default {
233 234 235 236 237
  components: {
    "c-ptap1": Ptap1,
    // "c-ptap": Ptap,
    // "c-ptsmsg": Ptsmsg,
  },
zhoutian committed
238 239 240 241 242 243 244 245
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
246
    computed:{
lianyang committed
247 248 249 250 251 252 253 254 255
      // rtoaplflg:{
      //   get() {
      //         return this.model.brdgrp.rec.rtoaplflg != ''
      //         brdgrp.rec.rtoaplflg
      //     },
      //     set(val) {
      //         this.model.brdgrp.rec.rtoaplflg = val ? "X" : ""
      //     }
      // }
256 257 258 259
    },
    methods:{
      ...Event,
    },
zhoutian committed
260 261 262 263 264 265 266 267
    created:function(){

    }
}
</script>
<style>

</style>