领用单页面优化

yangwl
wws 10 months ago
parent 9a7160e015
commit da87612f49

@ -123,6 +123,7 @@
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
v-if="false"
type="success" type="success"
plain plain
icon="el-icon-edit" icon="el-icon-edit"
@ -176,24 +177,24 @@
:index="indexMethod" :index="indexMethod"
label="序号" label="序号"
/> />
<el-table-column width="200" label="出库单号" align="center" prop="applyCode" />
<el-table-column <el-table-column
label="备品备件编码" label="备品备件编码"
align="center" align="center"
prop="spareCode" prop="spareCode"
width="120" width="200"
/> />
<el-table-column <el-table-column
label="备品备件名称" label="备品备件名称"
align="center" align="center"
prop="spareName" prop="spareName"
width="120" width="200"
/> />
<el-table-column <el-table-column
label="使用设备" label="使用设备"
align="center" align="center"
prop="spareUseEquipment" prop="spareUseEquipment"
/> />
<el-table-column label="出库单号" align="center" prop="applyCode" />
<el-table-column <el-table-column
label="规格型号" label="规格型号"
align="center" align="center"
@ -232,6 +233,7 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
v-if="false"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"

@ -111,7 +111,7 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="设备名称" prop="equipmentCode"> <el-form-item label="设备名称" prop="equipmentName">
<el-input <el-input
v-model="queryParams.equipmentName" v-model="queryParams.equipmentName"
placeholder="请输入设备名称" placeholder="请输入设备名称"
@ -791,6 +791,7 @@ export default {
const orderId = row.orderId || this.ids const orderId = row.orderId || this.ids
getInspectionWork(orderId).then(response => { getInspectionWork(orderId).then(response => {
this.workVO = response.data; this.workVO = response.data;
console.log(this.workVO)
for (let i = 0; i < this.workVO.detailList.length; i++) { for (let i = 0; i < this.workVO.detailList.length; i++) {
for (let j = 0; j < this.workVO.detailList[i].standardList.length; j++) { for (let j = 0; j < this.workVO.detailList[i].standardList.length; j++) {
this.workVO.detailList[i].standardList[j].itemName = this.workVO.detailList[i].itemName; this.workVO.detailList[i].standardList[j].itemName = this.workVO.detailList[i].itemName;

Loading…
Cancel
Save