diff --git a/vue/src/views/jd/order/index.vue b/vue/src/views/jd/order/index.vue
index 6b9538c1..f92de048 100644
--- a/vue/src/views/jd/order/index.vue
+++ b/vue/src/views/jd/order/index.vue
@@ -174,6 +174,14 @@
+ 确认订单
{
+ this.form = response.data;
+ this.form.provinces = []
+ this.form.provinces.push(response.data.provinceName)
+ this.form.provinces.push(response.data.cityName)
+ this.form.provinces.push(response.data.townName)
+ this.detailOpen = true;
+ this.detailTitle = "确认订单";
+ this.isAudit = true
+ });
+ },
+ submitConfirmForm(){
+ this.$refs["form"].validate(valid => {
+ if (valid) {
+ const form = {
+ orderId:this.form.id,
+ province:this.form.provinces[0],
+ city:this.form.provinces[1],
+ town:this.form.provinces[2],
+ address:this.form.maskPostAddress,
+ receiver:this.form.maskPostReceiver,
+ mobile:this.form.maskPostTel
+ }
+
+ confirmOrder(form).then(response => {
+ if(response.code===200){
+ this.$modal.msgSuccess("订单确认成功");
+ this.detailOpen = false;
+ this.isAudit = false
+ this.getList();
+ }else{
+ this.$modal.msgError(response.msg);
+ }
+
+ });
+
+ }
+ })
+ },
}
};