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

        <c-col :span="24">
          <c-col :span="12">
nanrui committed
101
            <el-form-item label="托收余额" prop="bodgrp.cbs.opn1.cur">
xsh committed
102
              <c-select
103
              disabled
xsh committed
104 105 106
                v-model="model.bodgrp.cbs.opn1.cur"
                style="width:100%"
                placeholder="CUR"
xsh committed
107 108 109 110 111 112 113 114
              >
              <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
xsh committed
115 116 117 118 119 120
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item
              label=""
              style="text-align: left"
121
              label-width="5px"
xsh committed
122 123 124
              prop="bodgrp.cbs.opn1.amt"
            >
              <c-input
125
              disabled
xsh committed
126
                v-model="model.bodgrp.cbs.opn1.amt"
nanrui committed
127
                placeholder="请输入托收余额"
xsh committed
128 129 130 131 132 133 134
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <el-form-item
nanrui committed
135
            label="交单条件"
xsh committed
136 137 138
            prop="bodgrp.rec.doctypcod"
          >
            <c-select
139
            disabled
xsh committed
140 141
              v-model="model.bodgrp.rec.doctypcod"
              style="width:100%"
nanrui committed
142
              placeholder="请选择交单条件"
xsh committed
143 144
            >
            <el-option
145
                  v-for="item in codes.doctypcod"
xsh committed
146 147 148 149 150
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
            </c-select>
xsh committed
151 152 153 154
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
155
          <el-form-item label="单据状态" prop="bodgrp.rec.docsta">
huangxin committed
156
            <c-select
157
            disabled
xsh committed
158
              v-model="model.bodgrp.rec.docsta"
huangxin committed
159
              style="width:100%"
nanrui committed
160
              placeholder="请选择单据状态"
huangxin committed
161 162
              :code="codes.docstabot"
            ></c-select>
xsh committed
163 164 165 166
          </el-form-item>
        </c-col>

        <c-col :span="24">
167
          <c-col :span="18">
nanrui committed
168
            <el-form-item label="单据期限" prop="bodgrp.rec.matdat">
xsh committed
169
              <c-date-picker
170
              disabled
xsh committed
171 172 173
                type="date"
                v-model="model.bodgrp.rec.matdat"
                style="width:100%"
nanrui committed
174
                placeholder="请选择单据到期日"
xsh committed
175 176 177 178
              ></c-date-picker>
            </el-form-item>
          </c-col>

179
          <c-col :span="5">
xsh committed
180 181 182
            <el-form-item
              label=""
              style="text-align: left"
183
              label-width="5px"
xsh committed
184 185 186
              prop="bodgrp.rec.matpercnt"
            >
              <c-input
187
              disabled
xsh committed
188 189 190 191 192
                v-model="model.bodgrp.rec.matpercnt"
                placeholder="0"
              ></c-input>
            </el-form-item>
          </c-col>
193 194

          <c-col :span="1">
hewei committed
195
            <el-form-item label="天" label-width="100%" >
196 197
            </el-form-item>
          </c-col>
xsh committed
198 199 200 201 202
        </c-col>

        <c-col :span="24">
          <el-form-item label="" prop="bodgrp.rec.matperbeg">
            <c-select
203
            disabled
xsh committed
204 205
              v-model="model.bodgrp.rec.matperbeg"
              style="width:100%"
wangna committed
206
              placeholder="请选择"
xsh committed
207 208
            >
            <el-option
209
                  v-for="item in codes.matperbeg"
xsh committed
210 211 212 213 214
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
            </c-select>
xsh committed
215 216 217
          </el-form-item>
        </c-col>

218
        <c-col :span="12">
nanrui committed
219
          <el-form-item label="收单日期" prop="bodgrp.rec.rcvdat">
xsh committed
220
            <c-date-picker
221
            disabled
xsh committed
222 223
              type="date"
              v-model="model.bodgrp.rec.rcvdat"
224
              style="width:100%"
nanrui committed
225
              placeholder="请选择收单日期"
xsh committed
226 227 228 229
            ></c-date-picker>
          </el-form-item>
        </c-col>

230
        <c-col :span="12">
nanrui committed
231 232
          <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
233 234 235 236 237
          </el-form-item>
        </c-col>
      </c-col>

      <!-- ====================右边======================= -->
LiRui committed
238
      <c-col :span="12" style="padding-left:20px;">
xsh committed
239
        <c-col :span="24">
nanrui committed
240
          <el-form-item label="收款人参考号" prop="bodgrp.drr.pts.ref">
xsh committed
241
            <c-input
242
            disabled
xsh committed
243 244
              v-model="model.bodgrp.drr.pts.ref"
              maxlength="16"
245
              style="width:100%"
wangna committed
246
              placeholder="请输入"
xsh committed
247 248 249 250 251
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
252
          <el-form-item label="收款人名称" prop="bodgrp.drr.pts.nam">
xsh committed
253
            <c-input
254
            disabled
xsh committed
255 256
              v-model="model.bodgrp.drr.pts.nam"
              maxlength="40"
wangna committed
257
              placeholder="请输入"
xsh committed
258 259 260 261 262
            ></c-input>
          </el-form-item>
        </c-col>

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

        <c-col :span="24">
nanrui committed
275
          <el-form-item label="代收行名称" prop="bodgrp.col.pts.nam">
xsh committed
276
            <c-input
277
            disabled
xsh committed
278 279
              v-model="model.bodgrp.col.pts.nam"
              maxlength="40"
wangna committed
280
              placeholder="请输入"
xsh committed
281 282 283 284 285
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
286
          <el-form-item label="付款人参考号" prop="bodgrp.dre.pts.ref">
xsh committed
287
            <c-input
288
            disabled
xsh committed
289 290
              v-model="model.bodgrp.dre.pts.ref"
              maxlength="16"
291
              style="width:100%"
wangna committed
292
              placeholder="请输入"
xsh committed
293 294 295 296 297
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
nanrui committed
298
          <el-form-item label="付款人名称" prop="bodgrp.dre.pts.nam">
xsh committed
299
            <c-input
300
            disabled
xsh committed
301 302
              v-model="model.bodgrp.dre.pts.nam"
              maxlength="40"
wangna committed
303
              placeholder="请输入"
xsh committed
304 305 306
            ></c-input>
          </el-form-item>
        </c-col>
307 308
      </c-col>
      </c-row>
xsh committed
309

310 311

    <c-row>
LiRui committed
312
    <c-col :span="12" style="padding-right:20px;">
313
      <c-col :span="24">
nanrui committed
314
          <el-form-item label="描述" prop="strinf">
315 316 317
            <c-input
              type="textarea"
              v-model="model.strinf"
huangxin committed
318 319
              maxlength="1750"
              :rows="10"
320
              show-word-limit
nanrui committed
321
              placeholder="请输入描述"
322
            ></c-input>
xsh committed
323 324
          </el-form-item>
        </c-col>
325
        </c-col>
LiRui committed
326 327
          <!-- 右边 -->
        <c-col :span="12" style="padding-left:20px;">
xsh committed
328
        <c-col :span="24">
LiRui committed
329
        <el-form-item label="" prop="sndmsg" >
nanrui committed
330
          <c-checkbox v-model="model.sndmsg">发送消息</c-checkbox>
huangxin committed
331
        </el-form-item>
xsh committed
332
        </c-col>
333 334
        </c-col>
    </c-row>
xsh committed
335 336 337 338
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
339
import commonProcess from "~/mixin/commonProcess";
xsh committed
340 341 342 343 344 345
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Botcan/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
346
  mixins: [commonProcess],
xsh committed
347
  data() {
huangxin committed
348 349
    return {
    };
xsh committed
350 351 352 353 354 355
  },
  methods: { ...Event },
  created: function() {},
};
</script>
<style></style>