Browse Source

【1005740】bug修复

chenrui 4 years ago
parent
commit
54136853aa
2 changed files with 8 additions and 20 deletions
  1. 2 19
      pages/index/index.vue
  2. 6 1
      pages/workOrder/sellOrder/chooseBundle.vue

+ 2 - 19
pages/index/index.vue

@@ -53,7 +53,6 @@
 <script>
 import searchModal from './searchModal.vue';
 import { listCustomerBundle, countListBundle } from '@/api/customerBundle'
-import { getLookUpDatas } from '@/api/data'
 export default {
 	components: { searchModal },
 	data() {
@@ -73,31 +72,15 @@ export default {
 				custMobile: '', // 客户手机
 			},
 			scrollTop: 0, //  滚动条位置
-			totalObj: null,
-			payTypeList: []  //  支付方式  数据
+			totalObj: null
 		};
 	},
-	onLoad(option) {
-		// 获取支付,收款方式
-		this.getLookUpList('PAY_PROCUCT_TYPE');
-	},
+	onLoad(option) {},
 	onShow() {
 		this.openScreen = false; //  关闭筛选框
 		this.refresh({});
 	},
 	methods: {
-		// 或某一项字典列表,参数code
-		getLookUpList(code) {
-			getLookUpDatas({ type: code }).then(res => {
-				if (res.status == 200) {
-					this.payTypeList = res.data || []
-				}
-			});
-		},
-		filterVal(val){
-			let row = this.payTypeList.find(item => item.payType == val)
-			
-		},
 		//  总计
 		getGoldLogTotal() {
 			countListBundle({

+ 6 - 1
pages/workOrder/sellOrder/chooseBundle.vue

@@ -160,7 +160,12 @@
 		mounted() {
 			this.setScreenHeight()
 		},
-		onLoad() {
+		onLoad() {},
+		onShow() {
+			this.queryWord = ''
+			this.clsId = ''
+			this.nowInd = 0
+			this.isGobleSearch = false
 			this.getBundleType()
 			this.initData()
 		},