基础信息-仓库

master
A0010407 1 year ago
parent b37f474fbc
commit 1cdf94475f

@ -119,35 +119,35 @@
<!-- 添加或修改仓库管理对话框 --> <!-- 添加或修改仓库管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="120px"> <el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-form-item label="仓库编码" prop="warehouseCode"> <el-form-item label="仓库编码" prop="warehouseCode" style="width:430px">
<el-input v-model="form.warehouseCode" placeholder="请输入仓库编码" /> <el-input v-model="form.warehouseCode" placeholder="请输入仓库编码" />
</el-form-item> </el-form-item>
<el-form-item label="仓库类别" prop="warehouseType"> <el-form-item label="仓库类别" prop="warehouseType" >
<el-select v-model="form.warehouseType" placeholder="请选择仓库类别" @change="$forceUpdate()" clearable> <el-select v-model="form.warehouseType" placeholder="请选择仓库类别" @change="$forceUpdate()" clearable style="width:310px">
<el-option v-for="item in warehouseTypeOptions" :key="item.warehouseType" :label="item.label" :value="item.warehouseType"></el-option> <el-option v-for="item in warehouseTypeOptions" :key="item.warehouseType" :label="item.label" :value="item.warehouseType"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="仓库名称" prop="warehouseName"> <el-form-item label="仓库名称" prop="warehouseName" style="width:430px">
<el-input v-model="form.warehouseName" placeholder="请输入仓库名称" /> <el-input v-model="form.warehouseName" placeholder="请输入仓库名称" />
</el-form-item> </el-form-item>
<el-form-item label="工厂编码" prop="factoryCode"> <el-form-item label="工厂编码" prop="factoryCode" style="width:430px">
<el-input v-model="form.factoryCode" placeholder="请输入工厂编码" /> <el-input v-model="form.factoryCode" placeholder="请输入工厂编码" />
</el-form-item> </el-form-item>
<el-form-item label="工厂名称" prop="factoryName"> <el-form-item label="工厂名称" prop="factoryName" style="width:430px">
<el-input v-model="form.factoryName" placeholder="请输入工厂名称" /> <el-input v-model="form.factoryName" placeholder="请输入工厂名称" />
</el-form-item> </el-form-item>
<el-form-item label="是否启用" prop="activeFlag"> <el-form-item label="是否启用" prop="activeFlag">
<el-select v-model="form.activeFlag" placeholder="请选择是否启用" @change="$forceUpdate()" clearable> <el-select v-model="form.activeFlag" placeholder="请选择是否启用" @change="$forceUpdate()" clearable style="width:310px">
<el-option v-for="item in options" :key="item.activeFlag" :label="item.label" :value="item.activeFlag"></el-option> <el-option v-for="item in options" :key="item.activeFlag" :label="item.label" :value="item.activeFlag"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="是否按线体入库" prop="lineFlag"> <el-form-item label="是否按线体入库" prop="lineFlag">
<el-select v-model="form.lineFlag" placeholder="请选择是否按照线体入库" @change="$forceUpdate()" clearable> <el-select v-model="form.lineFlag" placeholder="请选择是否按照线体入库" @change="$forceUpdate()" clearable style="width:310px">
<el-option v-for="item in lineFlagOptions" :key="item.lineFlag" :label="item.label" :value="item.lineFlag"></el-option> <el-option v-for="item in lineFlagOptions" :key="item.lineFlag" :label="item.label" :value="item.lineFlag"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="仓库类型" prop="warehouseType2"> <el-form-item label="仓库类型" prop="warehouseType2" >
<el-select v-model="form.warehouseType2" placeholder="请选择仓库类型" @change="$forceUpdate()" clearable> <el-select v-model="form.warehouseType2" placeholder="请选择仓库类型" @change="$forceUpdate()" clearable style="width:310px">
<el-option v-for="item in warehouseType2Options" :key="item.warehouseType2" :label="item.label" :value="item.warehouseType2"></el-option> <el-option v-for="item in warehouseType2Options" :key="item.warehouseType2" :label="item.label" :value="item.warehouseType2"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>

Loading…
Cancel
Save