230320a303 11 月之前
父節點
當前提交
9fa8df8a0d

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/chunk-4e017dbe.44fef100.css


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.c19222b9.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-4e017dbe.80934c9e.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-6d751ac2.b73b8abe.js


+ 24 - 1
src/views/house/components/popup/PriceEdit.vue

@@ -88,7 +88,30 @@ export default {
   methods: {
     batchHande () {
       if (this.multipleSelection.length > 0) {
-        console.log(this.multipleSelection)
+        let falg = false
+        this.multipleSelection.filter(item => {
+          const area = Number(item.area)
+          if(isNaN(area) || area > 1000) {
+            this.$msg('请输入正确的面积')
+            falg = true
+            return
+          }
+          const price = Number(item.price)
+          if(isNaN(price) || price > 5000) {
+            this.$msg('请输入正确的总价')
+            falg = true
+            return
+          }
+          const unit_price = Number(item.unit_price)
+          if(isNaN(unit_price) || unit_price > 40000) {
+            this.$msg('请输入正确的单价')
+            falg = true
+            return
+          }
+        })
+        if (falg) {
+          return
+        }
         this.$api.house.admestatepricebatch({
           data: JSON.stringify(this.multipleSelection),
           estate_id: this.curObj.eid

+ 1 - 0
src/views/room/index.vue

@@ -64,6 +64,7 @@ export default {
         // { label: '排序', prop: 'sort', type: 'input', width: 80},
         { label: '编号', prop: 'id' },
         { label: '楼盘', prop: 'estate_name' },
+        { label: '楼盘', prop: 'house_no' },
         // { label: '浏览数', prop: 'view_count' },
         // { label: '置业经理', prop: 'sale_name' },
         { label: '标题', prop: 'title', minWidth: 200, fullShow: true },

部分文件因文件數量過多而無法顯示