diff --git a/pages/home/index.vue b/pages/home/index.vue
index a1e0b4e..1340e28 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -291,7 +291,7 @@
农资库存
农产品库存
-
+
采购申请
入库管理
diff --git a/pages/massif/info.vue b/pages/massif/info.vue
index 9b7987e..bb10714 100644
--- a/pages/massif/info.vue
+++ b/pages/massif/info.vue
@@ -140,5 +140,9 @@ import request from '@/common/request'
}
},
},
+ onBackPress(e){
+ console.log(e)
+ return false
+ },
}
\ No newline at end of file
diff --git a/pages/massif/mana/index.vue b/pages/massif/mana/index.vue
index 4fd5021..d6e1110 100644
--- a/pages/massif/mana/index.vue
+++ b/pages/massif/mana/index.vue
@@ -1,28 +1,41 @@
-
+
-
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/router/purchase.js b/router/purchase.js
index 79273ba..765eb6d 100644
--- a/router/purchase.js
+++ b/router/purchase.js
@@ -1,15 +1,4 @@
module.exports=[
- {
- path:"pages/purchase/index",
- style:{
- navigationBarTitleText:"采购管理",
- navigationBarBackgroundColor:"#10C176",
- navigationBarTextStyle:"white",
- "app-plus":{
- titleNView:true
- }
- }
- },
{
path:"pages/purchase/apply",
style:{
diff --git a/uni_modules/d-form/components/d-form/d-form.vue b/uni_modules/d-form/components/d-form/d-form.vue
index e69da1c..d907541 100644
--- a/uni_modules/d-form/components/d-form/d-form.vue
+++ b/uni_modules/d-form/components/d-form/d-form.vue
@@ -154,29 +154,29 @@
- {{pickerContent}}
-
+ {{pickerContent}}
+
添加照片
-
-
+
+
{{value[0]||startPlaceholder||'开始时间'}}
-
{{value[1]||endPlaceholder||'结束时间'}}
-
+
-
+
- {{value||placeholder||`请选择${label}`}}
+ {{value||placeholder||`请选择${label}`}}
{{tip}}
@@ -323,7 +323,7 @@ import {dataType} from 'black-knight/lib/config/tools'
},
pickerContent(){//下拉选择 表单显示数据
if(this.type=='select'){
- return setPickerVal(this.columns[0], this.value).findLast(v=>v)?.label||`请选择${this.label}`
+ return setPickerVal(this.columns[0], this.value).filter(v=>v).at(-1)?.label||`请选择${this.label}`
}
return ''
},
@@ -340,9 +340,6 @@ import {dataType} from 'black-knight/lib/config/tools'
setPickerCol.bind(this.$refs.picker)(this.columns[0]||[],this.value,1)
})
}
- if(this.type=='select'){
- window.the=this
- }
},
methods:{
async afterRead(e){