hls_crm/unpackage/dist/dev/mp-weixin/pagesA/business/editBusiness.wxml

1 line
3.5 KiB
Plaintext

<view class="data-v-201d1d55"><view class="fllow_form data-v-201d1d55"><view class="data-v-201d1d55"><text class="data-v-201d1d55">*</text>客户名称</view><view data-event-opts="{{[['tap',[['changeCus',['$event']]]]]}}" class="form_right data-v-201d1d55" bindtap="__e"><view class="{{['data-v-201d1d55',customerObj.id?'valueActive':'']}}">{{customerObj.id?customerObj.name:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-201d1d55"></view></view></view><block wx:for="{{listForm}}" wx:for-item="item" wx:for-index="index" wx:key="index"><form-item vue-id="{{'38f1e35e-1-'+index}}" objInfo="{{item}}" data-event-opts="{{[['^changeData',[['changeOtherData']]]]}}" bind:changeData="__e" class="data-v-201d1d55" bind:__l="__l"></form-item></block><view class="fllow_form data-v-201d1d55"><view style="padding-left:15rpx;" class="data-v-201d1d55">购买产品</view><view data-event-opts="{{[['tap',[['addPart',['$event']]]]]}}" class="add_in data-v-201d1d55" bindtap="__e">+添加产品</view></view><block wx:if="{{$root.g0!=0}}"><view class="pro_warp data-v-201d1d55"><block wx:for="{{productList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="li_warp data-v-201d1d55"><view class="cell_con data-v-201d1d55"><view class="cell_con_top data-v-201d1d55"><view class="contitle data-v-201d1d55">{{item.name}}</view><image class="deleimg data-v-201d1d55" src="{{BASE_IMG_URL+'delete1.png'}}" mode data-event-opts="{{[['tap',[['delProduct',[index]]]]]}}" bindtap="__e"></image></view><view class="pro_con_box data-v-201d1d55"><view class="boxleft data-v-201d1d55"><view class="context data-v-201d1d55">{{"编号:"+item.num}}</view><view class="context data-v-201d1d55">{{"单位:"+item.unit}}</view><view class="context data-v-201d1d55">零售价:¥<input class="productPrice data-v-201d1d55" type="digit" placeholder="产品价格" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],[[['productList','',index]]]]]]]}}" value="{{item.price}}" bindinput="__e"/></view><view class="context data-v-201d1d55">批发价:¥<input class="productPrice data-v-201d1d55" type="digit" placeholder="批发价" data-event-opts="{{[['input',[['__set_model',['$0','wholesale','$event',[]],[[['productList','',index]]]]]]]}}" value="{{item.wholesale}}" bindinput="__e"/></view></view><view class="conbot data-v-201d1d55"><view class="conright data-v-201d1d55"><uni-number-box vue-id="{{'38f1e35e-2-'+index}}" min="{{1}}" value="{{item.number}}" data-event-opts="{{[['^change',[['changeNumber',['$event',index]]]],['^input',[['__set_model',['$0','number','$event',[]],[[['productList','',index]]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-201d1d55" bind:__l="__l"></uni-number-box></view></view></view></view></view></block></view></block><view class="btn_g bg-blue button-hover round data-v-201d1d55" id="btn" data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['toSave']]]]]}}" bindtap="__e">保存</view><popup-list bind:selectList="__e" vue-id="38f1e35e-3" data-ref="productChild" data-event-opts="{{[['^selectList',[['selectList']]]]}}" class="data-v-201d1d55 vue-ref" bind:__l="__l"></popup-list><popup-product-config bind:selectList="__e" vue-id="38f1e35e-4" data-ref="productConfig" data-event-opts="{{[['^selectList',[['configList']]]]}}" class="data-v-201d1d55 vue-ref" bind:__l="__l"></popup-product-config><select-customer bind:getCustomerinfo="__e" vue-id="38f1e35e-5" data-ref="customerChild" data-event-opts="{{[['^getCustomerinfo',[['sureSelect']]]]}}" class="data-v-201d1d55 vue-ref" bind:__l="__l"></select-customer></view>