linwenxin 1 سال پیش
والد
کامیت
da998e0662

+ 11 - 1
src/views/setting/organizationManagement/settledManagement/index.vue

@@ -106,7 +106,7 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="商品出入库" prop="joinCode">
-                <el-switch v-model="step1Form.joinCode" active-color="#13ce66" inactive-color="#ff4949">
+                <el-switch v-model="step1Form.joinCode" active-text="关联条码" inactive-text="不关联条码" active-color="#13ce66" inactive-color="#ff4949">
                 </el-switch>
               </el-form-item>
             </el-col>
@@ -128,6 +128,14 @@
                 </el-switch>
               </el-form-item>
             </el-col>
+            <el-col :span="12">
+              <el-form-item label="以旧换新抵扣方式" prop="yjhxDkFlag">
+                <el-radio-group v-model="step1Form.yjhxDkFlag">
+                  <el-radio :label="1">线上支付抵扣订单货款</el-radio>
+                  <el-radio :label="2">仅线上展示旧机价值</el-radio>
+                </el-radio-group>
+              </el-form-item>
+            </el-col>
           </el-row>
         </el-form>
       </el-card>
@@ -442,6 +450,7 @@ export default {
         moduleYb: false,
         moduleWb: false,
         storePay: false,
+        yjhxDkFlag: 1
       },
       step1FormRules: {
         account: [
@@ -647,6 +656,7 @@ export default {
             moduleYb: this.step1Form.moduleYb,
             moduleWb: this.step1Form.moduleWb,
             storePay: this.step1Form.storePay,
+            yjhxDkFlag: this.step1Form.yjhxDkFlag,
             
             minLogo1: this.img1_url,
             minLogo2: this.img2_url,

+ 12 - 1
src/views/setting/organizationManagement/tenantDetails/index.vue

@@ -91,7 +91,7 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="商品出入库" prop="joinCode">
-                <el-switch v-model="step1Form.joinCode" active-color="#13ce66" inactive-color="#ff4949">
+                <el-switch v-model="step1Form.joinCode" active-text="关联条码" inactive-text="不关联条码" active-color="#13ce66" inactive-color="#ff4949">
                 </el-switch>
               </el-form-item>
             </el-col>
@@ -113,6 +113,14 @@
                 </el-switch>
               </el-form-item>
             </el-col>
+            <el-col :span="12">
+              <el-form-item label="以旧换新抵扣方式" prop="yjhxDkFlag">
+                <el-radio-group v-model="step1Form.yjhxDkFlag">
+                  <el-radio :label="1">线上支付抵扣订单货款</el-radio>
+                  <el-radio :label="2">仅线上展示旧机价值</el-radio>
+                </el-radio-group>
+              </el-form-item>
+            </el-col>
           </el-row>
         </el-form>
       </el-card>
@@ -487,6 +495,7 @@ export default {
         moduleZl:'',
         moduleEs:'',
         storePay: '',
+        yjhxDkFlag: '',
       },
 
       passwordType1: 'password',
@@ -615,6 +624,7 @@ export default {
         this.step1Form.moduleZl = res.data.moduleZl
         this.step1Form.moduleEs = res.data.moduleEs
         this.step1Form.storePay = res.data.storePay
+        this.step1Form.yjhxDkFlag = res.data.yjhxDkFlag
 
         this.img1_url = res.data.minLogo1;
         this.img2_url = res.data.minLogo2;
@@ -761,6 +771,7 @@ export default {
         moduleZl: this.step1Form.moduleZl,
         moduleEs: this.step1Form.moduleEs,
         storePay: this.step1Form.storePay,
+        yjhxDkFlag: this.step1Form.yjhxDkFlag,
       }
       editAccount(params).then(res => {
         this.$successMsg('保存成功');