feat: 修复

演示数据2.0
chenhc 6 months ago
parent 1555f7a1d4
commit fdc5fd4567

@ -12,15 +12,17 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item class="query-form-item" label="资产分类:" style="width: 91%"> <el-form-item class="query-form-item" label="资产分类:" style="width: 91%">
<el-select v-model="formData.assetType" style="width: 100%" placeholder="请选择资产分类" > <el-input :min="0" v-model="formData.assetType" placeholder="请选择资产分类" style="width: 90%"
<el-option clearable></el-input>
v-for="item in dict.type.device_source_type" <!-- <el-select v-model="formData.assetType" style="width: 100%" placeholder="请选择资产分类" >-->
:key="item.value" <!-- <el-option-->
:label="item.label" <!-- v-for="item in dict.type.device_source_type"-->
:value="item.value"> <!-- :key="item.value"-->
<span style="float: left">{{ item.label }}</span> <!-- :label="item.label"-->
</el-option> <!-- :value="item.value">-->
</el-select> <!-- <span style="float: left">{{ item.label }}</span>-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@ -55,28 +57,32 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item class="query-form-item" label="取得方式:" style="width: 91%"> <el-form-item class="query-form-item" label="取得方式:" style="width: 91%">
<el-select v-model="formData.acquisitionMethod" style="width: 100%" placeholder="请选择取得方式" > <el-input :min="0" v-model="formData.acquisitionMethod" placeholder="请选择取得方式" style="width: 90%"
<el-option clearable></el-input>
v-for="item in dict.type.device_source_type" <!-- <el-select v-model="formData.acquisitionMethod" style="width: 100%" placeholder="请选择取得方式" >-->
:key="item.value" <!-- <el-option-->
:label="item.label" <!-- v-for="item in dict.type.device_source_type"-->
:value="item.value"> <!-- :key="item.value"-->
<span style="float: left">{{ item.label }}</span> <!-- :label="item.label"-->
</el-option> <!-- :value="item.value">-->
</el-select> <!-- <span style="float: left">{{ item.label }}</span>-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item class="query-form-item" label="用途:" style="width: 91%"> <el-form-item class="query-form-item" label="用途:" style="width: 91%">
<el-select v-model="formData.purpose" style="width: 100%" placeholder="请选择用途" > <el-input :min="0" v-model="formData.purpose" placeholder="请选择用途" style="width: 90%"
<el-option clearable></el-input>
v-for="item in dict.type.device_source_type" <!-- <el-select v-model="formData.purpose" style="width: 100%" placeholder="请选择用途" >-->
:key="item.value" <!-- <el-option-->
:label="item.label" <!-- v-for="item in dict.type.device_source_type"-->
:value="item.value"> <!-- :key="item.value"-->
<span style="float: left">{{ item.label }}</span> <!-- :label="item.label"-->
</el-option> <!-- :value="item.value">-->
</el-select> <!-- <span style="float: left">{{ item.label }}</span>-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -101,15 +107,18 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item class="query-form-item" label="存储仓库:" style="width: 91%"> <el-form-item class="query-form-item" label="存储仓库:" style="width: 91%">
<el-select v-model="formData.purpose" style="width: 100%" placeholder="请选择存储仓库" > <el-input :min="0" v-model="formData.invCode" placeholder="请选择存储仓库" style="width: 90%"
<el-option clearable></el-input>
v-for="item in dict.type.device_source_type" <!-- </el-form-item>-->
:key="item.value" <!-- <el-select v-model="formData.invCode" style="width: 100%" placeholder="请选择存储仓库" >-->
:label="item.label" <!-- <el-option-->
:value="item.value"> <!-- v-for="item in dict.type.device_source_type"-->
<span style="float: left">{{ item.label }}</span> <!-- :key="item.value"-->
</el-option> <!-- :label="item.label"-->
</el-select> <!-- :value="item.value">-->
<!-- <span style="float: left">{{ item.label }}</span>-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -197,18 +206,20 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="使用人:"> <el-form-item label="使用人:">
<el-select v-model="formData.endUser" <el-input v-model="formData.endUser" placeholder="请输入使用人" style="width: 90%"
placeholder="请输入使用人" clearable></el-input>
clearable="true" <!-- <el-select v-model="formData.endUser"-->
style="width: 90%" <!-- placeholder="请输入使用人"-->
> <!-- clearable="true"-->
<el-option v-for="item in userList" <!-- style="width: 90%"-->
:key="item.employeeName" <!-- >-->
:label="item.employeeName" <!-- <el-option v-for="item in userList"-->
:value="item.userId"> <!-- :key="item.employeeName"-->
<span>{{ item.employeeName }}</span> <!-- :label="item.employeeName"-->
</el-option> <!-- :value="item.userId">-->
</el-select> <!-- <span>{{ item.employeeName }}</span>-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

@ -12,28 +12,32 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item class="query-form-item" label="资产品名:" style="width: 91%"> <el-form-item class="query-form-item" label="资产品名:" style="width: 91%">
<el-select v-model="formData.assetName" style="width: 100%" placeholder="请选择资产品名" > <el-input v-model="formData.assetName" placeholder="资产品名" style="width: 90%"
<el-option clearable></el-input>
v-for="item in dict.type.device_source_type" <!-- <el-select v-model="formData.assetName" style="width: 100%" placeholder="请选择资产品名" >-->
:key="item.value" <!-- <el-option-->
:label="item.label" <!-- v-for="item in dict.type.device_source_type"-->
:value="item.value"> <!-- :key="item.value"-->
<span style="float: left">{{ item.label }}</span> <!-- :label="item.label"-->
</el-option> <!-- :value="item.value">-->
</el-select> <!-- <span style="float: left">{{ item.label }}</span>-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item class="query-form-item" label="资产备用类型:" style="width: 91%"> <el-form-item class="query-form-item" label="资产备用类型:" style="width: 91%">
<el-select v-model="formData.assetReserveType" style="width: 100%" placeholder="请选择资产备用类型" > <el-input v-model="formData.assetReserveType" placeholder="请选择资产备用类型" style="width: 90%"
<el-option clearable></el-input>
v-for="item in dict.type.device_source_type" <!-- <el-select v-model="formData.assetReserveType" style="width: 100%" placeholder="请选择资产备用类型" >-->
:key="item.value" <!-- <el-option-->
:label="item.label" <!-- v-for="item in dict.type.device_source_type"-->
:value="item.value"> <!-- :key="item.value"-->
<span style="float: left">{{ item.label }}</span> <!-- :label="item.label"-->
</el-option> <!-- :value="item.value">-->
</el-select> <!-- <span style="float: left">{{ item.label }}</span>-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -122,26 +126,30 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item class="query-form-item" label="管理人:" style="width: 91%"> <el-form-item class="query-form-item" label="管理人:" style="width: 91%">
<el-select v-model="formData.managerUser" style="width: 100%" placeholder="请选择管理人" > <el-input v-model="formData.managerUser" placeholder="请选择管理人" style="width: 90%"
<el-option v-for="item in userList" clearable></el-input>
:key="item.employeeName" <!-- <el-select v-model="formData.managerUser" style="width: 100%" placeholder="请选择管理人" >-->
:label="item.employeeName" <!-- <el-option v-for="item in userList"-->
:value="item.userId"> <!-- :key="item.employeeName"-->
<span>{{ item.employeeName }}</span> <!-- :label="item.employeeName"-->
</el-option> <!-- :value="item.userId">-->
</el-select> <!-- <span>{{ item.employeeName }}</span>-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item class="query-form-item" label="审核人:" style="width: 91%"> <el-form-item class="query-form-item" label="审核人:" style="width: 91%">
<el-select v-model="formData.approveUser" style="width: 100%" placeholder="请选择审核人" > <el-input v-model="formData.approveUser" placeholder="请选择审核人" style="width: 90%"
<el-option v-for="item in userList" clearable></el-input>
:key="item.employeeName" <!-- <el-select v-model="formData.approveUser" style="width: 100%" placeholder="请选择审核人" >-->
:label="item.employeeName" <!-- <el-option v-for="item in userList"-->
:value="item.userId"> <!-- :key="item.employeeName"-->
<span>{{ item.employeeName }}</span> <!-- :label="item.employeeName"-->
</el-option> <!-- :value="item.userId">-->
</el-select> <!-- <span>{{ item.employeeName }}</span>-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

Loading…
Cancel
Save