Payp.vue 21 KB
Newer Older
zhujiazhan committed
1 2
<template>
  <div class="eibs-tab">
zhujiazhan committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
     <c-row>
      <c-col :span="24">
             <c-col :span="11">
              <el-form-item
                  label="信用证编号"
                  prop="lidgrp.rec.ownref"
                  style="width = 100%">
                  <c-fullbox>
                    <c-input
                        v-model="model.lidgrp.rec.ownref"
                        maxlength="16"
                        placeholder="请输入信用证编号"
                        disabled
                    ></c-input>
                    <template slot="footer">
                      <c-button
                      style="margin:0 0 0 10px;padding: 0 12px;"
                        size="small"
                        type="primary"
                        @click="onSeainf"
                      >
                      <span style="font-family:'宋体';font-weight:bold">i</span>
                      </c-button>
                    </template>
                 </c-fullbox>
              </el-form-item>
             </c-col>
             <c-col :span="11" :offset="1">
31
              <el-form-item label="有效日期" prop="lidgrp.rec.expdat">
zhujiazhan committed
32 33 34 35
                  <c-date-picker
                      type="date"
                      v-model="model.lidgrp.rec.expdat"
                      style="width:100%"
36
                      placeholder="请选择日期"
zhujiazhan committed
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
                      disabled
                      >
                  </c-date-picker>
              </el-form-item>
             </c-col>
          </c-col>

          <!-- ====================左边======================= -->
             <c-col :span="11">
                  <c-col :span="24">
                      <el-form-item
                          label="单据参考号"
                          prop="brdgrp.rec.ownref"
                          style="width: 100%"
                      >
                      <c-fullbox>
                          <c-input
                          v-model="model.brdgrp.rec.ownref"
                          maxlength="8"
                          placeholder="请输入单据参考号"
                          disabled
                      ></c-input>
                          <template slot="footer">
                          <c-button
                          style="margin:0 0 0 10px;padding: 0 12px;"
                            size="small"
                            type="primary"
                            @click="onSeainf">
                          <span style="font-family:'宋体';font-weight:bold">i</span>
                          </c-button>
                          </template>
                    </c-fullbox>
                  </el-form-item>
                  </c-col>
                   <c-col :span="24">
                     <c-col :span="12">
                            <el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
                                <c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount" disabled>
                                  </c-select>
                            </el-form-item>
                     </c-col>
                      <c-col :span="12">
                             <el-form-item label="" prop="brdgrp.cbs.max.amt" label-width="5px">
                                 <c-input  v-model="model.brdgrp.cbs.max.amt"  placeholder="请输入Balance" disabled></c-input>
                             </el-form-item>
                      </c-col>
                   </c-col>
                   <c-col :span="24">
                       <c-col :span="12">
                           <el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
                               <c-input  v-model="model.brdgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入单据余额" disabled></c-input>
                           </el-form-item>
                       </c-col>
                        <c-col :span="12">
                               <el-form-item label="" prop="brdgrp.cbs.opn1.amt" label-width="5px">
                                   <c-input  v-model="model.brdgrp.cbs.opn1.amt"  placeholder="请输入Balance" disabled></c-input>
                               </el-form-item>
                         </c-col>
                    </c-col>

                     <c-col :span="24">
                          <c-col :span="12">
99 100
                               <el-form-item label="收入日期" prop="brdgrp.rec.rcvdat">
                                   <c-date-picker type="date"  v-model="model.brdgrp.rec.rcvdat" style="width:100%"  placeholder="请选择日期" disabled></c-date-picker>
zhujiazhan committed
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
                               </el-form-item>
                          </c-col>
                          <c-col :span="12">
                              <el-form-item label="到单日期" prop="brdgrp.rec.advdat">
                                  <c-date-picker type="date"  v-model="model.brdgrp.rec.advdat" style="width:100%"  placeholder="请选择到单日期" disabled></c-date-picker>
                              </el-form-item>
                          </c-col>
                      </c-col>

                      <c-col :span="24">
                          <c-col :span="12">
                                <el-form-item label="远期单据到期日" prop="brdgrp.rec.matdat">
                                    <c-date-picker type="date"  v-model="model.brdgrp.rec.matdat" style="width:100%"  placeholder="请选择Maturity Date" disabled></c-date-picker>
                                </el-form-item>
                           </c-col>
                         <c-col :span="12">
117
                           <el-form-item label="开始日期" prop="brdgrp.rec.stadat">
zhujiazhan committed
118 119 120 121 122 123
                               <c-date-picker type="date"  v-model="model.brdgrp.rec.stadat" style="width:100%"  placeholder="请选择远期单据到期日" disabled></c-date-picker>
                           </el-form-item>
                          </c-col>
                       </c-col>

                       <c-col :span="24">
124 125 126 127 128 129 130
                           <c-col :span="14">
                                   <el-form-item label="单据类型" prop="brdgrp.rec.docflg">
                                       <c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型" :code="codes.docflg" disabled>
                                         </c-select>
                                   </el-form-item>
                           </c-col>
                            <c-col :span="10">
131
                               <el-form-item label="期限(天)" prop="brdgrp.rec.tenmaxday">
132
                                   <c-input  v-model="model.brdgrp.rec.tenmaxday"  placeholder="请输入Tenor day" disabled></c-input>
zhujiazhan committed
133
                               </el-form-item>
134 135
                            </c-col>
                        </c-col>
zhujiazhan committed
136 137 138

                      <c-col :span="24">
                           <el-form-item label="单据状态" prop="brdgrp.rec.docsta">
139
                               <c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态" :code="codes.docsta1" disabled>
zhujiazhan committed
140 141 142 143 144 145
                                 </c-select>
                           </el-form-item>
                      </c-col>

                     <c-col :span="24">
                       <c-col :span="12">
146 147
                        <el-form-item label="收入日期" prop="brdgrp.rec.rcvdat">
                            <c-date-picker type="date"  v-model="model.brdgrp.rec.rcvdat" style="width:100%"  placeholder="请选择日期"></c-date-picker>
zhujiazhan committed
148 149 150 151
                        </el-form-item>
                       </c-col>

                       <c-col :span="12">
152
                        <el-form-item label="交单日期" prop="brdgrp.rec.predat">
zhujiazhan committed
153 154 155 156 157 158
                            <c-date-picker type="date"  v-model="model.brdgrp.rec.predat" style="width:100%"  placeholder="请选择Presentation Date"></c-date-picker>
                        </el-form-item>
                       </c-col>
                     </c-col>

                     <c-col :span="24">
159 160
                             <el-form-item label="收到指示" prop="brdgrp.blk.aplins">
                                 <c-input type="textarea" v-model="model.brdgrp.blk.aplins" maxlength="40" show-word-limit placeholder="请输入收到指示" :rows="5"></c-input>
zhujiazhan committed
161 162 163 164 165 166 167 168
                             </el-form-item>
                      </c-col>

                </c-col>
                <!-- ====================右边======================= -->
                 <c-col :span="11" :offset="1">
                     <c-col :span="24">
                         <c-col :span="12">
169 170
                                <el-form-item label="开证金额" prop="lidgrp.cbs.opn1.cur">
                                    <c-input  v-model="model.lidgrp.cbs.opn1.cur" maxlength="3"  placeholder="请选择币种" disabled></c-input>
zhujiazhan committed
171 172 173 174 175 176 177 178 179
                                </el-form-item>
                          </c-col>
                          <c-col :span="12">
                              <el-form-item label="" prop="lidgrp.cbs.opn1.amt"  label-width="5px">
                                  <c-input  v-model="model.lidgrp.cbs.opn1.amt"  placeholder="请输入Balance" disabled></c-input>
                              </el-form-item>
                           </c-col>
                      </c-col>
                       <c-col :span="24">
180
                        <el-form-item label="单据简略信息" prop="brdgrp.rec.nam">
zhujiazhan committed
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
                            <c-input  v-model="model.brdgrp.rec.nam" maxlength="40"  placeholder="请输入Name of Bill Contract" disabled></c-input>
                        </el-form-item>
                       </c-col>

                       <c-col :span="24">
                            <c-col :span="12">
                               <el-form-item label="申请人" prop="brdgrp.apl.pts.ref">
                                   <c-input  v-model="model.brdgrp.apl.pts.ref" maxlength="16"  placeholder="请输入申请人" disabled></c-input>
                               </el-form-item>
                              </c-col>

                              <c-col :span="12">
                               <el-form-item label="" prop="brdgrp.apl.pts.nam" label-width="5px">
                                   <c-input  v-model="model.brdgrp.apl.pts.nam" maxlength="40"  placeholder="请输入Name of Party" disabled></c-input>
                               </el-form-item>
                              </c-col>
                          </c-col>


                       <c-col :span="24">
                           <c-col :span="12">
                                <el-form-item label="受益人" prop="brdgrp.ben.pts.ref">
                                    <c-input  v-model="model.brdgrp.ben.pts.ref" maxlength="16"  placeholder="请输入受益人" disabled></c-input>
                                </el-form-item>
                               </c-col>
                              <c-col :span="12">
                                  <el-form-item label="" prop="brdgrp.ben.pts.nam" label-width="5px">
                                      <c-input  v-model="model.brdgrp.ben.pts.nam" maxlength="40"  placeholder="请输入Name of Party" disabled></c-input>
                                  </el-form-item>
                             </c-col>
                         </c-col>
                        <c-col :span="24">
                            <c-col :span="12">
                                <el-form-item label="交单行" prop="brdgrp.prb.pts.ref">
                                    <c-input  v-model="model.brdgrp.prb.pts.ref" maxlength="16"  placeholder="请输入交单行" disabled></c-input>
                                </el-form-item>
                            </c-col>
                            <c-col :span="12">
                                <el-form-item label="" prop="brdgrp.prb.pts.nam" label-width="5px">
                                    <c-input  v-model="model.brdgrp.prb.pts.nam" maxlength="40"  placeholder="请输入Name of Party" disabled></c-input>
                                </el-form-item>
                            </c-col>
                       </c-col>

                       <c-col :span="24">
226
                            <el-form-item label="交单行" prop="brdgrp.rec.docprbrol">
227
                                <c-select v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by" disabled :code="codes.payrol">
zhujiazhan committed
228 229 230 231 232 233 234
                                  </c-select>
                            </el-form-item>
                       </c-col>


                          <c-col :span="24">
                                 <c-col :span="21">
235
                                     <el-form-item label="寄单行" prop="brdgrp.prb.pts.extkey">
236 237 238
                                         <c-input
                                         v-model="model.brdgrp.prb.pts.extkey"
                                         maxlength="16"
239
                                         placeholder="请输入地址编码"
240 241 242 243
                                         @keyup.enter.native="
                                                          showGridPromptDialog('brdgrp.prb.pts.extkey')
                                                        "
                                         ></c-input>
zhujiazhan committed
244 245 246 247
                                     </el-form-item>
                                 </c-col>
                                <c-col :span="3">
                                     <c-button size="small" type="primary"  @click="onPrbpDet">
248
                                         详情
zhujiazhan committed
249 250 251 252
                                     </c-button>
                                </c-col>
                            </c-col>
                            <c-col :span="24">
253
                                    <el-form-item label="地址信息" prop="brdgrp.prb.dbfadrblkcn">
zhujiazhan committed
254 255 256 257
                                        <c-input type="textarea" v-model="model.brdgrp.prb.dbfadrblkcn" maxlength="150" show-word-limit placeholder="请输入Chinese address" disabled :rows="5"></c-input>
                                    </el-form-item>
                               </c-col>
                           <c-col :span="24">
258
                                   <el-form-item label="付款人" prop="brdgrp.rec.payrol">
259
                                       <c-select v-model="model.brdgrp.rec.payrol" style="width:100%" placeholder="请选择Payer" disabled :code="codes.payrol">
zhujiazhan committed
260 261 262 263 264 265
                                         </c-select>
                                   </el-form-item>
                          </c-col>

                          <c-col :span="24">
                              <c-col :span="21">
266 267
                                    <el-form-item label="其他当事人" prop="brtp.oth.pts.extkey">
                                        <c-input  v-model="model.brtp.oth.pts.extkey" maxlength="16"  placeholder="请输入地址编码" disabled></c-input>
zhujiazhan committed
268 269 270 271
                                    </el-form-item>
                              </c-col>
                                <c-col :span="3">
                                   <c-button size="small" type="primary"  @click="onOthpDet">
272
                                       详情
zhujiazhan committed
273 274 275 276
                                   </c-button>
                              </c-col>
                          </c-col>
                         <c-col :span="24   ">
jianglong committed
277 278
                                <el-form-item label="地址信息" prop="brtp.oth.pts.adrblk">
                                    <c-input type="textarea" v-model="model.brtp.oth.pts.adrblk" maxlength="150" show-word-limit placeholder="请输入地址信息"  disabled minheight="60" :rows="5"></c-input>
zhujiazhan committed
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
                                </el-form-item>
                        </c-col>
                     </c-col>





    <c-col :span="24" v-show='false'>
             <c-col :span="12">
                 <el-form-item label="Drag  Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
                     <c-input  v-model="model.brtp.lidget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
                 </el-form-item>
                </c-col>
              <c-col :span="12">
                    <el-form-item label="" prop="brtp.lidget.sdamod.seainf">
                        <c-input  v-model="model.brtp.lidget.sdamod.seainf"  placeholder="请输入"></c-input>
                    </el-form-item>
              </c-col>
               <c-col :span="12">
                      <el-form-item label="Drag  Drop Sender" prop="brtp.recget.sdamod.dadsnd">
                          <c-input  v-model="model.brtp.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
                      </el-form-item>
                </c-col>
                 <c-col :span="12">
                  <el-form-item label="" prop="brtp.recget.sdamod.seainf">
                      <c-input  v-model="model.brtp.recget.sdamod.seainf"  placeholder="请输入"></c-input>
                  </el-form-item>
                 </c-col>
                 <c-col :span="12">
                  <el-form-item label="Balance" prop="brdgrp.cbs.max.amt">
                      <c-input  v-model="model.brdgrp.cbs.max.amt"  placeholder="请输入Balance"></c-input>
                  </el-form-item>
                 </c-col>
                <c-col :span="12">
                    <span  v-text="model.brtp.matp.mattxtlab"   data-path=".brtp.matp.mattxtlab" > </span>
                </c-col>
316

zhujiazhan committed
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336
                  <c-col :span="12">
                         <el-form-item label="Drag  Drop Sender" prop="brtp.prbp.ptsget.sdamod.dadsnd">
                             <c-input  v-model="model.brtp.prbp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
                         </el-form-item>
                </c-col>
                <c-col :span="12">
                 <el-form-item label="" prop="brtp.prbp.ptsget.sdamod.seainf">
                     <c-input  v-model="model.brtp.prbp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
                 </el-form-item>
                </c-col>



                <c-col :span="12">
                 <el-form-item label="名称" prop="brdgrp.prb.namelc">
                     <c-input type="textarea" v-model="model.brdgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" :rows="5"></c-input>
                 </el-form-item>
                 </c-col>

                <c-col :span="12">
jianglong committed
337 338
                 <el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk">
                     <c-input type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址信息" :rows="5"></c-input>
zhujiazhan committed
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376
                 </el-form-item>
                 </c-col>



                <c-col :span="12">
                 <el-form-item label="地址" prop="brdgrp.prb.adrelc">
                     <c-input type="textarea" v-model="model.brdgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" :rows="5"></c-input>
                 </el-form-item>
                 </c-col>



                <c-col :span="12">
                 <el-form-item label="Drag  Drop Sender" prop="brtp.othp.ptsget.sdamod.dadsnd">
                     <c-input  v-model="model.brtp.othp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
                 </el-form-item>
                </c-col>



                <c-col :span="12">
                 <el-form-item label="" prop="brtp.othp.ptsget.sdamod.seainf">
                     <c-input  v-model="model.brtp.othp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
                 </el-form-item>
                </c-col>



                <c-col :span="12">
                 <el-form-item label="名称" prop="brtp.oth.namelc">
                     <c-input type="textarea" v-model="model.brtp.oth.namelc" maxlength="35" show-word-limit placeholder="请输入名称" :rows="5"></c-input>
                 </el-form-item>
                 </c-col>



                <c-col :span="12">
377
                 <el-form-item label="中文地址" prop="brtp.oth.dbfadrblkcn">
zhujiazhan committed
378 379 380 381 382 383 384 385 386 387 388 389 390
                     <c-input type="textarea" v-model="model.brtp.oth.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" :rows="5"></c-input>
                 </el-form-item>
                 </c-col>

                <c-col :span="12">
                 <el-form-item label="地址" prop="brtp.oth.adrelc">
                     <c-input type="textarea" v-model="model.brtp.oth.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" :rows="5"></c-input>
                 </el-form-item>
                 </c-col>

            </c-col>

   </c-row>
zhujiazhan committed
391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtsnd/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>