智慧农业后台管理页面
guoshilong
2022-08-04 9f1483a17a6d5b2fc43580a54ca96e9fccd3b1af
新增损耗原因选择和损耗原因显示
3 files modified
29 ■■■■ changed files
src/views/farmplant/farmproductstock.vue 14 ●●●● patch | view | raw | blame | history
src/views/farmplant/inventorylist.vue 2 ●●● patch | view | raw | blame | history
src/views/farmplant/process.vue 13 ●●●● patch | view | raw | blame | history
src/views/farmplant/farmproductstock.vue
@@ -393,7 +393,7 @@
                strainId: "",
                saleNum: "",
                remarks: "",
                reason: "0",
                reason: "",
                lossTime: "",
            },
            //加工字段
@@ -607,12 +607,12 @@
                        prop: "reason",
                        span: 24,
                        type: "select",
                        value: "0",
                        dicData: [
                            {
                                label: "库存损耗",
                                value: "0",
                            }],
                        // value: "0",
                        dicUrl:"/api/blade-system/dict-biz/dictionary?code=lossReason",
                        props: {
                            label: "dictValue",
                            value: "dictKey"
                        },
                        rules: [
                            {
                                required: true,
src/views/farmplant/inventorylist.vue
@@ -80,7 +80,7 @@
                    },
                    {
                        label: "损耗原因",
                        prop: "reason",
                        prop: "reasonName",
                    },
                    {
                        label: "备注",
src/views/farmplant/process.vue
@@ -315,7 +315,6 @@
                strainId: "",
                saleNum: "",
                remarks: "",
                reason: "0",
                lossTime: "",
                processName:"",
@@ -480,12 +479,12 @@
                        prop: "reason",
                        span: 24,
                        type: "select",
                        value: "0",
                        dicData: [
                            {
                                label: "库存损耗",
                                value: "0",
                            }],
                        // value: "0",
                        dicUrl:"/api/blade-system/dict-biz/dictionary?code=lossReason",
                        props: {
                            label: "dictValue",
                            value: "dictKey"
                        },
                        rules: [
                            {
                                required: true,