Dogp.vue 1.52 KB
<template>
  <div class="eibs-tab">

    <c-col :span="24" style="padding-top: 20px" >
      <!-- Description of Goods -->

      <c-col :span="24">
        <c-ptap-commons  :cols="65" :rows="800" :minRows="30" :maxRows="800" :model="model"
                         @handleChange="lcrgodChange"
                         :extCodes="['ledgrp','blk']"  lastModel="lcrgod" title="Description of Goods(45A)">
        </c-ptap-commons>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Goods Code " prop="ledgrp.rec.stagod">
          <c-select
                  v-model="model.ledgrp.rec.stagod"
                  style="width: 100%"
                  placeholder=""
                  dbCode="GODCOD"
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="货物中文描述" prop="ledgrp.rec.goddspcn">
          <c-input
                  type="textarea"
                  v-model="model.ledgrp.rec.goddspcn"
                  :rows="1"
                  maxlength="100"
                  show-word-limit
                  placeholder=""
          ></c-input>
        </el-form-item>
      </c-col>

    </c-col>
  </div>
</template>
<script>

import event from "../event";
import commonDepend from "~/mixin/commonDepend";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event,commonDepend],
  data() {
    return {};
  },

  methods:{
    lcrgodChange(){
      this.customAddModify(this.model.ledgrp.blk,"lcrgod");
    }
  },
};
</script>