doway-coms 1.1.88 → 1.1.89
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 +1 -1
- package/packages/utils/common.js +3 -3
package/package.json
CHANGED
package/packages/utils/common.js
CHANGED
|
@@ -483,9 +483,9 @@ export function custUnitPriceNotTaxAmount(rowInfo, taxRate, colInfo) {
|
|
|
483
483
|
export function setIndustryVersionFields(fields){
|
|
484
484
|
let length = fields.length
|
|
485
485
|
for(let i=length-1;i>=0;i--){
|
|
486
|
-
if(XEUtils.isArray(fields[i].versions) && XEUtils.indexOf(fields[i].versions,store.getters.industryVersion)
|
|
487
|
-
|
|
486
|
+
if(XEUtils.isArray(fields[i].versions) && XEUtils.indexOf(fields[i].versions,store.getters.industryVersion)<0){
|
|
487
|
+
XEUtils.remove(fields,i)
|
|
488
488
|
}
|
|
489
|
-
|
|
489
|
+
|
|
490
490
|
}
|
|
491
491
|
}
|