|
@ -48,6 +48,7 @@ |
|
|
|
|
|
|
|
|
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode"> |
|
|
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode"> |
|
|
</winComScanBalance> |
|
|
</winComScanBalance> |
|
|
|
|
|
<balanceQuery ref="refBalanceQuery" ></balanceQuery> |
|
|
<comMessage ref="comMessage"></comMessage> |
|
|
<comMessage ref="comMessage"></comMessage> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@ -98,6 +99,8 @@ |
|
|
import recordDetailCard from '@/mycomponents/record/recordDetailCard.vue' |
|
|
import recordDetailCard from '@/mycomponents/record/recordDetailCard.vue' |
|
|
import balanceSelect from '@/mycomponents/balance/balanceSelect.vue' |
|
|
import balanceSelect from '@/mycomponents/balance/balanceSelect.vue' |
|
|
import winComScanBalance from '@/mycomponents/scan/winComScanBalance.vue' |
|
|
import winComScanBalance from '@/mycomponents/scan/winComScanBalance.vue' |
|
|
|
|
|
import balanceQuery from '@/mycomponents/query/balanceQuery.vue' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
components: { |
|
|
components: { |
|
@ -110,7 +113,8 @@ |
|
|
recordComDetailCard, |
|
|
recordComDetailCard, |
|
|
recordDetailCard, |
|
|
recordDetailCard, |
|
|
balanceSelect, |
|
|
balanceSelect, |
|
|
winComScanBalance |
|
|
winComScanBalance, |
|
|
|
|
|
balanceQuery |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
@ -156,10 +160,13 @@ |
|
|
// } |
|
|
// } |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//返回首页 |
|
|
//返回首页 |
|
|
onNavigationBarButtonTap(e) { |
|
|
onNavigationBarButtonTap(e) { |
|
|
if (e.index === 0) { |
|
|
if (e.index === 0) { |
|
|
goHome(); |
|
|
goHome(); |
|
|
|
|
|
} else if (e.index == 1) { |
|
|
|
|
|
this.$refs.refBalanceQuery.showDrawer(); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//拦截返回按钮事件 |
|
|
//拦截返回按钮事件 |
|
@ -170,7 +177,27 @@ |
|
|
mounted() {}, |
|
|
mounted() {}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
showDrawer() { |
|
|
|
|
|
this.$refs.showRight.open(); |
|
|
|
|
|
}, |
|
|
|
|
|
closeDrawer() { |
|
|
|
|
|
this.$refs.showRight.close(); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
showDrawer() { |
|
|
|
|
|
this.$refs.showRight.open(); |
|
|
|
|
|
}, |
|
|
|
|
|
closeDrawer() { |
|
|
|
|
|
this.$refs.showRight.close(); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
showDrawer() { |
|
|
|
|
|
this.$refs.showRight.open(); |
|
|
|
|
|
}, |
|
|
|
|
|
closeDrawer() { |
|
|
|
|
|
this.$refs.showRight.close(); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
getBusinessType() { |
|
|
getBusinessType() { |
|
|
getBusinessType(this.businessTypeCode, res => { |
|
|
getBusinessType(this.businessTypeCode, res => { |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|