Brtdcrd.vue 2.08 KB
Newer Older
jianglong committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<template>
  <div class="eibs-tab">
    <c-row>
      <c-col :span="12">
        <c-row>
          <c-col :span="24">
            <el-form-item label="不符点">
              <c-input
                type="textarea"
                :disabled="model.bddgrp.blk.docdisflg ? false : true"
                :rows="6"
                v-model="model.bddgrp.blk.docdis"
                maxlength="65"
                show-word-limit
                placeholder="请输入不符点"
              ></c-input>
            </el-form-item>
          </c-col>
jianglong committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32
        </c-row>
        <el-form-item label="快递单号">
          <c-input
            type="textarea"
            :disabled="false"
            :rows="2"
            v-model="model.expmno"
            maxlength="120"
            show-word-limit
            placeholder="请输入单号"
          ></c-input>
        </el-form-item>
        <c-row>
          <c-col :span="24">
jianglong committed
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
            <c-istream-table
              :list="model.bdtp.docgrdm.docgrd"
              :columns="columns"
            >
            </c-istream-table>
          </c-col>
        </c-row>
      </c-col>

      <c-col :span="12">
        <c-row>
          <c-col :span="24">
            <div class="c-checkbox">
              <c-checkbox v-model="model.bddgrp.blk.docdisflg" @change="changed"
                >录入不符点</c-checkbox
              >
            </div>
          </c-col>
        </c-row>
      </c-col>
    </c-row>
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
58
import commonProcess from "~/mixin/commonProcess";
jianglong committed
59 60 61 62 63 64
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtdcr/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
65
  mixins: [commonProcess],
jianglong committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
  data() {
    return {
      columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
    };
  },
  methods: {
    ...Event,
    changed(e) {
      if (!e) {
        this.model.bddgrp.blk.docdis = "";
      }
    },
  },
  created: function () {},
};
</script>
<style>
.c-checkbox {
  text-align: center;
  margin: 10px;
  font-size: 16px;
}
</style>