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;