xuzhiheng 5 anos atrás
pai
commit
489ab0a463

+ 5 - 0
core/src/qfw/manage/entnicheOrder.go

@@ -151,6 +151,11 @@ func (v *EntnicheOrder) EntnicheOrderDetail(order_code string) error {
 		} else if applybill_status == 0 {
 			(*res)["applybill_status"] = "未申请"
 		}
+		//2020-4-22电子发票:徐志恒
+		data := cutil.Mysql.Find("invoice", qMap, "", "create_time", 0, 0)
+		if *data != nil && len(*data) != 0 {
+			(*res)["invoice"] = *data
+		}
 		//0个人 1单位
 		applybill_type := util.IntAll((*res)["applybill_type"])
 		if applybill_type == 1 {

+ 5 - 0
core/src/qfw/manage/vipOrder.go

@@ -212,6 +212,11 @@ func (v *VipOrder) VipOrderDetail(order_code string) error {
 		} else if applybill_status == 0 {
 			(*res)["applybill_status"] = "未申请"
 		}
+		//2020-4-22电子发票:徐志恒
+		data := cutil.Mysql.Find("invoice", qMap, "", "create_time", 0, 0)
+		if *data != nil && len(*data) != 0 {
+			(*res)["invoice"] = *data
+		}
 		//0个人 1单位
 		applybill_type := util.IntAll((*res)["applybill_type"])
 		if applybill_type == 1 {