diff --git a/common/util.js b/common/util.js index d8a5074..ae10baa 100644 --- a/common/util.js +++ b/common/util.js @@ -103,14 +103,14 @@ function getDay(d, num) { // 计算环比 function calcMom(cur, data) { - console.log(cur,"环比==========",data); - console.log('cur ===>',!checkNotEmpty(cur),'data ===>',!checkNotEmpty(data)) - console.log('checkNotEmpty ===>',!checkNotEmpty(cur) || !checkNotEmpty(data) ? '12' : '1212') + // console.log(cur,"环比==========",data); + // console.log('cur ===>',!checkNotEmpty(cur),'data ===>',!checkNotEmpty(data)) + // console.log('checkNotEmpty ===>',!checkNotEmpty(cur) || !checkNotEmpty(data) ? '12' : '1212') return !checkNotEmpty(cur) || !checkNotEmpty(data) ? null : data === 0 && parseInt(cur) === 0 ? null : data === 0 && parseInt(cur) > 0 ? 100 : (parseInt(cur) - data) / data * 100; } // 计算同比 function calcYoy(cur, data) { - console.log(cur,"同比==========",data); + // console.log(cur,"同比==========",data); return !checkNotEmpty(cur) || !checkNotEmpty(data) ? null : data === 0 && parseInt(cur) === 0 ? null : data === 0 && parseInt(cur) > 0 ? 100 : (parseInt(cur) - data) / data * 100; } diff --git a/pages/portShipping/waterInternational/form.vue b/pages/portShipping/waterInternational/form.vue index 06336c8..e47eec8 100644 --- a/pages/portShipping/waterInternational/form.vue +++ b/pages/portShipping/waterInternational/form.vue @@ -162,12 +162,16 @@ 航线: - + + + + @@ -788,6 +792,7 @@ title: '提交中...', mask: true }) + // console.log('form ===>',this.form) this.$request(getApp().globalData.baseUrl + '/api/biz/internationalPassengerTransport/saveOrUpdate', this.form, 'POST').then(res => { uni.hideLoading();