chenrui преди 3 години
родител
ревизия
da53cc8a5b
променени са 4 файла, в които са добавени 30 реда и са изтрити 46 реда
  1. 27 29
      pages.json
  2. 0 6
      pages/sales/chooseProduct.vue
  3. 3 6
      pages/sales/list.vue
  4. 0 5
      pages/sales/productPricing.vue

+ 27 - 29
pages.json

@@ -204,9 +204,20 @@
 			"path": "pages/sales/list", // 销售列表
 			"style": {
 				"navigationBarTitleText": "销售单",
-				"enablePullDownRefresh": false,
 				"navigationStyle":"custom",
-				"navigationBarTextStyle": "white"
+				"app-plus":{
+					"titleNView": {
+						"titleAlign": "left",
+						"buttons": [ //原生标题栏按钮配置,
+							{
+								"text": "\ue694 查询" ,//原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听u
+								"fontSrc": "/static/iconfont/iconfont.ttf",
+								"fontSize": "16",
+								"width":"90px"
+							}
+						]
+					}
+				}
 			}
 		},
 		{
@@ -220,9 +231,20 @@
 			"path": "pages/sales/chooseProduct", // 选择产品
 			"style": {
 				"navigationBarTitleText": "选择产品",
-				"enablePullDownRefresh": false,
 				"navigationStyle":"custom",
-				"navigationBarTextStyle": "white"
+				"app-plus":{
+					"titleNView": {
+						"titleAlign": "left",
+						"buttons": [ //原生标题栏按钮配置,
+							{
+								"text": "\ue694 查询" ,//原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听u
+								"fontSrc": "/static/iconfont/iconfont.ttf",
+								"fontSize": "16",
+								"width":"90px"
+							}
+						]
+					}
+				}
 			}
 		},
 		{
@@ -239,35 +261,11 @@
 				"enablePullDownRefresh": false
 			}
 		},
-		
-		// {
-		// 	"path": "publicPage/choose-server-item/choose-server-item",  //  选择服务项目
-		// 	"style": {
-		// 		"navigationStyle": "custom" ,// 隐藏系统导航栏
-		// 		"navigationBarTitleText": "选择服务项目",
-		// 		"app-plus":{
-		// 			"titleNView": {
-		// 				"titleAlign": "left",
-		// 				"buttons": [ //原生标题栏按钮配置,
-		// 					{
-		// 						"text": "\ue66f 服务" ,//原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
-		// 						"fontSrc": "/static/iconfont/iconfont.ttf",
-		// 						"fontSize": "14",
-		// 						"width":"90px"
-		// 					}
-		// 				]
-		// 			}
-		// 		}
-		// 	}
-		// },
-		
 		{
 			"path": "pages/sales/productPricing", // 产品报价
 			"style": {
 				"navigationBarTitleText": "产品报价",
-				// "enablePullDownRefresh": false,
 				"navigationStyle":"custom",
-				// "navigationBarTextStyle": "white",
 				"app-plus":{
 					"titleNView": {
 						"titleAlign": "left",
@@ -275,7 +273,7 @@
 							{
 								"text": "\ue694 查询" ,//原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听u
 								"fontSrc": "/static/iconfont/iconfont.ttf",
-								"fontSize": "14",
+								"fontSize": "16",
 								"width":"90px"
 							}
 						]

+ 0 - 6
pages/sales/chooseProduct.vue

@@ -1,11 +1,5 @@
 <template>
 	<view class="chooseProduct-wrap">
-		<!-- 标题 -->
-		<u-navbar title="选择产品" :safeAreaInsetTop="false" :border-bottom="true">
-			<view class="u-nav-slot" slot="right" style="padding-right: 40rpx;">
-				<u-icon name="search" color="#999" size="28" @click="openModal=true"></u-icon>查询
-			</view>
-		</u-navbar>
 		<!-- 产品列表 -->
 		<view class="product-list-box">
 			<scroll-view class="product-list-con" :style="{height: scrollH+'upx'}" scroll-y @scrolltolower="onreachBottom">

+ 3 - 6
pages/sales/list.vue

@@ -1,11 +1,5 @@
 <template>
 	<view class="sales-list-wrap">
-		<!-- 标题 -->
-		<u-navbar title="销售单" :safeAreaInsetTop="false" :border-bottom="true">
-			<view class="u-nav-slot" slot="right" style="padding-right: 40rpx;">
-				<u-icon name="search" color="#999" size="28" @click="openModal=true"></u-icon>查询
-			</view>
-		</u-navbar>
 		<u-dropdown class="search-top-box">
 			<u-dropdown-item v-model="searchForm.billStatus" @change="handleChange('bill')" title="业务状态" :options="billStatusOpt"></u-dropdown-item>
 			<u-dropdown-item v-model="searchForm.financialStatus" @change="handleChange('financial')" title="财务状态" :options="financialStatusOpt"></u-dropdown-item>
@@ -43,6 +37,9 @@
 				openModal: false
 			}
 		},
+		onNavigationBarButtonTap(e){  // 标题栏 按钮操作
+			this.openModal=true
+		},
 		onLoad() {
 			const _this = this
 			this.getLookUpItem('SALES_BILL_STATUS')

+ 0 - 5
pages/sales/productPricing.vue

@@ -1,10 +1,5 @@
 <template>
 	<view class="productPricing-content">
-		<!-- <u-navbar  title="产品报价" :safeAreaInsetTop="false" :border-bottom="false" @leftClick="toPage('/pages/sales/index')">
-			<view class="u-nav-slot" slot="right" style="padding-right: 40rpx;" @click="showModal=true">
-				<u-icon name="search" color="#999" size="28"></u-icon>查询
-			</view>
-		</u-navbar> -->
 		<view class="checkbox-price">
 			<u-checkbox-group  placement="row">
 				<u-checkbox v-model="item.checked" activeColor="rgb(4, 133, 246)" v-for="(item,index) in priceList" :key="index" :name="item.val">{{item.name}}</u-checkbox>