|
|
@@ -29,6 +29,35 @@
|
|
|
</template>
|
|
|
</cwg-tabel>
|
|
|
</view>
|
|
|
+
|
|
|
+ <!-- 专属手续费分配/展示设置确认弹窗 -->
|
|
|
+ <cwg-popup
|
|
|
+ :visible="dialogInfoTradingAddTc"
|
|
|
+ :title="t('Ib.Custom.Btn')"
|
|
|
+ :cancelText="t('Btn.Cancel')"
|
|
|
+ :confirmText="t('Btn.Confirm')"
|
|
|
+ @close="dialogInfoTradingAddCanle"
|
|
|
+ @confirm="dialogInfoTradingAddOpen"
|
|
|
+ >
|
|
|
+ <view class="dia-content custom-dialog-content">
|
|
|
+ <view class="desc-text">
|
|
|
+ <view class="desc-p">{{ t('news_add_field1.CustomerManagement.item1') }}</view>
|
|
|
+ <view class="desc-p">{{ t('news_add_field1.CustomerManagement.item2') }}</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="agree-box">
|
|
|
+ <checkbox-group @change="onAgreeChange">
|
|
|
+ <label class="agree-label">
|
|
|
+ <checkbox :value="1" :checked="dialogInfoTradingAddTcAgree" color="#2b5aed" style="transform:scale(0.8)" />
|
|
|
+ <view class="agree-des">
|
|
|
+ <text>{{ t('news_add_field1.CustomerManagement.item3') }}</text>
|
|
|
+ </view>
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </cwg-popup>
|
|
|
+
|
|
|
</cwg-page-wrapper>
|
|
|
</template>
|
|
|
|
|
|
@@ -47,6 +76,11 @@
|
|
|
const search = ref({
|
|
|
cId: '',
|
|
|
})
|
|
|
+
|
|
|
+ const formInfo = ref({})
|
|
|
+ const dialogInfoTradingAddTc = ref(false)
|
|
|
+ const dialogInfoTradingAddTcAgree = ref(false)
|
|
|
+ const dialogInfoTradingAdd = ref(false)
|
|
|
const { t, locale } = useI18n()
|
|
|
// 表格列配置
|
|
|
const columns = ref([
|
|
|
@@ -177,19 +211,35 @@
|
|
|
}
|
|
|
const handleMenuClick = (item) => {
|
|
|
if (item.type == 'DisplaySettings') {
|
|
|
- const { cId, id, permissionDisplay } = item.row
|
|
|
- formInfoRow.value = {
|
|
|
- cId, id, permissionDisplay,
|
|
|
+ const { dealLogin, id,permissionDisplay,pIbNo,agentDistributionRatio} = item.row
|
|
|
+ formInfo.value = {
|
|
|
+ dealLogin, id,permissionDisplay,
|
|
|
+ ibNo: pIbNo,
|
|
|
+ agentDistributionRatio: agentDistributionRatio== null? '': agentDistributionRatio.toString()
|
|
|
}
|
|
|
- docVisible.value = true
|
|
|
- } else if (item.type == 'exclusiveCommission') {
|
|
|
- const { cId, id, comPoint1, hide1 } = item.row
|
|
|
- pointForm.value = {
|
|
|
- cId, id, comPoint1, hide1,
|
|
|
- }
|
|
|
- pointVisible.value = true
|
|
|
+ dialogInfoTradingAddTcAgree.value = false
|
|
|
+ dialogInfoTradingAddTc.value = true
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ const onAgreeChange = (e: any) => {
|
|
|
+ dialogInfoTradingAddTcAgree.value = e.detail.value.length > 0
|
|
|
+ }
|
|
|
+
|
|
|
+ const dialogInfoTradingAddCanle = () => {
|
|
|
+ dialogInfoTradingAddTc.value = false
|
|
|
+ dialogInfoTradingAddTcAgree.value = false
|
|
|
+ }
|
|
|
+
|
|
|
+ const dialogInfoTradingAddOpen = () => {
|
|
|
+ if (!dialogInfoTradingAddTcAgree.value) {
|
|
|
+ uni.showToast({ title: t('Msg.Read'), icon: 'none' })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ dialogInfoTradingAddTc.value = false
|
|
|
+ dialogInfoTradingAdd.value = true
|
|
|
+ dialogInfoTradingAddTcAgree.value = false
|
|
|
+ }
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
@import "@/uni.scss";
|
|
|
@@ -204,4 +254,39 @@
|
|
|
height: px2rpx(36);
|
|
|
line-height: px2rpx(36);
|
|
|
}
|
|
|
+
|
|
|
+ .custom-dialog-content {
|
|
|
+ padding: px2rpx(20);
|
|
|
+ }
|
|
|
+
|
|
|
+ .desc-text {
|
|
|
+ text-align: initial;
|
|
|
+ line-height: 1.5;
|
|
|
+ margin-bottom: px2rpx(20);
|
|
|
+ color: #333;
|
|
|
+ font-size: px2rpx(14);
|
|
|
+
|
|
|
+ .desc-p {
|
|
|
+ margin-bottom: px2rpx(10);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .agree-box {
|
|
|
+ margin-top: px2rpx(15);
|
|
|
+
|
|
|
+ .agree-label {
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-start;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+
|
|
|
+ .agree-des {
|
|
|
+ flex: 1;
|
|
|
+ font-size: px2rpx(14);
|
|
|
+ color: #606266;
|
|
|
+ line-height: 1.5;
|
|
|
+ margin-left: px2rpx(5);
|
|
|
+ margin-top: px2rpx(3);
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|