仓库可以输入配件规格
This commit is contained in:
parent
77462a2267
commit
34e37194a6
@ -107,7 +107,13 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="商品名称" align="center" prop="name" width="200"/>
|
<el-table-column label="商品名称" align="center" prop="name" width="200"/>
|
||||||
<el-table-column label="规格" align="center" width="180" prop="model"/>
|
<el-table-column label="规格" align="center" width="180" prop="model">
|
||||||
|
<div class="item" slot-scope="scope">
|
||||||
|
<el-input @blur="save(scope.row)" class="item__input" v-model="scope.row.model"
|
||||||
|
placeholder="请输入规格"></el-input>
|
||||||
|
<span class="item__txt">{{ scope.row.model }}</span>
|
||||||
|
</div>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="商品编码" align="center" width="180" prop="code">
|
<el-table-column label="商品编码" align="center" width="180" prop="code">
|
||||||
<div class="item" slot-scope="scope">
|
<div class="item" slot-scope="scope">
|
||||||
<el-input @blur="save(scope.row)" class="item__input" v-model="scope.row.code"
|
<el-input @blur="save(scope.row)" class="item__input" v-model="scope.row.code"
|
||||||
@ -211,7 +217,7 @@ export default {
|
|||||||
// 保存进入编辑的cell
|
// 保存进入编辑的cell
|
||||||
clickCellMap: {},
|
clickCellMap: {},
|
||||||
// 需要编辑的属性
|
// 需要编辑的属性
|
||||||
editProp: ['warehouse', 'count', 'newPrice', 'remark', 'code', 'waresCount'],
|
editProp: ['warehouse', 'count', 'newPrice', 'remark', 'code', 'waresCount', 'model'],
|
||||||
remark: null,
|
remark: null,
|
||||||
tableKey: 0,
|
tableKey: 0,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user