Browse Source

fix: 获取曾用名参数

baichengfei 5 years ago
parent
commit
db37ac3e43

+ 1 - 0
src/dashoo.cn/backend/api/controllers/oilsupplier/suppliercert.go

@@ -1147,6 +1147,7 @@ func (this *OilSupplierCertController) IsAccess() {
 		svc.GetEntity(&setting, where)
 		res = svc.UserInRoleById(this.User.Id, strconv.Itoa(setting.RoleId))
 	} else if auditstepcode == workflow.PAYING_FEE { // 待交费
+		// TODO 删掉。(交费按钮已去掉,统一走交费管理处确认。且此处未准确区分申请类型)
 		certSrv := suppliercert.GetOilSupplierCertService(utils.DBE)
 		var supplierCertEntity suppliercert.OilSupplierCert
 		certSrv.GetEntityById(id, &supplierCertEntity)

+ 2 - 1
src/dashoo.cn/frontend_web/src/components/usednameselect/index.vue

@@ -81,14 +81,15 @@
           _currentPage: this.currentPage,
           Order: this.Column.Order,
           Prop: this.Column.Prop,
+          SupplierId: this.formData.Id,
           SupplierName: this.formData.SupplierName
 
         }
+        console.log('获取曾用名的参数', params)
         // 查询条件
         // Object.assign(params, this.searchForm)
         api.getNameList(params, this.$axios)
           .then(res => {
-            console.log(res.data.items)
             this.entityList = res.data.items
             this.currentItemCount = res.data.currentItemCount
           })