<Yl_Headline title='基本信息' type='switch' switchLabel='仅显示必填信息' switch='{{showAll}}' bind:callBack='onChange' />
<Yl_field id='Form' form='{{form}}' showAll='{{!showAll}}' bind:onConfirm='onConfirm' bind:interrupt="interrupt">
    <view slot='discountrate' style="margin-right: 36rpx;">%</view>
    <!-- <view slot='synchronization' class="info" wx:if="{{synchronization}}" bindtap="startSynchronization">同步</view> -->
</Yl_field>
<view class="box"  wx:if="{{accessory}}">
    <view class="content">
        <view class="upload">
            <view class="title">{{language['附件上传']||'附件上传'}}</view>
            <My_upload accept='media' bind:changeState="changeState" binduploadCallback="insertImgEdit">
                <navigator url="#">
                    <text class="iconfont icon-a-tonggaofujian" />
                </navigator>
            </My_upload>

            <My_upload accept='file' bind:changeState="changeState" binduploadCallback="insertImgEdit">
                <navigator url="#">
                    <text class="iconfont icon-a-biaoqianlanzhiku" />
                </navigator>
            </My_upload>
        </view>
    </view>
    <Yl_Files delete id="Yl_files" />
</view>

<view style="height: 160rpx;" />
<view class="new-footer">
    <van-button custom-class='new-submit sub' disabled='{{isReset || uoloadDisabled }}' bindclick='reset'>{{language['重置日期']||'重置日期'}}</van-button>
    <van-button custom-class='new-submit' disabled='{{disabled || loading || uoloadDisabled }}' loading='{{loading}}' bindclick='submit'>{{language['提交']||'提交'}}</van-button>
</view>