智慧农业后台管理页面
guoshilong
2022-09-15 48929d592615d01c5fb34a3589c01c809c4c3a76
操作人显示真名,任务管理存储农资id为已出库农资id
4 files modified
25 ■■■■■ changed files
src/views/farmplant/farmproductstock.vue 8 ●●●● patch | view | raw | blame | history
src/views/farmplant/process.vue 8 ●●●● patch | view | raw | blame | history
src/views/stock/stockout.vue 3 ●●●●● patch | view | raw | blame | history
src/views/task/task.vue 6 ●●●●● patch | view | raw | blame | history
src/views/farmplant/farmproductstock.vue
@@ -522,7 +522,7 @@
                    },
                    {
                        label: "操作人",
                        prop: "name",
                        prop: "realName",
                        span: 24,
                        rules: [
                            {
@@ -633,7 +633,7 @@
                    },
                    {
                        label: "操作人",
                        prop: "name",
                        prop: "realName",
                        span: 24,
                        rules: [
                            {
@@ -758,7 +758,7 @@
                    },
                    {
                        label: "操作人",
                        prop: "name",
                        prop: "realName",
                        span: 24,
                        rules: [
                            {
@@ -881,7 +881,7 @@
                    },
                    {
                        label: "操作人",
                        prop: "name",
                        prop: "realName",
                        span: 24,
                        rules: [
                            {
src/views/farmplant/process.vue
@@ -419,7 +419,7 @@
                    },
                    {
                        label: "操作人",
                        prop: "name",
                        prop: "realName",
                        span: 24,
                        rules: [
                            {
@@ -504,7 +504,7 @@
                    },
                    {
                        label: "操作人",
                        prop: "name",
                        prop: "realName",
                        span: 24,
                        rules: [
                            {
@@ -601,7 +601,7 @@
                    },
                    {
                        label: "操作人",
                        prop: "name",
                        prop: "realName",
                        span: 24,
                        rules: [
                            {
@@ -679,7 +679,7 @@
                    },
                    {
                        label: "操作人",
                        prop: "name",
                        prop: "realName",
                        span: 24,
                        rules: [
                            {
src/views/stock/stockout.vue
@@ -443,6 +443,9 @@
          e.amount1 = fixed.fixedNum(e.amount1)
          e.cnum = fixed.fixedNum(e.cnum)
        })
        this.data = data.records.filter((e)=>{
            return e.amount1 !=0
        })
        this.loading = false;
        // this.selectionClear();
      });
src/views/task/task.vue
@@ -165,7 +165,7 @@
            // dicUrl: `/api/soldr/soldr/selectSol`,
            props: {
              label: "spn",
              value: "stockId1"
              value: "id"
            },
            change: function (value) {
              // console.log(value.value)
@@ -339,7 +339,7 @@
            dicUrl: `/api/soldr/soldr/selectSol`,
            props: {
              label: "spn",
              value: "stockId1"
              value: "id"
            },
            change: function (value) {
              // console.log(value.value)
@@ -656,8 +656,10 @@
      getLandList(this.$farmId).then((res) => {
        if (res.data.code == 200) {
          var landIdcolumn = that.findObject(that.option.column, "landId");
          var landIdColumnChuli = that.findObject(that.optionchuli.column,"landId")
          that.landList = res.data.data;
          landIdcolumn.dicData = res.data.data;
          landIdColumnChuli.dicData = res.data.data
        }
      })
    },