shish 5 سال پیش
والد
کامیت
8e41718527
1فایلهای تغییر یافته به همراه0 افزوده شده و 40 حذف شده
  1. 0 40
      ghsApp/src/pagesOrder/shipInfo.vue

+ 0 - 40
ghsApp/src/pagesOrder/shipInfo.vue

@@ -11,41 +11,20 @@
 			<view class="admin-button-com-box">
 				<button class="admin-button-com blue big" @tap="formSubmit">确定</button>
 			</view>
-
 		</view>
-		<!-- 选择客户 -->
-		<!-- <AppCustomerSel :show.sync="showCustomer" @change="changeCustomerFn" /> -->
-    <kd-entrance></kd-entrance>
 	</view>
 </template>
 
 <script>
 import TuiListCell from "@/components/plugin/list-cell";
-// import AppAvatarModule from "@/components/module/app-avatar";
-// import SimpleAddress from "@/components/plugin/simple-address";
-// import AppAreaSel from "@/components/app-area-sel";
-// import AppCustomerSel from "@/components/app-customer-sel";
-// import productMins from "@/mixins/product";
-// import appFormRadioBtn from "@/components/app-formRadio-btn";
-// import appAddressGroup from "@/components/app-address-group";
-// import appSendTime from "@/components/app-send-time";
 import appFormSend from "@/components/app-form-send1";
 const formUtil = require("@/utils/formValidation.js");
 import { sendExpressage } from "@/api/order/index";
-// import { getUserDet } from "@/api/member/index";
 import { mapActions, mapGetters } from "vuex";
-
 export default {
 	name: "BillingAffirm", // 开单确认
 	components: {
 		TuiListCell,
-		// AppAvatarModule,
-		// SimpleAddress,
-		// AppAreaSel,
-		// AppCustomerSel,
-		// appFormRadioBtn,
-		// appAddressGroup,
-		// appSendTime,
 		appFormSend
 	},
 	// mixins: [productMins],
@@ -71,9 +50,6 @@ export default {
 				customId: "",
 				product: ""
 			},
-
-			// 详细地址
-			// showRegion: false,
 			showCustomer: false
 		};
 	},
@@ -82,11 +58,9 @@ export default {
 		this.orderId = e.orderId;
 		if (!this.getMerchantInfo && this.customId != '0') {
 			this.initMerchantInfo().then(data => {
-				// uni.setNavigationBarTitle({title: data.name});
 				uni.setNavigationBarTitle({title: '确认客户地址'});
 			});
 		} else {
-			// uni.setNavigationBarTitle({title: this.getMerchantInfo.name});
 			uni.setNavigationBarTitle({title: '确认客户地址'});
 		}
 	},
@@ -98,14 +72,11 @@ export default {
 		init() {
 			this._getDet();
 		},
-		// api
 		_getDet() {
 			let data = uni.getStorageSync("modifyShopB");
 			if (this.$util.isEmpty(data)) return;
 			Object.keys(this.form).forEach((i, index) => {
-				// if (i != 'password') {
 				this.form[i] = data[i];
-				// }
 			});
 		},
 
@@ -117,10 +88,6 @@ export default {
 		confirmFn(options) {
 			console.log(options)
 			sendExpressage({ id: this.orderId,sendCost:options.sendCost,expressId:options.sendSide,sendTime:options.sendTime }).then(res => {
-				// this.form.province = res.data.province;
-				// this.form.city = res.data.city;
-				// this.$emit("selectAdress", this.form);
-				// uni.navigateTo({url:'/pagesOrder/ship'});
 				uni.navigateBack({delta: 1});
 			})
 		},
@@ -129,12 +96,6 @@ export default {
 			try {
 				// 表单规则
 				let rules = [];
-
-				// {
-				// 	name: "sendTime",
-				// 		rule: ["required"],
-				// 	msg: ["请输入具体时间"]
-				// }
 				// 进行表单检查
 				let formData = this.form;
 				if (formData.sendType == "1") {
@@ -153,7 +114,6 @@ export default {
 					];
 					rules = rules.concat(temp);
 				}
-
 				const product = this.selectList.map(ele => {
 					return { productId: ele.id, bigNum: ele.bigCount, smallNum: ele.smallCount };
 				});