xuzhiheng 5 年之前
父节点
当前提交
489ab0a463
共有 2 个文件被更改,包括 10 次插入0 次删除
  1. 5 0
      core/src/qfw/manage/entnicheOrder.go
  2. 5 0
      core/src/qfw/manage/vipOrder.go

+ 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 {