haugnfuli 3 năm trước cách đây
mục cha
commit
435817eb40
2 tập tin đã thay đổi với 8 bổ sung44 xóa
  1. 5 5
      pageD/warehousings/warehousings.vue
  2. 3 39
      pages/attestation/indexThree.vue

+ 5 - 5
pageD/warehousings/warehousings.vue

@@ -677,7 +677,6 @@ import upload from '@/components/upload.vue';
 				this.WarehouseInOutInfo.warehouseInOutDetail = this.list
 				this.WarehouseInOutInfo.statusFlag = 3
 				this.WarehouseInOutInfo.pcFlag = 0
-				debugger
 				for(let i = 0 ;i < this.warehouselist.length ; i++){
 					if(this.warehouselist[i].warehouseName == this.WarehouseInOutInfo.warehouseName){
 						this.WarehouseInOutInfo.baseId = this.warehouselist[i].id
@@ -689,13 +688,14 @@ import upload from '@/components/upload.vue';
 				})
 				this.$api.doRequest('post', '/warehouseInOutInfo/InOutWarehouse', this.WarehouseInOutInfo).then(res => {
 					if(res.data.code==200){
-						uni.showToast({
-							title: '提交成功',
-							icon: 'none'
-						})
 						setTimeout(() => {
 							uni.navigateBack()
 						}, 1000)
+						uni.showToast({
+							title: '提交成功',
+							icon: 'none',
+							duration: 2000
+						})
 					}else{
 						uni.showToast({
 							title: res.data.message,

+ 3 - 39
pages/attestation/indexThree.vue

@@ -82,7 +82,9 @@
 
 
 		</view>
-		<button class="btn btns" @click="Add">新增</button>
+		<view>
+			<button class="btn btns" @click="Add">新增</button>
+		</view>
 	</view>
 </template>
 
@@ -236,43 +238,6 @@
 								})
 							}
 						})
-					// 	if (res.data.code == 200) {
-					// 		that.$api.doRequest('post',
-					// 			'/identityAuthenticationInfo/api/modifyIdentityPhone',
-					// 			that.identityAuthenticationInfo).then(
-					// 			res => {
-					// 				uni.showToast({
-					// 					title: '提交成功',
-					// 					icon: 'none',
-					// 					duration: 2000
-					// 				})
-					// 				uni.navigateTo({
-					// 					url: `/pages/attestation/indexTwo`,
-					// 				})
-					// 			}).catch(res => {
-					// 			uni.showToast({
-					// 				title: res.data.message,
-					// 				icon: 'none',
-					// 				duration: 2000
-					// 			})
-					// 		})
-					// 	} else {
-					// 		uni.showToast({
-					// 			title: res.data.message,
-					// 			icon: 'none',
-					// 			duration: 2000
-					// 		})
-					// 		return
-					// 	}
-					// })
-					// .catch(res => {
-					// 		uni.showToast({
-					// 			title: res.data.message,
-					// 			icon: 'none',
-					// 			duration: 2000
-					// 		})
-					// 		return
-					// });
 			},
 			getcode() {
 					if (!this.price) {
@@ -292,7 +257,6 @@
 					return
 				}
 				this.pricestatusTwo = true
-				// this.pricestatusTwo = !this.pricestatusTwo
 				var that = this
 				if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.price)) {
 					this.$api.doRequest('get', '/commonUser/sendVerifyCode', {