You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
7.2 KiB
1 line
7.2 KiB
|
3 years ago
|
<view class="data-v-72aefec1"><view class="formBox data-v-72aefec1"><uni-forms vue-id="399d4b36-1" modelValue="{{formData}}" rules="{{rules}}" labelWidth="85px" data-ref="form" class="data-v-72aefec1 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('399d4b36-2')+','+('399d4b36-1')}}" label="商品名称" name="productName" required="{{true}}" class="data-v-72aefec1" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('399d4b36-3')+','+('399d4b36-2')}}" type="text" placeholder="请输入商品名称" trim="all" value="{{formData.productName}}" data-event-opts="{{[['^input',[['__set_model',['$0','productName','$event',[]],['formData']]]]]}}" class="data-v-72aefec1" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('399d4b36-4')+','+('399d4b36-1')}}" label="商品图片" name="productPicture" class="data-v-72aefec1" bind:__l="__l" vue-slots="{{['default']}}"><u-upload vue-id="{{('399d4b36-5')+','+('399d4b36-4')}}" fileList="{{fileList1}}" name="1" multiple="{{true}}" maxCount="{{10}}" data-event-opts="{{[['^afterRead',[['afterRead']]],['^delete',[['deletePic']]]]}}" bind:afterRead="__e" bind:delete="__e" class="data-v-72aefec1" bind:__l="__l"></u-upload></uni-forms-item><uni-forms-item vue-id="{{('399d4b36-6')+','+('399d4b36-1')}}" label=" 供应商" required="{{true}}" name="supplierId" class="data-v-72aefec1" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('399d4b36-7')+','+('399d4b36-6')}}" type="text" placeholder="请输入供应商" trim="all" value="{{formData.supplierId}}" data-event-opts="{{[['^input',[['__set_model',['$0','supplierId','$event',[]],['formData']]]]]}}" class="data-v-72aefec1" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('399d4b36-8')+','+('399d4b36-1')}}" label="货号" name="productSn" required="{{true}}" class="data-v-72aefec1" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('399d4b36-9')+','+('399d4b36-8')}}" type="text" placeholder="请输入货号" trim="all" value="{{formData.productSn}}" data-event-opts="{{[['^input',[['__set_model',['$0','productSn','$event',[]],['formData']]]]]}}" class="data-v-72aefec1" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('399d4b36-10')+','+('399d4b36-1')}}" label="条码" name="barcode" required="{{true}}" class="data-v-72aefec1" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('399d4b36-11')+','+('399d4b36-10')}}" type="text" placeholder="请输入条码" trim="all" value="{{formData.barcode}}" data-event-opts="{{[['^input',[['__set_model',['$0','barcode','$event',[]],['formData']]]]]}}" class="data-v-72aefec1" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('399d4b36-12')+','+('399d4b36-1')}}" label="采购价" name="purchasePrice" required="{{true}}" class="data-v-72aefec1" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('399d4b36-13')+','+('399d4b36-12')}}" type="digit" placeholder="请输入采购价" trim="all" value="{{formData.purchasePrice}}" data-event-opts="{{[['^input',[['__set_model',['$0','purchasePrice','$event',[]],['formData']]]]]}}" class="data-v-72aefec1" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('399d4b36-14')+','+('399d4b36-1')}}" label="批发价" name="wholesalePrice" required="{{true}}" class="data-v-72aefec1" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('399d4b36-15')+','+('399d4b36-14')}}" type="digit" placeholder="请输入批发价" trim="all" value="{{formData.wholesalePrice}}" data-event-opts="{{[['^input',[['__set_model',['$0','wholesalePrice','$event',[]],['formData']]]]]}}" class="data-v-72aefec1" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('399d4b36-16')+','+('399d4b36-1')}}" label="市场价" name="price" required="{{true}}" class="data-v-72aefec1" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput
|