智慧农业后台管理页面
guoshilong
2022-08-19 9c3576895f53af21c789435c70f5484834fc9135
优化显示
3 files modified
9 ■■■■ changed files
src/views/land/landAdd.vue 6 ●●●●● patch | view | raw | blame | history
src/views/wel/land.vue 1 ●●●● patch | view | raw | blame | history
src/views/wel/stock.vue 2 ●●● patch | view | raw | blame | history
src/views/land/landAdd.vue
@@ -91,6 +91,11 @@
                            label: "dictValue",
                            value: "dictKey"
                        },
                        rules: [{
                            required: true,
                            message: "请选择面积单位",
                            trigger: "click"
                        }],
                        dataType: "number",
                        span: 6,
                    },
@@ -155,6 +160,7 @@
            add(row).then(() => {
                that.$emit("refreshOnLoad")
                that.$refs.form.resetFields()
                that.form.landUnit = "0"
                that.visible = false
                this.$message({
                    type: "success",
src/views/wel/land.vue
@@ -157,6 +157,7 @@
      row['deptId'] = this.userInfo.dept_id;
      add(row).then(() => {
        that.$refs.form.resetFields();
        this.form.landUnit = "0"
        that.visible = false;
        this.$message({
          type: "success",
src/views/wel/stock.vue
@@ -45,7 +45,7 @@
          {
            label: "规格",
            prop: "specs",
            value:"10",
            value:"",
            span: 6,
            rules: [{
              required: true,