| | |
| | | .select-model .body { |
| | | padding: 0 20px; |
| | | color: #333; |
| | | max-height: 70vh; |
| | | max-height: 72vh; |
| | | overflow-y: auto; |
| | | } |
| | | |
| | |
| | | </el-dialog> |
| | | </div> |
| | | <div class="select-model"> |
| | | <el-dialog :title="`销售${upDia==true?'修改':'新增'}`" :visible.sync="addDia" width="800px"> |
| | | <el-dialog :title="`销售${upDia==true?'修改':'新增'}`" :visible.sync="addDia" width="850px"> |
| | | <div class="body"> |
| | | <div class="head">基本信息</div> |
| | | <div class="content"> |
| | |
| | | </el-input> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="specifications" label="规格型号" width="200"> |
| | | <el-table-column prop="specifications" label="规格型号" width="180"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.specifications" size="small" clearable placeholder="请输入规格型号"></el-input> |
| | | </template> |
| | |
| | | <el-table-column prop="number" label="数量"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model.number="scope.row.number" size="small" |
| | | @change="scope.row.number = isNaN(scope.row.number)?0:scope.row.number" clearable |
| | | @change="(val)=>scope.row.number = isNaN(val)?null:val" clearable |
| | | placeholder="请输入"></el-input> |
| | | </template> |
| | | </el-table-column> |