盘点报废
This commit is contained in:
parent
b7f45c8aed
commit
78c1e28b5c
|
|
@ -13,7 +13,7 @@ export function equipmentTypeTree(data) {
|
||||||
//获取设备编号列表
|
//获取设备编号列表
|
||||||
export function getMachineListByCode(query) {
|
export function getMachineListByCode(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/material/base/machine/getMachineList',
|
url: '/base/machine/getMachineList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,7 @@
|
||||||
<el-table-column align="center" label="当前库存" prop="storageNum" />
|
<el-table-column align="center" label="当前库存" prop="storageNum" />
|
||||||
<el-table-column label="报废数量" prop="scrapNum" align="center">
|
<el-table-column label="报废数量" prop="scrapNum" align="center">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<template v-if="scope.row.manageType === '1'">
|
<template v-if="scope.row.manageType == '1'">
|
||||||
<el-input
|
<el-input
|
||||||
v-model.number="scope.row.scrapNum"
|
v-model.number="scope.row.scrapNum"
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
|
|
@ -179,7 +179,7 @@
|
||||||
width="200px"
|
width="200px"
|
||||||
>
|
>
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<template v-if="scope.row.manageType === '0'">
|
<template v-if="scope.row.manageType == '0'">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="scope.row.maCodeList"
|
v-model="scope.row.maCodeList"
|
||||||
placeholder="请选择设备编号"
|
placeholder="请选择设备编号"
|
||||||
|
|
@ -197,7 +197,7 @@
|
||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="scope.row.manageType === '1'">
|
<template v-else-if="scope.row.manageType == '1'">
|
||||||
<span>计数</span>
|
<span>计数</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
|
|
@ -577,7 +577,7 @@ export default {
|
||||||
this.$set(this.equipmentList[i], 'deviceCodeOptions', options)
|
this.$set(this.equipmentList[i], 'deviceCodeOptions', options)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log('xxxxxxxxxx', this.equipmentList[0].maCodeList)
|
console.log('xxxxxxxxxx', this.equipmentList)
|
||||||
// this.loading = false;
|
// this.loading = false;
|
||||||
})
|
})
|
||||||
// await this.projectInfoList();
|
// await this.projectInfoList();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue