Payp.vue 7.88 KB
Newer Older
zhengxiaokui committed
1 2
<template>
  <div class="eibs-tab">
zhengxiaokui committed
3 4 5
    <c-row>
      <!-- <c-col :span="22" :offset="1"> -->
      <c-col :span="12">
zhengxiaokui committed
6
        <el-form-item label="信用证参考号" prop="didgrp.rec.ownref">
zhengxiaokui committed
7
          <c-input
zhengxiaokui committed
8 9 10
            v-model="model.didgrp.rec.ownref"
            maxlength="16"
            placeholder="请输入参考号"
zhengxiaokui committed
11 12 13 14
          ></c-input>
        </el-form-item>
      </c-col>

zhengxiaokui committed
15 16 17 18 19 20 21 22
      <c-amtpanl
        :model="model"
        :message="{
          title: '信用证余额',
          cur: 'didgrp.cbs.opn1.cur',
          amt: 'didgrp.cbs.opn1.amt',
        }"
      ></c-amtpanl>
zhengxiaokui committed
23 24 25

      <c-col :span="12">
        <el-form-item label="单据参考号" prop="bddgrp.rec.ownref">
zhengxiaokui committed
26
          <c-input
zhengxiaokui committed
27
            v-model="model.bddgrp.rec.ownref"
zhengxiaokui committed
28
            maxlength="16"
zhengxiaokui committed
29
            placeholder="请输入单据参考号"
zhengxiaokui committed
30
          ></c-input>
zhengxiaokui committed
31
        </el-form-item>
zhengxiaokui committed
32 33 34
      </c-col>

      <c-col :span="12">
zhengxiaokui committed
35
        <el-form-item label="摘要" prop="bddgrp.rec.nam">
zhengxiaokui committed
36
          <c-input
zhengxiaokui committed
37 38 39
            v-model="model.bddgrp.rec.nam"
            maxlength="40"
            placeholder="请输入摘要"
zhengxiaokui committed
40
          ></c-input>
zhengxiaokui committed
41
        </el-form-item>
zhengxiaokui committed
42
      </c-col>
zhengxiaokui committed
43
    </c-row>
zhengxiaokui committed
44

zhengxiaokui committed
45 46 47
    <c-row>
      <c-col :span="12">
        <c-row>
zhengxiaokui committed
48 49 50 51 52 53 54 55 56
          <c-amtpanl
            :model="model"
            :span="24"
            :message="{
              title: '单据金额',
              cur: 'bddgrp.cbs.max.cur',
              amt: 'bddgrp.cbs.max.amt',
            }"
          ></c-amtpanl>
zhengxiaokui committed
57

zhengxiaokui committed
58 59 60 61 62 63 64 65 66
          <c-amtpanl
            :model="model"
            :span="24"
            :message="{
              title: '单据余额',
              cur: 'bddgrp.cbs.opn1.cur',
              amt: 'bddgrp.cbs.opn1.amt',
            }"
          ></c-amtpanl>
zhengxiaokui committed
67 68 69 70 71 72 73 74 75 76 77
        </c-row>
      </c-col>

      <c-col :span="12">
        <m-ptsmsg
          :model="model"
          :argadr="{ title: '申请人', url: 'bddgrp.apl.pts' }"
        ></m-ptsmsg>
      </c-col>
    </c-row>

zhengxiaokui committed
78
    <c-row>
zhengxiaokui committed
79
      <c-col :span="12">
zhengxiaokui committed
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
        <c-row>
          <c-col :span="24">
            <el-form-item label="单据到期日" prop="bddgrp.rec.matdat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.matdat"
                style="width: 100%"
                placeholder="请选择单据到期日"
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="到期日" prop="didgrp.rec.expdat">
              <c-date-picker
                type="date"
                v-model="model.didgrp.rec.expdat"
                style="width: 100%"
                placeholder="请选择到期日"
              ></c-date-picker>
            </el-form-item>
          </c-col>
        </c-row>
      </c-col>

      <c-col :span="12">
        <m-ptsmsg
          :model="model"
zhengxiaokui committed
108
          :argadr="{ title: '受益人', url: 'bddgrp.ben.pts' }"
zhengxiaokui committed
109
        ></m-ptsmsg>
zhengxiaokui committed
110
      </c-col>
zhengxiaokui committed
111
    </c-row>
zhengxiaokui committed
112

zhengxiaokui committed
113
    <c-row>
zhengxiaokui committed
114
      <c-col :span="12">
zhengxiaokui committed
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
        <c-row>
          <c-col :span="24">
            <el-form-item label="单据类型" prop="bddgrp.rec.docflg">
              <c-select
                v-model="model.bddgrp.rec.docflg"
                style="width: 100%"
                placeholder="请选择单据类型"
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="单据状态" prop="bddgrp.rec.docsta">
              <c-select
                v-model="model.bddgrp.rec.docsta"
                style="width: 100%"
                placeholder="请选择单据状态"
              >
              </c-select>
            </el-form-item>
          </c-col>
        </c-row>
zhengxiaokui committed
137 138 139
      </c-col>

      <c-col :span="12">
zhengxiaokui committed
140 141 142 143
        <m-ptsmsg
          :model="model"
          :argadr="{ title: '交单行', url: 'bddgrp.prb.pts' }"
        ></m-ptsmsg>
zhengxiaokui committed
144
      </c-col>
zhengxiaokui committed
145
    </c-row>
zhengxiaokui committed
146

zhengxiaokui committed
147
    <c-row>
zhengxiaokui committed
148
      <c-col :span="12">
zhengxiaokui committed
149 150 151 152 153 154 155 156 157 158 159
        <c-row>
          <c-col :span="24">
            <el-form-item label="单据类型" prop="bddgrp.rec.docflg">
              <c-select
                v-model="model.bddgrp.rec.docflg"
                style="width: 100%"
                placeholder="请选择单据类型"
              >
              </c-select>
            </el-form-item>
          </c-col>
zhengxiaokui committed
160

zhengxiaokui committed
161 162 163 164 165 166 167 168 169 170
          <c-col :span="24">
            <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.rcvdat"
                style="width: 100%"
                placeholder="请选择到单日期"
              ></c-date-picker>
            </el-form-item>
          </c-col>
zhengxiaokui committed
171

zhengxiaokui committed
172 173 174 175 176 177 178 179 180 181
          <c-col :span="24">
            <el-form-item label="交单日期" prop="bddgrp.rec.predat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.predat"
                style="width: 100%"
                placeholder="请选择交单日期"
              ></c-date-picker>
            </el-form-item>
          </c-col>
zhengxiaokui committed
182

zhengxiaokui committed
183 184 185 186 187 188 189 190 191
          <c-amtpanl
            :span="24"
            :model="model"
            :message="{
              title: '承兑金额',
              cur: 'setmod.doccur',
              amt: 'setmod.docamt',
            }"
          ></c-amtpanl>
zhengxiaokui committed
192

zhengxiaokui committed
193 194 195 196 197 198 199 200 201
          <c-amtpanl
            :model="model"
            :span="24"
            :message="{
              title: '单据金额',
              cur: 'bddgrp.cbs.opn2.cur',
              amt: 'aamset.utlamt',
            }"
          ></c-amtpanl>
zhengxiaokui committed
202
        </c-row>
zhengxiaokui committed
203 204 205
      </c-col>

      <c-col :span="12">
zhengxiaokui committed
206 207 208 209 210 211 212 213
        <m-ptsadr
          :model="model"
          :argadr="{
            title: '交单行',
            url: 'bddgrp.prb.pts',
            rol: 'bddgrp.rec.docprbrol',
          }"
        ></m-ptsadr>
zhengxiaokui committed
214
      </c-col>
zhengxiaokui committed
215
    </c-row>
zhengxiaokui committed
216

zhengxiaokui committed
217
    <c-row>
zhengxiaokui committed
218
      <c-col :span="12">
zhengxiaokui committed
219
        <c-row>
zhengxiaokui committed
220 221
          <c-amtpanl
            :model="model"
zhengxiaokui committed
222
            :span="24"
zhengxiaokui committed
223 224 225 226 227 228
            :message="{
              title: '附加金额',
              cur: 'bddgrp.cbs.opn2.cur',
              amt: 'aamset.utlamt2',
            }"
          ></c-amtpanl>
zhengxiaokui committed
229

zhengxiaokui committed
230 231 232 233 234 235 236 237 238 239
          <c-col :span="24">
            <el-form-item label="发送承付电" prop="sftmt">
              <c-select
                v-model="model.sftmt"
                style="width: 100%"
                placeholder="请选择发送承付电"
              >
              </c-select>
            </el-form-item>
          </c-col>
zhengxiaokui committed
240

zhengxiaokui committed
241 242 243 244
          <c-col :span="24">
            <el-form-item label="TAG72">
              <c-input
                type="textarea"
zhengxiaokui committed
245
                :rows="5"
zhengxiaokui committed
246 247 248 249 250 251 252 253
                v-model="model.bddgrp.tag72add"
                maxlength="50"
                show-word-limit
                placeholder="请输入TAG72"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>
zhengxiaokui committed
254 255 256
      </c-col>

      <c-col :span="12">
zhengxiaokui committed
257 258 259
        <m-ptsadr
          :model="model"
          :argadr="{
zhengxiaokui committed
260
            title: '付款人',
zhengxiaokui committed
261 262 263 264
            url: 'bdtp.oth.pts',
            rol: 'bddgrp.rec.payrol',
          }"
        ></m-ptsadr>
zhengxiaokui committed
265 266
      </c-col>
    </c-row>
zhengxiaokui committed
267 268 269
  </div>
</template>
<script>
zhengxiaokui committed
270
import Api from "~/service/Api";
zhengxiaokui committed
271
import CommonProcess from "~/mixin/CommonProcess";
zhengxiaokui committed
272 273
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtudp/Event";
zhengxiaokui committed
274
import Ptsmsg from "~/views/Public/Ptsmsg";
zhengxiaokui committed
275
import Ptsadr from "~/views/Public/Ptsadr";
zhengxiaokui committed
276
import Amtpanl from "~/views/Public/Amtpanl";
zhengxiaokui committed
277 278

export default {
zhengxiaokui committed
279 280
  components: {
    "m-ptsmsg": Ptsmsg,
zhengxiaokui committed
281
    "m-ptsadr": Ptsadr,
zhengxiaokui committed
282
    "c-amtpanl": Amtpanl,
zhengxiaokui committed
283
  },
zhengxiaokui committed
284 285 286 287 288 289
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {};
  },
zhengxiaokui committed
290 291 292 293 294 295 296 297 298 299
  methods: {
    ...Event,
    nom1CurEvent() {
      this.executeDefault("didgrp.cbs.opn1.cur").then((res) => {
        if ((res.respCode = SUCCESS)) {
          Utils.copyValueFromVO(this.model, res.data);
        }
      });
    },
  },
zhengxiaokui committed
300 301
  created: function () {},
};
zhengxiaokui committed
302 303 304
</script>
<style>
</style>