address-client 3.2.58 → 3.2.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "address-client",
3
- "version": "3.2.58",
3
+ "version": "3.2.59",
4
4
  "description": "地址管理前台组件",
5
5
  "author": "wanbochao",
6
6
  "license": "ISC",
@@ -431,7 +431,10 @@
431
431
  this.areaslist = []
432
432
  // this.model.f_residential_area_id = null
433
433
  // this.model.f_residential_area = null
434
- let condition = `isnull(f_iscity,'') = isnull('${this.model.f_iscity}','') and a.f_orgid = '${this.$login.f.orgid}'`
434
+ let condition = `a.f_orgid = '${this.$login.f.orgid}'`
435
+ if(this.model.f_iscity) {
436
+ condition = condition + ` and f_iscity = '${this.model.f_iscity}'`
437
+ }
435
438
  let req = await this.$resetpost('rs/sql/address_getresidential', {
436
439
  data: {
437
440
  condition: condition