Canp.vue 10.1 KB
Newer Older
xsh committed
1 2 3 4
<template>
  <div class="eibs-tab">
    <!-- =================顶部====================== -->
    <c-col :span="24">
5
      <c-col :span="10">
nanrui committed
6
        <el-form-item label="托收业务编号" prop="bodgrp.rec.ownref">
xsh committed
7
          <c-input
xsh committed
8
            disabled
xsh committed
9 10
            v-model="model.bodgrp.rec.ownref"
            maxlength="16"
nanrui committed
11
            placeholder="请输入托收业务编号"
xsh committed
12 13 14
          ></c-input>
        </el-form-item>
      </c-col>
15 16 17 18 19 20
      <c-col :span="2">
          <el-form-item label="" label-width="20px">
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
xsh committed
21
          >
22 23 24 25 26 27 28
            <span
              style="font-size: 15px; font-family: '宋体'; font-weight: bold"
              >i</span
            >
          </c-button>
          </el-form-item>
        </c-col>
xsh committed
29
      <c-col :span="12">
nanrui committed
30
        <el-form-item label="简略信息" prop="bodgrp.rec.nam">
xsh committed
31
          <c-input
xsh committed
32
            disabled
xsh committed
33 34
            v-model="model.bodgrp.rec.nam"
            maxlength="40"
xsh committed
35
            style="width:88%"
xsh committed
36 37 38 39 40 41 42 43 44 45
            placeholder="请输入Name"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <c-row>
      <!-- ====================左边======================= -->
      <c-col :span="11">
        <c-col :span="24">
          <c-col :span="12">
nanrui committed
46
            <el-form-item label="托收金额" prop="bodgrp.cbs.max.cur">
xsh committed
47
              <c-select
48
              disabled
xsh committed
49 50 51
                v-model="model.bodgrp.cbs.max.cur"
                style="width:100%"
                placeholder="CUR"
xsh committed
52 53 54 55 56 57 58 59
              >
              <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
xsh committed
60 61 62 63 64 65
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item
              label=""
              style="text-align: left"
66
              label-width="5px"
xsh committed
67 68 69
              prop="bodgrp.cbs.max.amt"
            >
              <c-input
70
              disabled
xsh committed
71
                v-model="model.bodgrp.cbs.max.amt"
nanrui committed
72
                placeholder="请输入托收金额"
xsh committed
73 74 75 76 77 78 79
              ></c-input
            ></el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <c-col :span="12">
nanrui committed
80
            <el-form-item label="托收余额" prop="bodgrp.cbs.opn1.cur">
xsh committed
81
              <c-select
82
              disabled
xsh committed
83 84 85
                v-model="model.bodgrp.cbs.opn1.cur"
                style="width:100%"
                placeholder="CUR"
xsh committed
86 87 88 89 90 91 92 93
              >
              <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
xsh committed
94 95 96 97 98 99
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item
              label=""
              style="text-align: left"
100
              label-width="5px"
xsh committed
101 102 103
              prop="bodgrp.cbs.opn1.amt"
            >
              <c-input
104
              disabled
xsh committed
105
                v-model="model.bodgrp.cbs.opn1.amt"
nanrui committed
106
                placeholder="请输入托收余额"
xsh committed
107 108 109 110 111 112 113
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <el-form-item
nanrui committed
114
            label="交单条件"
xsh committed
115 116 117
            prop="bodgrp.rec.doctypcod"
          >
            <c-select
118
            disabled
xsh committed
119 120
              v-model="model.bodgrp.rec.doctypcod"
              style="width:100%"
nanrui committed
121
              placeholder="请选择交单条件"
xsh committed
122 123
            >
            <el-option
124
                  v-for="item in codes.doctypcod"
xsh committed
125 126 127 128 129
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
            </c-select>
xsh committed
130 131 132 133
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
134
          <el-form-item label="单据状态" prop="bodgrp.rec.docsta">
huangxin committed
135
            <c-select
136
            disabled
xsh committed
137
              v-model="model.bodgrp.rec.docsta"
huangxin committed
138
              style="width:100%"
nanrui committed
139
              placeholder="请选择单据状态"
huangxin committed
140 141
              :code="codes.docstabot"
            ></c-select>
xsh committed
142 143 144 145
          </el-form-item>
        </c-col>

        <c-col :span="24">
146
          <c-col :span="18">
nanrui committed
147
            <el-form-item label="单据期限" prop="bodgrp.rec.matdat">
xsh committed
148
              <c-date-picker
149
              disabled
xsh committed
150 151 152
                type="date"
                v-model="model.bodgrp.rec.matdat"
                style="width:100%"
nanrui committed
153
                placeholder="请选择单据到期日"
xsh committed
154 155 156 157
              ></c-date-picker>
            </el-form-item>
          </c-col>

158
          <c-col :span="5">
xsh committed
159 160 161
            <el-form-item
              label=""
              style="text-align: left"
162
              label-width="5px"
xsh committed
163 164 165
              prop="bodgrp.rec.matpercnt"
            >
              <c-input
166
              disabled
xsh committed
167 168 169 170 171
                v-model="model.bodgrp.rec.matpercnt"
                placeholder="0"
              ></c-input>
            </el-form-item>
          </c-col>
172 173

          <c-col :span="1">
nanrui committed
174
            <el-form-item label="天" label-width="5px" >
175 176
            </el-form-item>
          </c-col>
xsh committed
177 178 179 180 181
        </c-col>

        <c-col :span="24">
          <el-form-item label="" prop="bodgrp.rec.matperbeg">
            <c-select
182
            disabled
xsh committed
183 184 185
              v-model="model.bodgrp.rec.matperbeg"
              style="width:100%"
              placeholder="请选择Start of Maturity Period MATBEG"
xsh committed
186 187
            >
            <el-option
188
                  v-for="item in codes.matperbeg"
xsh committed
189 190 191 192 193
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
            </c-select>
xsh committed
194 195 196
          </el-form-item>
        </c-col>

197
        <c-col :span="12">
nanrui committed
198
          <el-form-item label="收单日期" prop="bodgrp.rec.rcvdat">
xsh committed
199
            <c-date-picker
200
            disabled
xsh committed
201 202
              type="date"
              v-model="model.bodgrp.rec.rcvdat"
203
              style="width:100%"
nanrui committed
204
              placeholder="请选择收单日期"
xsh committed
205 206 207 208
            ></c-date-picker>
          </el-form-item>
        </c-col>

209
        <c-col :span="12">
nanrui committed
210 211
          <el-form-item label="寄单日期" prop="bodgrp.rec.predat">
            <c-date-picker type="date" disabled v-model="model.bodgrp.rec.predat" style="width:100%"  placeholder="请选择寄单日期"></c-date-picker>
xsh committed
212 213 214 215 216 217 218
          </el-form-item>
        </c-col>
      </c-col>

      <!-- ====================右边======================= -->
      <c-col :span="11" :offset="1">
        <c-col :span="24">
nanrui committed
219
          <el-form-item label="收款人参考号" prop="bodgrp.drr.pts.ref">
xsh committed
220
            <c-input
221
            disabled
xsh committed
222 223
              v-model="model.bodgrp.drr.pts.ref"
              maxlength="16"
224
              style="width:100%"
xsh committed
225 226 227 228 229 230
              placeholder="请输入Drawer"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
231
          <el-form-item label="收款人名称" prop="bodgrp.drr.pts.nam">
xsh committed
232
            <c-input
233
            disabled
xsh committed
234 235 236 237 238 239 240 241
              v-model="model.bodgrp.drr.pts.nam"
              maxlength="40"
              placeholder="请输入Name of Party"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
242
          <el-form-item label="代收行参考号" prop="bodgrp.col.pts.ref">
xsh committed
243
            <c-input
244
            disabled
xsh committed
245 246
              v-model="model.bodgrp.col.pts.ref"
              maxlength="16"
247
              style="width:100%"
nanrui committed
248
              placeholder="请输入代收行"
xsh committed
249 250 251 252 253
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
254
          <el-form-item label="代收行名称" prop="bodgrp.col.pts.nam">
xsh committed
255
            <c-input
256
            disabled
xsh committed
257 258 259 260 261 262 263 264
              v-model="model.bodgrp.col.pts.nam"
              maxlength="40"
              placeholder="请输入Name of Party"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
265
          <el-form-item label="付款人参考号" prop="bodgrp.dre.pts.ref">
xsh committed
266
            <c-input
267
            disabled
xsh committed
268 269
              v-model="model.bodgrp.dre.pts.ref"
              maxlength="16"
270
              style="width:100%"
xsh committed
271 272 273 274 275 276
              placeholder="请输入Drawee"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
277
          <el-form-item label="付款人名称" prop="bodgrp.dre.pts.nam">
xsh committed
278
            <c-input
279
            disabled
xsh committed
280 281 282 283 284 285
              v-model="model.bodgrp.dre.pts.nam"
              maxlength="40"
              placeholder="请输入Name of Party"
            ></c-input>
          </el-form-item>
        </c-col>
286 287
      </c-col>
      </c-row>
xsh committed
288

289 290 291 292

    <c-row>
    <c-col :span="11">
      <c-col :span="24">
nanrui committed
293
          <el-form-item label="描述" prop="strinf">
294 295 296
            <c-input
              type="textarea"
              v-model="model.strinf"
huangxin committed
297 298
              maxlength="1750"
              :rows="10"
299
              show-word-limit
nanrui committed
300
              placeholder="请输入描述"
301
            ></c-input>
xsh committed
302 303
          </el-form-item>
        </c-col>
304
        </c-col>
xsh committed
305

306
        <c-col :span="11" :offset="1">
xsh committed
307
        <c-col :span="24">
huangxin committed
308
        <el-form-item label="" prop="sndmsg">
nanrui committed
309
          <c-checkbox v-model="model.sndmsg">发送消息</c-checkbox>
huangxin committed
310
        </el-form-item>
xsh committed
311
        </c-col>
312 313
        </c-col>
    </c-row>
xsh committed
314 315 316 317 318 319 320 321 322 323 324

      <!--<c-col :span="12">
	    <span  v-text="model.botp0.matp.mattxtlab"   data-path=".botp0.matp.mattxtlab" > </span>
	   </c-col>                            
	   <c-col :span="12">
	    <span  v-text="model.bodgrp.rec.matpertyp"   data-path=".bodgrp.rec.matpertyp" > </span>
	    </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
325
import commonProcess from "~/mixin/commonProcess";
xsh committed
326 327 328 329 330 331
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Botcan/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
332
  mixins: [commonProcess],
xsh committed
333
  data() {
huangxin committed
334 335
    return {
    };
xsh committed
336 337 338 339 340 341
  },
  methods: { ...Event },
  created: function() {},
};
</script>
<style></style>