Commit 81d8474f by lixiaomin

规格备注

parent fdc97ad5
......@@ -21,8 +21,8 @@
</el-table-column>
<el-table-column label="规格名称" align="center" prop="name" />
<el-table-column label="规格编码" align="center" prop="code" />
<el-table-column label="备注" align="center" prop="remarks" />
<el-table-column label="原料备注" align="center" prop="remark" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="原料备注" align="center" prop="materialRemark" />
<el-table-column label="选项" align="center" prop="specRules">
<template slot-scope="scope">
<el-tag style="margin-right:10px;" v-for="item in scope.row.specRules" :key="item.id">
......
......@@ -46,7 +46,7 @@
<span v-else>停用</span>
</template>
</el-table-column>
<el-table-column label="原料备注" width="180" align="center" prop="remark"/>
<el-table-column label="原料备注" width="180" align="center" prop="materialRemark"/>
<el-table-column label="操作" width="200" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
......@@ -75,12 +75,12 @@
<el-form-item label="选项" prop="specRules">
<SpecsSelect :initData="form.specRules" ref="specsSelect" />
</el-form-item>
<el-form-item label="备注" prop="remarks">
<el-input v-model="form.remarks" type="textarea" placeholder="请输入内容" maxlength="500" show-word-limit/>
</el-form-item>
<el-form-item label="原料备注" prop="remark">
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" maxlength="500" show-word-limit/>
</el-form-item>
<el-form-item label="原料备注" prop="materialRemark">
<el-input v-model="form.materialRemark" type="textarea" placeholder="请输入内容" maxlength="500" show-word-limit/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm" v-hasPermi="['system:spec:edit']">确 定</el-button>
......@@ -198,12 +198,6 @@ export default {
this.resetForm("queryForm");
this.handleQuery();
},
// 多选框选中数据
handleSelectionChange(selection) {
this.ids = selection.map((item) => item.id);
this.single = selection.length !== 1;
this.multiple = !selection.length;
},
/** 新增按钮操作 */
handleAdd() {
this.reset();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment