From 639eb18312a62ac2a76e2b59e16bcc1ff8d70d03 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 14 一月 2026 18:00:59 +0800
Subject: [PATCH] 经销商管理
---
admin/src/views/business/orderSet.vue | 29 +++++++++++++++--------------
1 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/admin/src/views/business/orderSet.vue b/admin/src/views/business/orderSet.vue
index b5b537b..96b5e76 100644
--- a/admin/src/views/business/orderSet.vue
+++ b/admin/src/views/business/orderSet.vue
@@ -134,7 +134,7 @@
<script>
import { getPlatformConfig, updPlatformConfig } from '@/api/system/dictData'
-import {allList} from '@/api/business/coupon'
+import { allList } from '@/api/business/coupon'
export default {
name: '',
data () {
@@ -146,6 +146,7 @@
working: false,
couponList: [],
form: {
+ dictCode: 'ORDER_SET',
regIntegralRewardStatus: 0,
shareIntegralRewardStatus: 0,
regCouponRewardStatus: 0,
@@ -177,26 +178,26 @@
}
})
},
- delCoupon(type,index){
- if(type ===0){
- this.form.regCouponRewardList.splice(index,1)
- }else if(type ===1){
- this.form.shareCouponRewardList.splice(index,1)
+ delCoupon (type, index) {
+ if (type === 0) {
+ this.form.regCouponRewardList.splice(index, 1)
+ } else if (type === 1) {
+ this.form.shareCouponRewardList.splice(index, 1)
}
},
- addCoupon(type){
- if(type ===0){
- this.form.regCouponRewardList.push({couponId:null,num:null})
- }else if(type ===1){
- this.form.shareCouponRewardList.push({couponId:null,num:null})
+ addCoupon (type) {
+ if (type === 0) {
+ this.form.regCouponRewardList.push({ couponId: null, num: null })
+ } else if (type === 1) {
+ this.form.shareCouponRewardList.push({ couponId: null, num: null })
}
-
},
getData () {
getPlatformConfig({})
.then(res => {
if (res) {
this.form = {
+ dictCode: 'ORDER_SET',
regIntegralRewardStatus: res.regIntegralRewardStatus || 0,
shareIntegralRewardStatus: res.shareIntegralRewardStatus || 0,
regCouponRewardStatus: res.regCouponRewardStatus || 0,
@@ -248,7 +249,7 @@
width: 100%;
}
.header{
- margin: 20px 0 20px 0;padding:10px;background-color: rgba(140,147,157,0.61);
+ margin: 20px 0 20px 0;padding:10px;background-color: #E0DEDE;
}
/deep/ .el-main{
width: 100%;
@@ -258,7 +259,7 @@
}
.box {
width: 100%;
- padding: 30px;
+ padding: 0 30px;
box-sizing: border-box;
background: #ffffff;
}
--
Gitblit v1.9.3