소스 검색

no message

linwenxin 9 달 전
부모
커밋
7bfd4261ab

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

@@ -209,6 +209,14 @@
                 </el-radio-group>
               </el-form-item>
             </el-col>
+            <el-col :span="12">
+              <el-form-item label="是否微信自动分账" prop="isAutoShare" label-width="160px">
+                <el-radio-group v-model="step1Form.isAutoShare">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
+              </el-form-item>
+            </el-col>
           </el-row>
         </el-form>
       </el-card>
@@ -612,7 +620,8 @@ export default {
         moduleWb: false,
         storePay: false,
         yjhxDkFlag: 1,
-        offlinePay: true
+        offlinePay: true,
+        isAutoShare: true
       },
       step1FormRules: {
         account: [{ required: true, validator: validateAccount, trigger: 'blur' }],
@@ -804,6 +813,7 @@ export default {
             storePay: this.step1Form.storePay,
             yjhxDkFlag: this.step1Form.yjhxDkFlag,
             offlinePay: this.step1Form.offlinePay,
+            isAutoShare: this.step1Form.isAutoShare,
 
             minLogo1: this.img1_url,
             minLogo2: this.img2_url,

+ 11 - 0
src/views/setting/organizationManagement/tenantDetails/index.vue

@@ -163,6 +163,14 @@
                 </el-radio-group>
               </el-form-item>
             </el-col>
+            <el-col :span="12">
+              <el-form-item label="是否微信自动分账" prop="isAutoShare" label-width="160px">
+                <el-radio-group v-model="step1Form.isAutoShare">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
+              </el-form-item>
+            </el-col>
 
             <el-col :span="12">
               <div style="margin-bottom: 20px">
@@ -797,6 +805,7 @@ export default {
         companyType: 2,
         yjhxDkFlag: '',
         offlinePay: true,
+        isAutoShare: true,
         appModuleJson: [],
         sortModuleJson: []
       },
@@ -947,6 +956,7 @@ export default {
         this.step1Form.companyType = res.data.companyType
         this.step1Form.yjhxDkFlag = res.data.yjhxDkFlag
         this.step1Form.offlinePay = res.data.offlinePay
+        this.step1Form.isAutoShare = res.data.isAutoShare
         this.step1Form.appModuleJson = JSON.parse(res.data.appModuleJson)
         this.step1Form.sortModuleJson = JSON.parse(res.data.sortModuleJson)
 
@@ -1102,6 +1112,7 @@ export default {
             companyType: this.step1Form.companyType,
             yjhxDkFlag: this.step1Form.yjhxDkFlag,
             offlinePay: this.step1Form.offlinePay,
+            isAutoShare: this.step1Form.isAutoShare,
             appModuleJson: JSON.stringify(this.step1Form.appModuleJson),
             sortModuleJson: JSON.stringify(this.step1Form.sortModuleJson)
           }