Inst.vue 11.4 KB
Newer Older
jxl committed
1 2
<template>
  <c-row>
3 4 5 6 7
    <!-- ====================左边======================= -->
    <c-col :span="12" :width="30">
      <c-col :span="23">
        <el-form-item label="Delivery of Documents Instructions" style="padding-top:15px">
          <c-fullbox>
huangxin committed
8
            <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="3250" show-word-limit
9 10 11 12 13 14 15 16
              placeholder="请输入Collection Instructions" >
            </c-input>
            <template slot="footer">
              <c-button size="small" type="primary">
                ...
              </c-button>
            </template>
          </c-fullbox>
jxl committed
17
        </el-form-item>
18 19 20 21 22
      </c-col>

      <!-- <c-col span="24">
          Delivery of Documents Instructions
        </c-col> -->
jxl committed
23

24 25 26 27 28

      <!-- <el-form-item label="Delivery of Documents Instructions" prop="bodgrp.blk.colins" >
          
         <c-col :span="24" style="width:100%">
          <c-col :span="20" >
jxl committed
29 30
            <c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" >
            </c-input>
31
          </c-col>
jxl committed
32 33 34 35 36 37 38 39
        
         <c-col :span="4">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
            ...
        </c-button>
       </c-col>
       </c-col>

40
       </el-form-item> -->
jxl committed
41

42 43 44 45 46 47 48 49 50 51 52 53




      <c-col :span="24">
        <el-form-item label="" prop="bodgrp.blk.colinsflg">
          <c-checkbox v-model="colinsflg">Collection instructions modified</c-checkbox>
        </el-form-item>
      </c-col>


      <!-- <c-col :span="12">
jxl committed
54 55
        <el-form-item label="Draft Instructions">
        </el-form-item>
56
      </c-col>
jxl committed
57 58

      <c-col :span="24">
59 60 61
        <c-col :span="20">
          <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit
            placeholder="请输入Draft Instructions"></c-input>
jxl committed
62
        </c-col>
63 64 65 66


        <c-col :span="4">
          <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel">
jxl committed
67
            ...
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
          </c-button>
        </c-col>
      </c-col> -->
      <c-col :span="23">
        <el-form-item label="Draft Instructions" style="padding-top:15px">
          <c-fullbox>
            <c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit
              placeholder="请输入Draft Instructions">
            </c-input>
            <template slot="footer">
              <c-button size="small" type="primary">
                ...
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
jxl committed
85

86
      <!-- <c-col :span="24">
jxl committed
87 88
        <el-form-item label="Protest Instructions">
        </el-form-item>
89 90 91 92 93 94
      </c-col>

      <c-col :span="24">
        <c-col :span="20">
          <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit
            placeholder="请输入Protest Instructions"></c-input>
jxl committed
95
        </c-col>
96 97 98

        <c-col :span="4">
          <c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel">
jxl committed
99
            ...
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
          </c-button>
        </c-col>
      </c-col> -->

      <c-col :span="23">
        <el-form-item label="Protest Instructions" style="padding-top:15px">
          <c-fullbox>
            <c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit
              placeholder="请输入Protest Instructions">
            </c-input>
            <template slot="footer">
              <c-button size="small" type="primary">
                ...
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>



      <!-- <c-col :span="24">
jxl committed
122 123
        <el-form-item label="Other Instructions">
        </el-form-item>
124
      </c-col>
jxl committed
125 126 127

      <c-col :span="24">
        <c-col :span="20">
128 129
          <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit
            placeholder="请输入Other Instructions"></c-input>
jxl committed
130
        </c-col>
131 132 133

        <c-col :span="4">
          <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
jxl committed
134
            ...
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
          </c-button>
        </c-col>
      </c-col> -->

      <c-col :span="23">
        <el-form-item label="Other Instructions" style="padding-top:15px">
          <c-fullbox>
            <c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit
              placeholder="请输入Other Instructions">
            </c-input>
            <template slot="footer">
              <c-button size="small" type="primary">
                ...
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
jxl committed
152 153
      </c-col>

154 155 156 157 158 159 160 161
      <!-- <c-col :span="24">
        <el-form-item label="Delivery instructions">
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="20">
          <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit
            placeholder="请输入Delivery instructions"></c-input>
jxl committed
162
        </c-col>
163 164 165

        <c-col :span="4">
          <c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel">
jxl committed
166
            ...
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
          </c-button>
        </c-col>
      </c-col> -->
      <c-col :span="23">
        <el-form-item label="Warehouse/Insurance instructions" style="padding-top:15px">
          <c-fullbox>
            <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit
              placeholder="请输入Warehouse/Insurance instruction">
            </c-input>
            <template slot="footer">
              <c-button size="small" type="primary">
                ...
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

    </c-col>




    <!-- ====================右边======================= -->
    <c-col :span="12">
      <c-col :span="24" style="width:100%">
        <el-form-item label="Changes Condition" prop="bodgrp.rec.chato" style="padding-top:15px">

          <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"
196
            :code="codes.chadet">
197 198
          </c-select>

jxl committed
199 200

        </el-form-item>
201
      </c-col>
jxl committed
202

203 204 205

      <!-- <c-col :span="24">
        <el-form-item label="Our Charges to">
jxl committed
206
        </el-form-item>
207 208 209 210 211 212 213 214 215 216 217 218 219
      </c-col>

      <c-col :span="24">
        <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"
          :code="codes.chato">
        </c-select>
      </c-col> -->
      <c-col :span="24" style="width:100%">
        <el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt" style="padding-top:15px">

          <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit
            placeholder="请输入Charges Text"></c-input>

jxl committed
220 221

        </el-form-item>
222 223 224 225 226
      </c-col>


      <!-- <c-col :span="24">
        <el-form-item label="Charges Text">
jxl committed
227
        </el-form-item>
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
      </c-col>

      <c-col :span="24">
        <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit
          placeholder="请输入Charges Text"></c-input>
      </c-col> -->

      <c-col :span="22">
        <c-checkbox v-model="model.bodgrp.rec.focflg" style="padding-left:10px">Free of Payment</c-checkbox>
      </c-col>
      <c-col :span="24" style="width:100%">
        <el-form-item label="Waive Collecting Bank Charges" prop="bodgrp.rec.waicolcod" style="padding-top:15px">

          <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions"
            :code="codes.waicolcod">
          </c-select>
jxl committed
244 245

        </el-form-item>
246 247 248 249 250 251
      </c-col>
      <!-- <c-col :span="24">
        <c-col :span="5">
          <el-form-item label="Waive Collecting">
          </el-form-item>
        </c-col>
jxl committed
252
        <c-col :span="4">
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
          <el-form-item label="Bank Charges">
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions"
          :code="codes.waicolcod">
        </c-select>
      </c-col> -->

      <c-col :span="24" style="width:100%">
        <el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod" style="padding-top:15px">

          <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%"
            placeholder="请选择Waive Remitting Bank Charges" :code="codes.wairmtcod">
          </c-select>

jxl committed
271
        </el-form-item>
272
      </c-col>
jxl committed
273

274 275 276 277 278 279 280 281 282
      <!-- <c-col :span="24">
        <c-col :span="4">
          <el-form-item label="Waive Remitting">
          </el-form-item>
        </c-col>
        <c-col :span="4">
          <el-form-item label="Bank Charges">
          </el-form-item>
        </c-col>
jxl committed
283

284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
      </c-col>

      <c-col :span="24">
        <c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges"
          :code="codes.wairmtcod">
        </c-select>
      </c-col> -->
      <c-col :span="24" style="width:100%">
        <el-form-item label="Defer Payment until" prop="bodgrp.rec.othins" style="padding-top:15px">

          <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"
            :code="codes.othins">
          </c-select>
        </el-form-item>
      </c-col>
      <!-- <c-col :span="24">
jxl committed
300 301
        <el-form-item label="Defer Payment until">
        </el-form-item>
302 303 304 305 306 307 308 309 310
      </c-col>

      <c-col :span="24">
        <c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"
          :code="codes.othins">
        </c-select>
      </c-col> -->
      <c-col :span="12">
        <el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px">
jxl committed
311

312 313 314 315 316 317 318 319 320 321
          <c-select disabled v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount"
            :code="codes.cur">
          </c-select>

        </el-form-item>
      </c-col>
      <c-col :span="12">
        <c-input style="padding-top:15px" v-model="model.bodgrp.rec.lescom" placeholder="请输入Document Amount"></c-input>
      </c-col>
      <!-- <c-col :span="24">
jxl committed
322
        <el-form-item label="less comm">
323 324
        </el-form-item>
      </c-col>
jxl committed
325

326
      <c-col :span="24">
jxl committed
327
        <c-col :span="12">
328 329 330 331
          <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount"
            :code="codes.cur">
          </c-select>
        </c-col>
jxl committed
332
        <c-col :span="12">
333 334 335 336
          <c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input>
        </c-col>
      </c-col> -->

jxl committed
337
    </c-col>
338
  </c-row>
jxl committed
339 340 341
</template>
<script>
import Api from "~/service/Api"
wangren committed
342
import commonProcess from "~/mixin/commonProcess";
jxl committed
343
import CodeTable from "~/config/CodeTable"
344
import Event from "~/model/Botdav/Event"
jxl committed
345 346

export default {
347 348 349 350 351
  inject: ['root'],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
jxl committed
352 353

    }
354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
  },
  methods: { ...Event },
  created: function () {

  },
  computed:{
    colinsflg:{
      get(){
        return this.model.bodgrp.blk.colinsflg ==="X";
      },
      set(val){
        this.model.bodgrp.blk.colinsflg=val ? "X":"";
      },
    },
  }
jxl committed
369
}
370

jxl committed
371 372 373
</script>
<style>
</style>