Canp.vue 9.62 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
          >
nanrui committed
22
            <i class="el-icon-info" style="font-size:15px"></i>
23 24 25
          </c-button>
          </el-form-item>
        </c-col>
xsh committed
26
      <c-col :span="12">
nanrui committed
27
        <el-form-item label="简略信息" prop="bodgrp.rec.nam">
xsh committed
28
          <c-input
xsh committed
29
            disabled
xsh committed
30 31
            v-model="model.bodgrp.rec.nam"
            maxlength="40"
xsh committed
32
            style="width:88%"
nanrui committed
33
            placeholder="请输入简略信息"
xsh committed
34 35 36 37 38 39 40 41 42
          ></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
43
            <el-form-item label="托收金额" prop="bodgrp.cbs.max.cur">
xsh committed
44
              <c-select
45
              disabled
xsh committed
46 47 48
                v-model="model.bodgrp.cbs.max.cur"
                style="width:100%"
                placeholder="CUR"
xsh committed
49 50 51 52 53 54 55 56
              >
              <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
xsh committed
57 58 59 60 61 62
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item
              label=""
              style="text-align: left"
63
              label-width="5px"
xsh committed
64 65 66
              prop="bodgrp.cbs.max.amt"
            >
              <c-input
67
              disabled
xsh committed
68
                v-model="model.bodgrp.cbs.max.amt"
nanrui committed
69
                placeholder="请输入托收金额"
xsh committed
70 71 72 73 74 75 76
              ></c-input
            ></el-form-item>
          </c-col>
        </c-col>

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

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

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

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

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

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

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

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

206
        <c-col :span="12">
nanrui committed
207 208
          <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
209 210 211 212 213 214 215
          </el-form-item>
        </c-col>
      </c-col>

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

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

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

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

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

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

286 287 288 289

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

303
        <c-col :span="11" :offset="1">
xsh committed
304
        <c-col :span="24">
huangxin committed
305
        <el-form-item label="" prop="sndmsg">
nanrui committed
306
          <c-checkbox v-model="model.sndmsg">发送消息</c-checkbox>
huangxin committed
307
        </el-form-item>
xsh committed
308
        </c-col>
309 310
        </c-col>
    </c-row>
xsh committed
311 312 313 314
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
315
import commonProcess from "~/mixin/commonProcess";
xsh committed
316 317 318 319 320 321
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Botcan/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
322
  mixins: [commonProcess],
xsh committed
323
  data() {
huangxin committed
324 325
    return {
    };
xsh committed
326 327 328 329 330 331
  },
  methods: { ...Event },
  created: function() {},
};
</script>
<style></style>