Shannon_mu пре 3 година
родитељ
комит
dba076f82b

+ 4 - 4
operationSupport/src/views/communityoperation/advertisingManagement/setpPage/add.vue

@@ -45,7 +45,7 @@
                 </div>
             </el-form-item>
             <div class="formContent-item_title">投放时间</div>
-            <el-form-item label="巡更日期" prop="startDate">
+            <el-form-item label="巡更日期" prop="startTime">
                 <el-date-picker
                     class="width100"
                     v-model="effectiveDate"
@@ -96,7 +96,8 @@ export default {
                             }
                         }
                     }
-                ]
+                ],
+                startTime:[this.$valid.selectRequired('日期')]
             }
         };
     },
@@ -110,14 +111,13 @@ export default {
         beforeAvatarUpload(file) {
             const isJPG = ['image/jpg', 'image/png'].includes(file.type);
             const isLt2M = file.size / 1024 / 1024 < 2;
-
             if (!isJPG) {
                 this.$message.error('上传图片只能是 JPG,PNG 格式!');
             }
             if (!isLt2M) {
                 this.$message.error('上传图片大小不能超过 2MB!');
             }
-            return isLt2M;
+            return isJPG && isLt2M;
         },
         clickUpload() {
             this.$refs['upload'].$refs['upload-inner'].handleClick();

+ 12 - 1
operationSupport/src/views/newWorkBench/components/collectionRate.vue

@@ -105,7 +105,6 @@ export default {
         getData() {
             this.$http.get('/sc-community/statisticsCollectionRate', this.mixins_query).then(({ data, msg, status }) => {
                 if (status == 0 && !!data) {
-                    debugger;
                     this.dataObj = {
                         receivableAmount: data.receivableAmount,
                         receivedAmount: data.receivedAmount,
@@ -141,6 +140,18 @@ export default {
         }
     }
 }
+// .indexWorkbench {
+//     .modelBlock {
+//         .model-title {
+//             .saveColumn-select {
+    
+//                 /deep/ .el-input__inner{
+//                     padding: 0 rem(5);
+//                 }
+//             }
+//         }
+//     }
+// }
 .model-title {
     .model-title-right {
         .saveColumn-select {