浏览代码

去掉debugger

wangchao 3 年之前
父节点
当前提交
2eaa021f48

+ 1 - 7
pageA/freightTransport/addpaygoods.vue

@@ -99,7 +99,6 @@
 			this.$refs.uForm.setRules(this.rules);
 		},
 		onLoad(option) {
-			debugger
 			this.userInfo.infoId = option.id;
 			this.getDetail(option.id);
 
@@ -107,7 +106,6 @@
 		methods: {
 			// 手机号重复校验
 			checkMobile(val) {
-				debugger
 				let _data = this.dataList.receivingUsers;
 				if (_data == null || _data.length == 0) return false
 				for (let i = 0; i < _data.length; i++) {
@@ -139,21 +137,18 @@
 				})
 			},
 			submit() {
-				debugger
 				let that = this
 				this.$refs.uForm.validate(valid => {
 					if (valid) {
 						that.$api.doRequest('post', '/freightReceivingDispatching/api/insertReceivingUser', this
 							.userInfo).then(res => {
-							debugger
 							if (res.data.code == 200) {
 								uni.showToast({
 									title: '提交成功',
 									icon: 'none',
 									duration: 2000,
 									success: function() {
-										debugger
-
+										
 									}
 								})
 
@@ -182,7 +177,6 @@
 
 			},
 			del(val) {
-				debugger
 				let that = this
 				uni.showModal({
 					content: '确定删除该收货人?',

+ 1 - 2
pageA/freightTransport/addsendgoods.vue

@@ -133,7 +133,7 @@
 		onShow() {
 
 		},
-		onLoad(options) {debugger
+		onLoad(options) {
 			this.phone = options.phone
 		},
 		onPageScroll(e) {
@@ -149,7 +149,6 @@
 				this.packingIndex = event.detail.value;
 			},
 			commit() {
-				debugger
 				this.purchaseOrder.accountNumber= this.phone
 				this.$api.doRequest('post', '/freightReceivingDispatching/api/insertFreightReceivingDispatching',this.purchaseOrder).then(res => {debugger
 					// if(res.data.code=='200'){

+ 0 - 4
pageA/freightTransport/confirmpaygoods.vue

@@ -194,7 +194,6 @@
 			this.$refs.uForm.setRules(this.rules);
 		},
 		onLoad(option) {
-			debugger
 			this.goods = JSON.parse(option.toINfo)
 			this.id = options.id
 			this.goods.reciveCollectionScreenshot = this.goods.reciveCollectionScreenshot == null ? '' : this.goods
@@ -236,7 +235,6 @@
 
 						uploadImage(res.tempFilePaths[0], 'reciveCollectionScreenshot/',
 							result => {
-								debugger
 								this.goods.reciveCollectionScreenshot = result
 								uni.hideLoading();
 							}
@@ -251,7 +249,6 @@
 					cancelText: '取消',
 					confirmText: '确定',
 					success: res => {
-						debugger
 						if (res.confirm) {
 							this.goods.reciveCollectionScreenshot = ""
 						}
@@ -259,7 +256,6 @@
 				})
 			},
 			getList() {
-				debugger
 				this.utils.nullToString(this.goods)
 				var that = this
 				uni.showModal({

+ 0 - 4
pageA/freightTransport/contract_detail.vue

@@ -191,7 +191,6 @@
 			this.$refs.uForm.setRules(this.rules);
 		},
 		onLoad(option) {
-			debugger
 			this.goods.dispatchingDate = this.time;
 			this.goods.batch = option.id;
 
@@ -227,7 +226,6 @@
 					content: '确定提交发车信息?',
 					success: function(res) {
 						if (res.confirm) {
-							debugger
 							that.$refs.uForm.validate(valid => {
 								if (valid) {
 									console.log('验证通过');
@@ -309,7 +307,6 @@
 
 						uploadImage(res.tempFilePaths[0], 'collectionScreenshot/',
 							result => {
-								debugger
 								this.goods.collectionScreenshot = result
 								uni.hideLoading();
 							}
@@ -374,7 +371,6 @@
 					cancelText: '取消',
 					confirmText: '确定',
 					success: res => {
-						debugger
 						if (res.confirm) {
 							this.goods.collectionScreenshot = ""
 						}

+ 1 - 5
pageA/freightTransport/index.vue

@@ -83,7 +83,6 @@
 		},
 		methods: {
 			getUserInfo() {
-				debugger
 				this.userinfo = store.getters.getUserInfo
 			},
 			addgoods() {
@@ -107,7 +106,6 @@
 				this.getListData(0)
 			},
 			getListData(state, type) {
-				debugger
 				let _data = {}
 				if (state == "searchKeyWord") {
 					_data = {
@@ -127,8 +125,7 @@
 				let that = this
 				this.$api.doRequest('get', '/freightReceivingDispatching/selectFreightReceivingDispatchingPage', _data)
 					.then(res => {
-						if (res.data.code == 200) {
-							debugger
+						if (res.data.code == 200) {				
 							that.listData = res.data.data.records;
 							for (let i = 0; i < that.listData.length; i++) {
 								that.utils.nullToString(that.listData[i])
@@ -162,7 +159,6 @@
 			},
 			//删除
 			delRow(val) {
-				debugger
 				this.$api.doRequest('post', 'freightReceivingDispatching/api/deleteFreightReceivingDispatching', {
 					"id": val.id
 				}).then(res => {

+ 0 - 1
pageA/freightTransport/record/index.js

@@ -21,7 +21,6 @@ export function getDetail(id, that) {
 	})
 }
 export function makeData(val,that) {
-	debugger
 	//累加净重收发
 	let _goodsPrice = val.goodsPrice;
 	let _freightUnitPrice = val.freightUnitPrice

+ 0 - 6
pageA/freightTransport/record/payrecord.vue

@@ -370,7 +370,6 @@
 				}
 			},
 			confirmFreight(flag, val) {
-				debugger
 				if (flag == 1) {
 					val.money = parseInt(this.money);
 				}
@@ -379,7 +378,6 @@
 				val.flag = flag
 				this.$api.doRequest('post', 'freightReceivingDispatching/api/paymentAndDeductionfreight', val).then(
 					res => {
-						debugger
 						if (res.data.code == 200) {
 							location.reload()
 						}
@@ -389,7 +387,6 @@
 				})
 			},
 			inputWatch(e) {
-				debugger
 				let _val = this.checkVal(e, "freight");
 				if (_val) {
 					this.isShowFreightTip = true
@@ -426,7 +423,6 @@
 			},
 			// 扣运费
 			freightDeduction(item) {
-				debugger
 				this.freightAlert = true;
 				this.freightDeductionAmount = 0
 				// this.cleanVal(item,"freightDeductionAmount")
@@ -486,12 +482,10 @@
 				this.paymentAlert = false;
 			},
 			confirmeductPayment(val) {
-				debugger
 				console.log(val)
 				val.goodsDeductionAmount = parseInt(this.ductPayment);
 				this.$api.doRequest('post', 'freightReceivingDispatching/api/PaymentDeduction', val).then(
 					res => {
-						debugger
 						if (res.data.code == 200) {
 							uni.showToast({
 								title: "扣款成功!",

+ 0 - 7
pageA/freightTransport/record/sendrecord.vue

@@ -254,7 +254,6 @@
 
 		},
 		onLoad(options) {
-			debugger
 			getDetail(options.id, this)
 			this.id = options.id
 		},
@@ -283,7 +282,6 @@
 				}
 			},
 			confirmFreight(flag, val) {
-				debugger
 				if (flag == 1) {
 					val.money = parseInt(val.money);
 				} else {
@@ -293,7 +291,6 @@
 				val.flag = flag
 				this.$api.doRequest('post', 'freightReceivingDispatching/api/paymentAndDeductionfreight', val).then(
 					res => {
-						debugger
 						if (res.data.code == 200) {
 							location.reload()
 						}
@@ -303,7 +300,6 @@
 				})
 			},
 			inputWatch(e) {
-				debugger
 				let _val = this.checkVal(e, "freight");
 				if (_val) {
 					this.isShowFreightTip = true
@@ -329,7 +325,6 @@
 			},
 			// 扣运费
 			freightDeduction(item) {
-				debugger
 				this.freightAlert = true;
 				item.freightDeductionAmount = ""
 				console.log("扣运费")
@@ -342,8 +337,6 @@
 
 			//判断输入值
 			checkVal(e, state, item) {
-				debugger
-				debugger
 				console.log(e)
 				let _val;
 				let _val1 = this.utils.isEmpty(e)

+ 1 - 1
pageD/identity/driverIdentityTwo.vue

@@ -63,7 +63,7 @@
 		</view>
 		<button class="btn" v-if="opencarboolean == true" @click="carAdd">
 			<image src="../../static/img/jiaoyi/ic_fabu@3x.png" class="add" style="top: 8px;"></image>
-			<texe>添加车辆</texe>
+			<text>添加车辆</text>
 		</button>
 		<!-- 账户信息 -->
 		<view class="information">

+ 1 - 1
util/util.js

@@ -399,7 +399,7 @@ const utils = {
 		}
 	},
 	// null赋值空字符串
-	nullToString:function(obj){debugger
+	nullToString:function(obj){
 		for(key in obj){
 			if(obj[key]==null) obj[key] = ""
 		}