|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="ele-body">
|
|
<div class="ele-body">
|
|
|
<BOMSearch @search="reload" :statusOpt="statusOpt" />
|
|
<BOMSearch @search="reload" :statusOpt="statusOpt" />
|
|
|
|
|
+
|
|
|
<ele-pro-table
|
|
<ele-pro-table
|
|
|
ref="table"
|
|
ref="table"
|
|
|
:columns="columns"
|
|
:columns="columns"
|
|
@@ -24,9 +25,11 @@
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
v-model.number="attributeData.baseCount"
|
|
v-model.number="attributeData.baseCount"
|
|
|
>
|
|
>
|
|
|
|
|
+ <template #append> {{ attributeData.category && attributeData.category.measuringUnit }}</template>
|
|
|
</el-input>
|
|
</el-input>
|
|
|
- <DictSelection dictName="计量单位" v-model="attributeData.unit"
|
|
|
|
|
- /></div>
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -310,6 +313,7 @@
|
|
|
methods: {
|
|
methods: {
|
|
|
/* 表格数据源 */
|
|
/* 表格数据源 */
|
|
|
datasource({ where, page, limit }) {
|
|
datasource({ where, page, limit }) {
|
|
|
|
|
+ console.log('yyyyyy', this.attributeData)
|
|
|
return getBomPageCategoryId({
|
|
return getBomPageCategoryId({
|
|
|
...where,
|
|
...where,
|
|
|
pageNum: page,
|
|
pageNum: page,
|