Commit 732b999a authored by 高宇's avatar 高宇

1.设置三级菜单

parent 2688f785
...@@ -43,6 +43,15 @@ ...@@ -43,6 +43,15 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="lot" prop="lot">
<el-input
v-model="queryParams.lot"
placeholder="请输入lot"
clearable
size="small"
style="width: 150px"
/>
</el-form-item>
<el-form-item> <el-form-item>
<el-button <el-button
:class="commonField.queryClass" :class="commonField.queryClass"
...@@ -117,23 +126,33 @@ ...@@ -117,23 +126,33 @@
{{ scope.row.pn || '-' }} {{ scope.row.pn || '-' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="出入情况" prop="ioType" :show-overflow-tooltip="true" min-width="120"> <el-table-column label="出入情况" prop="ioType" :show-overflow-tooltip="true" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.ioType === '1'"></span> <span v-if="scope.row.ioType === '1'"></span>
<span v-else-if="scope.row.ioType === '2'"></span> <span v-else-if="scope.row.ioType === '2'"></span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="qty" prop="qty" :show-overflow-tooltip="true" min-width="120"> <el-table-column label="qty" prop="qty" :show-overflow-tooltip="true" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.qty || '-' }} {{ scope.row.qty || '-' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="rank" prop="rank" :show-overflow-tooltip="true" min-width="120"> <el-table-column label="rank" prop="rank" :show-overflow-tooltip="true" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.rank || '-' }} {{ scope.row.rank || '-' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="lot" prop="lot" :show-overflow-tooltip="true" min-width="100">
<template slot-scope="scope">
{{ scope.row.lot || '-' }}
</template>
</el-table-column>
<el-table-column label="location" prop="location" :show-overflow-tooltip="true" min-width="100">
<template slot-scope="scope">
{{ scope.row.location || '-' }}
</template>
</el-table-column>
<!-- <el-table-column label="申请人" prop="createBy" :show-overflow-tooltip="true">--> <!-- <el-table-column label="申请人" prop="createBy" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <span v-if="scope.row.ioType !=='1'">{{ scope.row.createName }}</span>--> <!-- <span v-if="scope.row.ioType !=='1'">{{ scope.row.createName }}</span>-->
...@@ -147,7 +166,7 @@ ...@@ -147,7 +166,7 @@
<!-- <span v-else>-</span>--> <!-- <span v-else>-</span>-->
<!-- </template>--> <!-- </template>-->
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column label="创建人" prop="updateBy" :show-overflow-tooltip="true" min-width="140"> <el-table-column label="创建人" prop="updateBy" :show-overflow-tooltip="true" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.createName || '-' }} {{ scope.row.createName || '-' }}
</template> </template>
...@@ -238,7 +257,21 @@ ...@@ -238,7 +257,21 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="cj:" prop="cj"> <el-form-item label="cj:" prop="cj">
<span>{{ getManufacturerLabel(singleDetails.cj) || '-' }}</span> <span>{{getManufacturerLabel(singleDetails.cj) || '-' }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="lot:" prop="lot">
<span>{{ singleDetails.lot || '-' }}</span>
<!-- <el-input v-model.trim="singleDetails.ioType" :readonly="true" />-->
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="location:" prop="location">
<span>{{ singleDetails.location || '-' }}</span>
<!-- <el-input v-model.trim="singleDetails.ioType" :readonly="true" />-->
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment