|
@@ -46,7 +46,7 @@
|
|
|
align="center"
|
|
|
label="数量">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input-number v-model="scope.row.count" :disabled="display" :min="1" style="width: 140px;"/>
|
|
|
+ <el-input-number v-model="scope.row.count" :disabled="display" :min="0" :step="1" style="width: 140px;"/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -169,12 +169,13 @@
|
|
|
addMaterial (item) {
|
|
|
if (item) {
|
|
|
this.dataList.push({
|
|
|
- count: item.cnt,
|
|
|
+ count: 0,
|
|
|
materialId: item.materialId,
|
|
|
materialName: item.materialName,
|
|
|
notes: item.notes,
|
|
|
orgId: this.$store.state.user.orgId,
|
|
|
- unitName: item.unitName
|
|
|
+ unitName: item.unitName,
|
|
|
+ specifications: item.specifications
|
|
|
})
|
|
|
}
|
|
|
},
|