<template> <div class="eibs-tab"> <!-- ==================左边================ --> <c-col :span="12" style="padding-right: 20px"> <c-col :span="24"> <el-form-item :label="(model.dedgrp.rec.mytype=='H')?'分批装运货物': (model.dedgrp.rec.mytype=='F'?'分次提供服务':'分批装运货物/分次提供服务标识')" prop="dedgrp.rec.shppar"> <c-select @change="OnShppar" v-model="model.dedgrp.rec.shppar" dbCode="ELC011" style="width:100%" placeholder="请输入"> </c-select> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw"> <c-select @change="OnFqzytgfw" :disabled="model.dedgrp.rec.shppar!='ALWD'" v-model="model.dedgrp.rec.fqzytgfw" dbCode="ELC011" style="width:100%" placeholder="请输入"> </c-select> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="分期装运/提供服务约定" prop="dedgrp.rec.fqtime"> <c-input type="textarea" :disabled="model.dedgrp.rec.fqzytgfw!='ALWD'" v-model="model.dedgrp.rec.fqtime" maxlength="210" show-word-limit placeholder="请输入"></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="货物运输或交货方式/服务方式" prop="dedgrp.rec.tratyp"> <c-select @change="OnTratyp" :disabled="model.dedgrp.rec.mytype=='F'" v-model="model.dedgrp.rec.tratyp" dbCode="TRATYP" style="width:100%" placeholder="请输入"> </c-select> </el-form-item> </c-col> <c-col :span="24"> <el-form-item :label="(model.dedgrp.rec.mytype=='H')?'手输运输方式': (model.dedgrp.rec.mytype=='F'?'服务提供方式':'手输运输方式/服务提供方式')" prop="dedgrp.rec.sdsrfs"> <c-input :disabled="!(this.model.dedgrp.rec.tratyp=='08' || this.model.dedgrp.rec.mytype=='F')" type="textarea" v-model="model.dedgrp.rec.sdsrfs" maxlength="175" show-word-limit placeholder="请输入"></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item :label="(model.dedgrp.rec.mytype=='H')?'货物类型': (model.dedgrp.rec.mytype=='F'?'服务类型':'货物/服务类型')" prop="dedgrp.rec.stagod"> <c-select v-model="model.dedgrp.rec.stagod" dbCode="GODCOD" style="width:100%" placeholder="请输入"> </c-select> </el-form-item> </c-col> </c-col> <!-- ============右边================= --> <c-col :span="12" style="padding-left: 20px"> <c-col :span="24"> <el-form-item label="转运" prop="dedgrp.rec.shptrs"> <c-select :disabled="model.dedgrp.rec.mytype=='F'" v-model="model.dedgrp.rec.shptrs" dbCode="ELC011" style="width:100%" placeholder="请输入"> </c-select> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="货物装运地(港)" prop="dedgrp.rec.shpfro"> <c-input :disabled="model.dedgrp.rec.mytype=='F'" type="textarea" v-model="model.dedgrp.rec.shpfro" maxlength="210" :rows="3" show-word-limit placeholder="请输入"></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="货物目的地/交货地(港)" prop="dedgrp.rec.shpto"> <c-input :disabled="model.dedgrp.rec.mytype=='F'" type="textarea" v-model="model.dedgrp.rec.shpto" maxlength="210" :rows="3" show-word-limit placeholder="请输入"></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="服务提供地点" prop="dedgrp.rec.shppro"> <c-input :disabled="model.dedgrp.rec.mytype=='H'" type="textarea" v-model="model.dedgrp.rec.shppro" maxlength="210" :rows="3" show-word-limit placeholder="请输入"></c-input> </el-form-item> </c-col> </c-col> </div> </template> <script> import event from "../event"; export default { inject: ["root"], props: ["model", "codes"], mixins: [event], data() { return {}; }, created() {} }; </script> <style> </style>