修复满额活动赠送积分不显示填写积分。商品规格默认项无法退格删除。权限菜单选择某一子项获取选择全部问题
parent
0a0066fe5c
commit
f45b115355
|
@ -541,7 +541,9 @@ export default {
|
||||||
|
|
||||||
permData.forEach((p) => {
|
permData.forEach((p) => {
|
||||||
if (that.hasPerm(p, rolePerms) && p.status != -1) {
|
if (that.hasPerm(p, rolePerms) && p.status != -1) {
|
||||||
this.$set(p, "checked", true);
|
if (p.children && p.children.length === 0) {
|
||||||
|
this.$set(p, "checked", true);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$set(p, "checked", false);
|
this.$set(p, "checked", false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1071,7 +1071,7 @@ export default {
|
||||||
let pushData = [];
|
let pushData = [];
|
||||||
//渲染头部
|
//渲染头部
|
||||||
this.skuInfo.forEach((sku) => {
|
this.skuInfo.forEach((sku) => {
|
||||||
!sku.name ? (sku.name = "规格名") : "";
|
// !sku.name ? (sku.name = "规格名") : "";
|
||||||
//列名称
|
//列名称
|
||||||
let columnName = sku.name;
|
let columnName = sku.name;
|
||||||
pushData.push({
|
pushData.push({
|
||||||
|
|
|
@ -145,7 +145,7 @@
|
||||||
}}</Option>
|
}}</Option>
|
||||||
</Select>
|
</Select>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem v-if="form.pointGift" label="赠积分" prop="point">
|
<FormItem v-if="form.pointFlag" label="赠积分" prop="point">
|
||||||
<InputNumber
|
<InputNumber
|
||||||
:min="0"
|
:min="0"
|
||||||
:disabled="form.promotionStatus != 'NEW'"
|
:disabled="form.promotionStatus != 'NEW'"
|
||||||
|
|
Loading…
Reference in New Issue