修复满额活动赠送积分不显示填写积分。商品规格默认项无法退格删除。权限菜单选择某一子项获取选择全部问题

master
paulGao 2021-12-28 19:54:40 +08:00
parent 0a0066fe5c
commit f45b115355
3 changed files with 5 additions and 3 deletions

View File

@ -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);
} }

View File

@ -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({

View File

@ -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'"