فهرست منبع

买家备注信息

DELL 3 سال پیش
والد
کامیت
d211b4e88e
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 1 0
      packageGoods/order/detail.vue
  2. 3 2
      packageGoods/order/settlement.vue

+ 1 - 0
packageGoods/order/detail.vue

@@ -190,6 +190,7 @@
 				}).then(res => {
 					uni.hideLoading();
 					this.info = res.data
+					console.log(this.info)
 					this.status = JSON.parse(res.data.status)
 					this.autoConfirmTime = res.data.autoConfirmTime
 					res.data.items.forEach(item => {

+ 3 - 2
packageGoods/order/settlement.vue

@@ -69,7 +69,7 @@
 
 			<view class="flex settlement-freight">
 				<text style="margin-right: 30rpx;">留言</text>
-				<u-input placeholder="请输入留言" clearable  inputAlign="right" border="none" />
+				<u-input v-model="info.memo" placeholder="请输入留言" clearable  inputAlign="right" border="none" />
 			</view>
 			<view class="flex settlement-freight">
 				<text>运费</text>
@@ -157,10 +157,11 @@
 				uni.showLoading({
 					title: '加载中'
 				});
-				$http.post('/api/v1/mp/user/deliver/order/submit', {}).then(res => {
+				$http.post('/api/v1/mp/user/deliver/order/submit', this.info).then(res => {
 					payIng = true
 					uni.hideLoading();
 					if (res.code == 0) {
+						console.log(res)
 						if (res.data.needPay == 1) {
 							$http.post('/api/v1/mp/user/deliver/order/pay', {
 								orderId: res.data.orderId,