| | |
| | | <template> |
| | | <zt-dialog ref="dialog" column="3" :title="title" :stepMarker="stepMarker" @confirm="formSubmit"> |
| | | <el-form ref="dataForm" style="padding-top: 0" :inline="true" :disabled="dataForm.disabled" :model="dataForm" |
| | | label-width="120px" class="configChangeFormAuto"> |
| | | label-width="120px" class="configOutFormAuto"> |
| | | <div> |
| | | <el-form-item label-width="60px" label="编号:" style="width:100%;margin-bottom: -5px"> |
| | | <span>{{dataForm.configItemOutbound.code || '编号自动生成'}}</span> |
| | |
| | | placeholder="请选择申请日期"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </div> |
| | | <div class="el-configChangeDialog el-border-bottom"> |
| | | <div style="width: 120px;text-align: center;font-weight: 600"> |
| | | 出库原因 |
| | | </div> |
| | | <div class="el-border-left acceptDate" style="width: 90%;"> |
| | | <el-form-item style="width: 100%;padding-left:20px;margin:0;"> |
| | | <el-input v-if="stepMarker=='pzxck_first'" v-model="dataForm.configItemOutbound.outboundReason" placeholder="出库原因..."></el-input> |
| | | <span v-else>{{dataForm.configItemOutbound.outboundReason}}</span> |
| | | <el-input :disabled="!(dataForm.disabled && stepMarker=='pzxck_first')" type="textarea" :rows="2" v-model="dataForm.configItemOutbound.outboundReason" placeholder="出库原因..."></el-input> |
| | | <!-- <span v-else>{{dataForm.configItemOutbound.outboundReason}}</span>--> |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | | <el-form-item class="marginTopAndMarginBottom2" label="库类型" style="width: 99%"> |
| | | <zt-dict :disabled="stepMarker!=='pzxck_first'" v-model="dataForm.configItemOutbound.libraryType" :radio="true" dict="library_type"></zt-dict> |
| | | </el-form-item> |
| | | <div class="el-configChangeDialog el-border-bottom"> |
| | | <div style="width: 120px;text-align: center;font-weight: 600"> |
| | | 库类型 |
| | | </div> |
| | | <div style="width: calc(100% - 120px)" class="el-border-left"> |
| | | <el-form-item label-width="20px" style="width: 85%;margin-left: 20px"> |
| | | <zt-dict :disabled="stepMarker!=='pzxck_first'" v-model="dataForm.configItemOutbound.libraryType" :radio="true" dict="library_type"></zt-dict> |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | | <div class="el-configChangeDialog el-border-bottom"> |
| | | <div class="DFormWidth DAlign DHold"> |
| | |
| | | .configChangeContentWidth > .el-form-item.lastChild > .el-form-item__content { |
| | | width: calc(100% - 142px); |
| | | } |
| | | .configChangeFormAuto .acceptDate > .el-form-item > .el-form-item__content { |
| | | .configOutFormAuto .acceptDate > .el-form-item > .el-form-item__content { |
| | | width: 100%; |
| | | } |
| | | .configChangeFormAuto .marginTopAndMarginBottom { |
| | | .configOutFormAuto .marginTopAndMarginBottom { |
| | | margin-top: 10px !important; |
| | | margin-bottom: 0 !important; |
| | | } |
| | | |
| | | .configChangeFormAuto .marginTopAndMarginBottom2 { |
| | | .configOutFormAuto .marginTopAndMarginBottom2 { |
| | | margin-top: -10px !important; |
| | | margin-bottom: 0 !important; |
| | | } |
| | | .configOutFormAuto .el-textarea{ |
| | | vertical-align: middle |
| | | } |
| | | </style> |