@@ -20,6 +20,7 @@ Page({
followStatus: '跟进状态-跟进',
routeObjName: 'cusFollow',
cardList: ['main'],
+ buttonSaveList:[{code:'add',title:'保存',width:'120rpx'}],
contentObj: {
main: [
{ code: 'cusName', type: 'str', required: true, title: mixins.$t('customerName') },
@@ -30,5 +30,5 @@
<!-- 保存 -->
-<dk-save-bottom flagTypeName="customer-add" bottomClass="{{true}}" bind:submit="toClose" bind:allClean="save" />
+<dk-save-button model:value="{{btnFormData}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonSaveList}}" contentList="{{contentSaveList}}" bind:open="save"></dk-save-button>
@@ -18,6 +18,7 @@ Page({
data: {
{ code: 'cusName', type: 'str', required: true, readonly: true, title: '客户' },
@@ -4,12 +4,4 @@
<dk-form id="{{formName}}" routeObjName="{{routeObjName}}" cardList="{{cardList}}" contentObj="{{contentObj}}" model:value="{{formData}}" bind:chooseData="chooseData">
</dk-form>
-<view style="background:#f8f9fd;position:fixed;bottom:0;padding-bottom:20rpx;width:90%;margin-left:5%;border-top:2rpx solid #efefef;z-index:2">
- <view style="display:flex;justify-content: space-around;width:100%;">
- <view style="width:640rpx;height:88rpx;">
- <van-button color="#1B365D" custom-style="height:80rpx;width:100%;border-radius: 15rpx;" loading="{{loadingButtonFlag}}" disabled="{{loadingButtonFlag}}" bind:click="submit" type="info">保存
- </van-button>
- </view>
-
-</view>
+<dk-save-button model:value="{{btnFormData}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonSaveList}}" contentList="{{contentSaveList}}" bind:open="toAdd"></dk-save-button>
routeObjName: 'customer',
cardList: ['main', 'center', 'remarks'],
@@ -12,5 +12,6 @@
+<!-- <dk-save-bottom flagTypeName="customer-add" bottomClass="{{true}}" bind:submit="toClose" bind:allClean="save" /> -->
radioFollowUp: '1',
@@ -35,4 +35,4 @@