|
@@ -96,20 +96,13 @@ import { ElMessageBox } from 'element-plus'
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
|
const searchVal = ref("");
|
|
const searchVal = ref("");
|
|
|
|
|
|
|
|
-const filterType = ref(["全部", "农药", "调节", "肥料"]);
|
|
|
|
|
|
|
+const filterType = ref(["全部"]);
|
|
|
|
|
|
|
|
const activePlanIndex = ref(0);
|
|
const activePlanIndex = ref(0);
|
|
|
// 记录已展开卡片索引的集合
|
|
// 记录已展开卡片索引的集合
|
|
|
const expandedSet = ref(new Set());
|
|
const expandedSet = ref(new Set());
|
|
|
|
|
|
|
|
-const priceList = ref([
|
|
|
|
|
- { name: "46%尿素", brand: "东巨", typeName: "农药类/杀虫剂/胃毒性", useMode: "根部施", unit: "克", unitUsage: "5-7.5公斤", unitWaterAmount: "水稻", price: "0.02", cost: '0.007', stock: "43015" },
|
|
|
|
|
- { name: "硫酸铵", brand: "东巨", typeName: "农药类/杀虫剂/胃毒性", useMode: "根部施", unit: "克", unitUsage: "5-7.5公斤", unitWaterAmount: "水稻", price: "0.01", cost: '0.005', stock: "33426" },
|
|
|
|
|
- { name: "磷酸钙", brand: "兴发", typeName: "农药类/杀虫剂/胃毒性", useMode: "根部施", unit: "千克", unitUsage: "10-15公斤", unitWaterAmount: "水稻", price: "1.6", cost: '1.2', stock: "6745" },
|
|
|
|
|
- { name: "0.2%磷酸二氢钾溶液", brand: "亚泰", typeName: "农药类/杀虫剂/胃毒性", useMode: "叶面施", unit: "克", unitUsage: "50-100克", unitWaterAmount: "水稻", price: "0.04", cost: '0.01', stock: "17236" },
|
|
|
|
|
- { name: "0.15%-0.25%矮壮素", brand: "瑞普生", price: "0.03", cost: '0.01', stock: "2542", unit: "毫升", unitUsage: "按使用说明", typeName: "农药类/杀虫剂/胃毒性", useMode: "叶面施", unitWaterAmount: "水稻" },
|
|
|
|
|
- { name: "20%氯虫苯甲酰胺悬浮剂", brand: "立占", price: "0.08", cost: '0.02', stock: "3125", unit: "克", unitUsage: "10-15毫升", typeName: "农药类/杀虫剂/胃毒性", useMode: "叶面施", unitWaterAmount: "水稻" },
|
|
|
|
|
-]);
|
|
|
|
|
|
|
+const priceList = ref([]);
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
fetchPesticideCount()
|
|
fetchPesticideCount()
|