From e4418b60a9e80a1438919e618d2e5e2048d404bc Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 17 Oct 2022 11:23:11 +0800
Subject: [PATCH] 农场图片显示优化;加工产品管理去除导入功能;修复加工、销售、出库、损耗记录表的查询功能
---
src/views/farmplant/processlist.vue | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/views/farmplant/processlist.vue b/src/views/farmplant/processlist.vue
index 37b26a6..3502a99 100644
--- a/src/views/farmplant/processlist.vue
+++ b/src/views/farmplant/processlist.vue
@@ -62,15 +62,19 @@
column: [
{
label: "品种",
- prop: "strainId",
+ prop: "kind",
search: true,
hide: true,
display: false,
type: "select",
- dicUrl: '/api/strain/strain-tree',
+ dicUrl: '/api/strain/kind-tree',
+ dicFormatter:(res)=>{
+ this.kindList = res.data
+ return res.data
+ },
props: {
- label: "strainName",
- value: "id"
+ label: "kindName",
+ value: "id"
}
},
{
@@ -111,7 +115,7 @@
this.onLoad(this.page)
}
}
- },
+ },
methods: {
currentChange (currentPage) {
this.page.currentPage = currentPage
@@ -169,4 +173,4 @@
<style>
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3