Hwt há 3 anos atrás
pai
commit
beb15d5b35

+ 0 - 2
operationSupport/src/utils/newValidate.js

@@ -287,7 +287,6 @@ export default {
      * @author: chenlong (陈龙)
      */
     selectRequired(name = '名称', msg) {
-        debugger;
         return { required: true, message: msg || `请选择${name}`, trigger: 'change' };
     },
     selectRequireds(name = '名称', msg) {
@@ -331,7 +330,6 @@ export default {
     patternPhone(required = true) {
         let pattern = /^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(17[0,3,5-8])|(18[0-9])|166|198|199|147|191)\d{8}$/,
             message = '您输入的手机号有误';
-        debugger;
 
         return { required, pattern, message, trigger: 'blur' };
     },

+ 7 - 1
operationSupport/src/views/payService/landlordBill/stePage/temporary.vue

@@ -129,6 +129,11 @@ export default {
       this.$refs.form.validate((valid) => {
         if (valid) {
           var loading = this.$loading();
+
+
+          let a = this.formData.assetsId.indexOf('-');
+          // this.formData.assetsId
+          this.formData.assetsId = this.formData.assetsId.substring(0, a);
           this.$http
             .post('/czc-charge/charge/bill/create', this.formData)
             .then(({ status, msg }) => {
@@ -197,7 +202,7 @@ export default {
           for (let i = 0; i < data.length; i++) {
             this.dateBuilding.push({
               name: data[i].communityName + '-' + data[i].buildingName,
-              id: data[i].id
+              id: data[i].id + '-' + data[i].strategyId
             })
             this.strategyId = data[i].strategyId;
             this.formData.strategyId = data[i].strategyId;
@@ -209,6 +214,7 @@ export default {
     scChargeStrategy (id) {
       this.$http.get(`/czc-charge/scChargeStrategy/find/${this.strategyId}`).then(({ data, status, msg }) => {
         if (status == 0) {
+
           this.dateBuilding[id].name = this.dateBuilding[id].name + '(' + data.chargeName + ')'
         }
 

+ 1 - 1
operationSupport/src/views/propertyManagement/index.vue

@@ -88,7 +88,7 @@
             slot="house"
           >
             <!-- <div>{{ scope.row.unitName }}{{ roomNumber }}</div> {{ scope.row.communityName }} -->
-            <div>{{ scope.row.buildingName }}{{ scope.row.unitName }}{{ scope.row.roomNumber }}</div>
+            <div>{{ scope.row.buildingName }} {{scope.row.unitName != null ? '-' : ''}} {{ scope.row.unitName }} {{scope.row.roomNumber != null ? '-' : ''}} {{ scope.row.roomNumber }}</div>
           </template>
           <template
             slot-scope="scope"