<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>
</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: 130rpx;" />
<view class="new-footer">
	<van-button custom-class='new-submit' data-submit="0" disabled='{{disabled || loading || subLoading}}' loading='{{loading}}' bindclick='submit'>{{language['保存']||'保存'}}</van-button>
	<van-button wx:if="{{sa_quotedpriceid == 0}}" custom-class='new-submit orange' data-submit="1" disabled='{{disabled || loading  || subLoading}}' loading='{{subLoading}}' bindclick='submit'>{{language['保存并提交']||'保存并提交'}}</van-button>
</view>