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 lines
4.2 KiB
1 lines
4.2 KiB
<view class="data-v-2856392a"><view class="headerBox box data-v-2856392a"><view class="img data-v-2856392a"><image src="../../static/images/logo.png" mode class="data-v-2856392a"></image></view><view class="content data-v-2856392a"><view class="data-v-2856392a"></view><text class="data-v-2856392a">{{goodsDetail.productSn}}</text></view></view><view class="box data-v-2856392a"><uni-forms vue-id="3b1d25c8-1" modelValue="{{goodsDetail}}" labelWidth="75px" rules="{{rules}}" data-ref="form" class="data-v-2856392a vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('3b1d25c8-2')+','+('3b1d25c8-1')}}" label="采购价" name="purchasePrice" required="{{true}}" class="data-v-2856392a" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('3b1d25c8-3')+','+('3b1d25c8-2')}}" type="digit" placeholder="请输入采购价" trim="all" value="{{goodsDetail.purchasePrice}}" data-event-opts="{{[['^input',[['__set_model',['$0','purchasePrice','$event',[]],['goodsDetail']]]]]}}" class="data-v-2856392a" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('3b1d25c8-4')+','+('3b1d25c8-1')}}" label="批发价" name="wholesalePrice" required="{{true}}" class="data-v-2856392a" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('3b1d25c8-5')+','+('3b1d25c8-4')}}" type="digit" placeholder="请输入批发价" trim="all" value="{{goodsDetail.wholesalePrice}}" data-event-opts="{{[['^input',[['__set_model',['$0','wholesalePrice','$event',[]],['goodsDetail']]]]]}}" class="data-v-2856392a" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('3b1d25c8-6')+','+('3b1d25c8-1')}}" label="市场价" name="price" required="{{true}}" class="data-v-2856392a" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('3b1d25c8-7')+','+('3b1d25c8-6')}}" type="digit" placeholder="请输入市场价" trim="all" value="{{goodsDetail.price}}" data-event-opts="{{[['^input',[['__set_model',['$0','price','$event',[]],['goodsDetail']]]]]}}" class="data-v-2856392a" bind:__l="__l"></uni-easyinput></uni-forms-item><view class="attr data-v-2856392a"><block wx:for="{{goodsDetail.attributeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="content data-v-2856392a"><view class="attrName data-v-2856392a">{{''+item.name+''}}</view><view class="attrs data-v-2856392a"><uni-data-checkbox vue-id="{{('3b1d25c8-8-'+index)+','+('3b1d25c8-1')}}" localdata="{{range}}" value="{{value}}" data-event-opts="{{[['^change',[['change']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-2856392a" bind:__l="__l"></uni-data-checkbox><block wx:for="{{item.value}}" wx:for-item="itemTag" wx:for-index="index1" wx:key="index1"><text data-event-opts="{{[['tap',[['attrNameChange',[index,index1]]]]]}}" class="{{['data-v-2856392a',itemTag.isChecked?'checkedText':'']}}" catchtap="__e">{{''+itemTag.value}}</text></block></view></view></block></view><uni-forms-item vue-id="{{('3b1d25c8-9')+','+('3b1d25c8-1')}}" label="采购数量" name="productCount" required="{{true}}" class="data-v-2856392a" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('3b1d25c8-10')+','+('3b1d25c8-9')}}" type="number" placeholder="请输入采购数量" trim="all" value="{{goodsDetail.productCount}}" data-event-opts="{{[['^input',[['__set_model',['$0','productCount','$event',[]],['goodsDetail']]]]]}}" class="data-v-2856392a" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('3b1d25c8-11')+','+('3b1d25c8-1')}}" label="金额" name="productCount" class="data-v-2856392a" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput vue-id="{{('3b1d25c8-12')+','+('3b1d25c8-11')}}" type="number" value="{{goodsDetail.productCount*goodsDetail.purchasePrice}}" disabled="{{true}}" class="data-v-2856392a" bind:__l="__l"></uni-easyinput></uni-forms-item></uni-forms></view><view class="tui-tabbar data-v-2856392a"><u-button vue-id="3b1d25c8-13" type="primary" plain="{{true}}" data-event-opts="{{[['^tap',[['submit',['$event']]]]]}}" catch:tap="__e" class="data-v-2856392a" bind:__l="__l" vue-slots="{{['default']}}">确认入库</u-button></view></view>
|