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