Bctset.vue 8.79 KB
Newer Older
wjj committed
1
<template>
2 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 31 32 33 34 35 36 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 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 127 128 129 130
  <div class="eibs-tab">
    <!-- ====================左边======================= -->
    <el-col :span="11">
      <c-col :span="24">
        <el-form-item
          label="Collection Number"
          prop="bcdgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              v-model="model.bcdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Collection Number"
              style="width: 100%"
              disabled
            >
            </c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 8px; padding: 0 12px"
                size="small"
                type="primary"
                @click=""
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
          <c-input
            v-model="model.bcdgrp.cbs.max.cur"
            style="width: 100%"
            placeholder="请选择Document Amount"
            disabled
          >
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item
          style="text-align: left"
          label-width="0"
          prop="bcdgrp.cbs.max.amt"
        >
          <c-input
            v-model="model.bcdgrp.cbs.max.amt"
            style="text-align: left; width: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
          <c-input
            v-model="model.bcdgrp.cbs.opn1.cur"
            style="width: 100%"
            placeholder="请选择Open Amount"
            disabled
          >
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item
          style="text-align: left"
          label-width="0"
          prop="bcdgrp.cbs.opn1.amt"
        >
          <c-input
            v-model="model.bcdgrp.cbs.opn1.amt"
            style="text-align: left; width: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.rcvdat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
            placeholder="请选择Docs Received on"
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.advdat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
            placeholder="请选择Advised on"
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.matdat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
            placeholder="请选择Maturity Date"
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item label="Remitted on" prop="bcdgrp.rec.predat">
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.predat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
            placeholder="请选择Remitted on"
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
wangren committed
131
          <c-select
132
            v-model="model.bcdgrp.rec.doctypcod"
wangren committed
133
            :code="codes.doctypcod"
134 135 136 137
            style="width: 100%"
            placeholder="请选择Payment Condition"
            disabled
          >
wangren committed
138
          </c-select>
139 140 141 142
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
wangren committed
143
          <c-select
144
            v-model="model.bcdgrp.rec.docsta"
145
            :code="codes.docstabot"
146 147 148 149
            style="width: 100%"
            placeholder="请输入Document Set Status"
            disabled
          >
wangren committed
150
          </c-select>
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 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 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 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item label="Amount Accepted" prop="setmod.doccur">
          <c-input
            v-model="model.setmod.doccur"
            style="width: 100%"
            placeholder="Amount Accepted"
            disabled
          >
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item
          style="text-align: left"
          label-width="0"
          prop="setmod.docamt"
        >
          <c-input
            v-model="model.setmod.docamt"
            style="text-align: left; width: 100%"
            placeholder="请输入document amount"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <!-- <c-edit-table :model="model" v-bind="docgrd">
                </c-edit-table> -->
        <c-docpre
          :model="model"
          :argadr="{
            path: 'bcdgrp.blk.docpre',
            grp: 'bctp',
            code: 'docpre',
          }"
        ></c-docpre>
      </c-col>
    </el-col>
    <!-- ====================右边======================= -->
    <el-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="Name" prop="bcdgrp.rec.nam" style="width: 100%">
          <c-input
            v-model="model.bcdgrp.rec.nam"
            maxlength="40"
            style="width: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item
          style="text-align: right"
          label="Drawee  Ref."
          prop="bcdgrp.dre.pts.ref"
        >
          <c-input
            v-model="model.bcdgrp.dre.pts.ref"
            maxlength="16"
            style="width: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item prop="bcdgrp.dre.pts.nam">
          <c-input
            v-model="model.bcdgrp.dre.pts.nam"
            maxlength="40"
            style="width: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item
          style="text-align: right"
          label="Remitting Bank  Ref."
          prop="bcdgrp.rmi.pts.ref"
        >
          <c-input
            v-model="model.bcdgrp.rmi.pts.ref"
            maxlength="16"
            style="width: 100%"
            disabled
          >
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item prop="bcdgrp.rmi.pts.nam">
          <c-input
            v-model="model.bcdgrp.rmi.pts.nam"
            maxlength="40"
            style="width: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item
          style="text-align: right"
          label="Drawer  Ref."
          prop="bcdgrp.drr.pts.ref"
        >
          <c-input
            v-model="model.bcdgrp.drr.pts.ref"
            maxlength="16"
            style="width: 100%"
            disabled
          >
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangren committed
267
        <el-form-item prop="bcdgrp.drr.pts.nam">
268
          <c-input
wangren committed
269
            v-model="model.bcdgrp.drr.pts.nam"
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288
            maxlength="40"
            style="width: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Accepted on" prop="bcdgrp.rec.accdat">
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.accdat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
            placeholder="请选择Accepted on"
          ></c-date-picker>
        </el-form-item>
      </c-col>
    </el-col>
  </div>
wjj committed
289 290
</template>
<script>
291 292 293 294 295
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctacc/Event";
import Docpre from "~/views/Public/Docpre";
wjj committed
296

297 298 299 300 301 302 303 304 305 306 307 308 309 310 311
export default {
  components: {
    "c-docpre": Docpre,
  },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: {
    ...Event,
  },
  created: function () {},
};
wjj committed
312
</script>
313
<style></style>