From 4df58b0334528da40296d06dbb54983eaeb8e2b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com>
Date: Thu, 29 Jul 2021 18:55:49 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BE=9B=E8=B4=A7=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95=E8=AF=A6=E6=83=85=E7=A1=AE=E8=AE=A4=E5=8F=91=E8=B4=A7?=
=?UTF-8?q?UI?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/supply/gonghuo/detail.vue | 58 ++++++++++++++++++++++++++++++---
1 file changed, 54 insertions(+), 4 deletions(-)
diff --git a/pages/supply/gonghuo/detail.vue b/pages/supply/gonghuo/detail.vue
index 3c6e3d9..712af92 100644
--- a/pages/supply/gonghuo/detail.vue
+++ b/pages/supply/gonghuo/detail.vue
@@ -31,7 +31,7 @@
-
+
已完成
@@ -62,6 +62,31 @@
+
+
+
+
@@ -89,17 +114,21 @@
key: 'after_tax_price'
}],
contents: [],
- is_show_voucher: true, // 是否显示凭证上传弹出层
+ is_show_voucher: false, // 是否显示凭证上传弹出层
+ is_show_receiving: false,
voucher_list: [], // 已上传的凭证列表
voucher_count: 6, // 最多可以上传多少张凭证
type: 2, // 订单状态
p_sn: '',
- order: {}
+ order: {},
+ l_p_num: '',
+ driver_name: '',
+ driver_phone: ''
}
},
onLoad(options){
this.p_sn = options.p_sn;
- this.getData();
+ // this.getData();
},
methods: {
getData(){
@@ -218,6 +247,17 @@
},
// 确认发货
confirmDeliver(){
+ let l_p_num = this.l_p_num;
+ let driver_name = this.driver_name;
+ let driver_phone = this.driver_phone;
+ if(!l_p_num){
+ return this.$msg('请输入车牌号')
+ }else if(!driver_name){
+ return this.$msg('请输入司机姓名')
+ }else if(!driver_phone){
+ return this.$msg('请输入司机电话')
+ }
+ this.is_show_receiving = false;
this.$http(this.API.API_SUPPLIER_PURCHASEORDERSENDOUT, {
p_sn: this.p_sn
}).then(res => {
@@ -351,6 +391,16 @@
color: #777777;
}
}
+ .popup-input{
+ padding: 0 60rpx;
+ box-sizing: border-box;
+ height: 90rpx;
+ font-size: 28rpx;
+ color: #555555;
+ input{
+ text-align: right;
+ }
+ }
}
.foot-btn{
height: 90rpx;