修复样式遮挡
This commit is contained in:
parent
5f4b1ec33f
commit
3554bee2b3
@ -597,7 +597,7 @@ export default {
|
|||||||
listAllIngredient({ type: this.ingType }).then((res) => {
|
listAllIngredient({ type: this.ingType }).then((res) => {
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "修改菜品";
|
this.title = "修改菜品";
|
||||||
this.oriDataList = res.rows;
|
this.oriDataList = res.rows.concat(this.form.igdList);
|
||||||
this.ingDataList = this.oriDataList.reduce((arr, cur) => {
|
this.ingDataList = this.oriDataList.reduce((arr, cur) => {
|
||||||
if (!arr.some(({ key }) => key === cur.id)) {
|
if (!arr.some(({ key }) => key === cur.id)) {
|
||||||
arr.push({
|
arr.push({
|
||||||
@ -606,7 +606,7 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
return arr;
|
return arr;
|
||||||
}, this.selIngList.slice());
|
}, []);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -675,7 +675,13 @@ export default {
|
|||||||
.catch(function () {});
|
.catch(function () {});
|
||||||
},
|
},
|
||||||
handleChange(value, direction, movedKeys) {
|
handleChange(value, direction, movedKeys) {
|
||||||
// console.log({oriIgdList: this.oriDataList, selIgdList: this.form.igdList});
|
console.log({
|
||||||
|
oriIgdList: this.oriDataList,
|
||||||
|
selIgdList: this.form.igdList,
|
||||||
|
ingDataList: this.ingDataList,
|
||||||
|
value,
|
||||||
|
ingType: this.ingType,
|
||||||
|
});
|
||||||
const newTableData = [];
|
const newTableData = [];
|
||||||
this.selRec = [];
|
this.selRec = [];
|
||||||
this.selNotRec = [];
|
this.selNotRec = [];
|
||||||
@ -719,7 +725,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleOnTypeChange(value) {
|
handleOnTypeChange(value) {
|
||||||
listAllIngredient({ type: value }).then((res) => {
|
listAllIngredient({ type: value }).then((res) => {
|
||||||
this.oriDataList = res.rows;
|
this.oriDataList = res.rows.concat(this.form.igdList);
|
||||||
this.ingDataList = this.oriDataList.reduce((arr, cur) => {
|
this.ingDataList = this.oriDataList.reduce((arr, cur) => {
|
||||||
if (!arr.some(({ key }) => key === cur.id)) {
|
if (!arr.some(({ key }) => key === cur.id)) {
|
||||||
arr.push({
|
arr.push({
|
||||||
@ -728,7 +734,7 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
return arr;
|
return arr;
|
||||||
}, this.selIngList.slice());
|
}, []);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleInputChange(val) {
|
handleInputChange(val) {
|
||||||
@ -771,6 +777,10 @@ export default {
|
|||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-transfer-panel__list.is-filterable {
|
||||||
|
padding-bottom: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
.cus-unit {
|
.cus-unit {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
.el-input-number--mini {
|
.el-input-number--mini {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user