Commit e8afb99f by 张立顺

fix bug

1 parent edc1fb39
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="item goods"> <view class="item goods">
<view class="title"> <view class="title">
<view class="box">商品信息</view> <view class="box">商品信息</view>
<block wx:if="{{ confirmInfo.reworkFlag != 1 && filter.btnPermissions(CHUANGJIANSHIGONGDAN, 'SHIGONGQUEREN') }}"> <block wx:if="{{ confirmInfo.reworkFlag != 1 && filter.btnPermissions(btnPermissions, 'SHIGONGQUEREN') }}">
<block wx:if="{{ !editGoodsFlag }}"> <block wx:if="{{ !editGoodsFlag }}">
<view class="edit-btn" bindtap="handleEditGoods"> <view class="edit-btn" bindtap="handleEditGoods">
<image src="{{ IMG_URL }}repair-order/relate-goods.png" mode="" /> <image src="{{ IMG_URL }}repair-order/relate-goods.png" mode="" />
...@@ -60,17 +60,7 @@ ...@@ -60,17 +60,7 @@
<view class="title"> <view class="title">
<view class="box">施工单信息</view> <view class="box">施工单信息</view>
</view> </view>
<gl-cell <gl-cell border valueAlign="right" label="主技师" requiredAfter labelWidth="var(--fontSize140)" required haveArrow bindclick="showPopup" placeholder="请选择">
border
valueAlign="right"
label="主技师"
requiredAfter
labelWidth="var(--fontSize140)"
required
haveArrow
bindclick="showPopup"
placeholder="请选择"
>
<block wx:if="{{ mainSelected.length }}"> <block wx:if="{{ mainSelected.length }}">
<view class="techic-value text-hide"> <view class="techic-value text-hide">
{{mainSelected[0] && mainSelected[0].staffName}} {{mainSelected[0] && mainSelected[0].staffName}}
...@@ -78,16 +68,7 @@ ...@@ -78,16 +68,7 @@
</view> </view>
</block> </block>
</gl-cell> </gl-cell>
<gl-cell <gl-cell border valueAlign="right" label="副手技师" labelWidth="var(--fontSize140)" haveArrow bindclick="showPopup" data-type="deputy" placeholder="请选择">
border
valueAlign="right"
label="副手技师"
labelWidth="var(--fontSize140)"
haveArrow
bindclick="showPopup"
data-type="deputy"
placeholder="请选择"
>
<block wx:if="{{ deputySelected.length }}"> <block wx:if="{{ deputySelected.length }}">
<view class="techic-value text-hide"> <view class="techic-value text-hide">
<view class="text-hide" wx:if="{{ deputySelected[0] }}"> <view class="text-hide" wx:if="{{ deputySelected[0] }}">
...@@ -142,13 +123,7 @@ ...@@ -142,13 +123,7 @@
<view class="title text-hide">{{item.title}}</view> <view class="title text-hide">{{item.title}}</view>
<block wx:for="{{ item.detailList }}" wx:key="sindex" wx:for-item="i" wx:for-index="sindex"> <block wx:for="{{ item.detailList }}" wx:key="sindex" wx:for-item="i" wx:for-index="sindex">
<view class="service-item edit-item"> <view class="service-item edit-item">
<image <image bindtap="handleDelServices" data-index="{{ index }}" data-sindex="{{ sindex }}" src="{{ IMG_URL }}repair-order/del-goods.png" mode="" />
bindtap="handleDelServices"
data-index="{{ index }}"
data-sindex="{{ sindex }}"
src="{{ IMG_URL }}repair-order/del-goods.png"
mode=""
/>
<view style="flex: 1;display: flex;align-items: center;justify-content: space-between;"> <view style="flex: 1;display: flex;align-items: center;justify-content: space-between;">
<view class="left"> <view class="left">
<view class="name">{{i.serviceItemsName}}</view> <view class="name">{{i.serviceItemsName}}</view>
...@@ -171,36 +146,11 @@ ...@@ -171,36 +146,11 @@
</view> </view>
</view> </view>
</view> </view>
<view <view class="btns {{ isFullSucreen?'isFullSucreen-btn':'' }}" wx:if="{{ filter.btnPermissions(userPermissions, 'SHIGONGQUEREN') }}">
class="btns {{ isFullSucreen?'isFullSucreen-btn':'' }}"
wx:if="{{ filter.btnPermissions(userPermissions, 'SHIGONGQUEREN') }}"
>
<view class="btns-con"> <view class="btns-con">
<view class="confirm text-center" bindtap="submit">提交电子施工单</view> <view class="confirm text-center" bindtap="submit">提交电子施工单</view>
</view> </view>
</view> </view>
<relate-goods-popup
show="{{ relateGoodsVisable }}"
goodsList="{{ goodsList }}"
bindconfirm="handelRelateGoodsConfirm"
selected="{{ editGoodsList }}"
bindcancel="handelRelateGoodsCancel"
baseConfigData="{{ baseConfigData }}"
></relate-goods-popup>
<technician-select-popup
show="{{ artificerSelectPopup }}"
title="选择技师"
copyArtificerList="{{ artificerList }}"
multiple="{{ technicianMultiple }}"
artificerSelectObj="{{ technicianMultiple ? deputySelected : mainSelected }}"
disabledSelectObj="{{ technicianMultiple ? mainSelected : deputySelected }}"
bindconfirm="changeArtificer"
bindcancel="cancelTechnician"
deputyFlag="{{ technicianMultiple }}"
/>
<select-service-popup
show="{{ selectServiceVisable }}"
bindconfirm="handleSelectServiceConfirm"
selected="{{ editServicesList }}"
bindcancel="handleSelectServiceCancel"
></select-service-popup>
\ No newline at end of file \ No newline at end of file
<relate-goods-popup show="{{ relateGoodsVisable }}" goodsList="{{ goodsList }}" bindconfirm="handelRelateGoodsConfirm" selected="{{ editGoodsList }}" bindcancel="handelRelateGoodsCancel" baseConfigData="{{ baseConfigData }}"></relate-goods-popup>
<technician-select-popup show="{{ artificerSelectPopup }}" title="选择技师" copyArtificerList="{{ artificerList }}" multiple="{{ technicianMultiple }}" artificerSelectObj="{{ technicianMultiple ? deputySelected : mainSelected }}" disabledSelectObj="{{ technicianMultiple ? mainSelected : deputySelected }}" bindconfirm="changeArtificer" bindcancel="cancelTechnician" deputyFlag="{{ technicianMultiple }}" />
<select-service-popup show="{{ selectServiceVisable }}" bindconfirm="handleSelectServiceConfirm" selected="{{ editServicesList }}" bindcancel="handleSelectServiceCancel"></select-service-popup>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!