Browse Source

售后产品仅新建状态可以查看

xiaohaizhao 8 months ago
parent
commit
81dce2365c

+ 1 - 1
Eservice/agent/serviceBillDetail/index.wxml

@@ -57,7 +57,7 @@
                 <view style="height: 50px;" />
             </block>
         </t-tab-panel>
-        <t-tab-panel wx:if="{{orderMainData.servicetype !== '售前' && orderMainData.servicetype !== '历史售后'}}" label="售后商品" value="1">
+        <t-tab-panel wx:if="{{orderMainData.servicetype !== '售前' && orderMainData.servicetype !== '历史售后' && orderMainData.status == '新建'}}" label="售后商品" value="1">
             <view style="padding:10px" wx:if="{{list.length === 0}}">
                 <t-empty icon="cart" description="暂未添加商品">
                     <t-button slot="action" theme="primary" size="extra-small" bindtap="addProduct">前往添加</t-button>

+ 1 - 1
Eservice/saler/serviceBillDetail/index.wxml

@@ -53,7 +53,7 @@
     <t-tab-panel label="关联工单" value="0">
       <t-cell wx:for="{{linkWorkOrders}}" wx:key="sa_serviceorderid" title="工单编号" bind:click="tolinkWorkOrder" data-item="{{item}}" note="{{item.billno}}" hover arrow />
     </t-tab-panel>
-    <t-tab-panel wx:if="{{orderMainData.servicetype !== '售前' && orderMainData.servicetype !== '历史售后'}}" label="售后商品" value="1">
+    <t-tab-panel wx:if="{{orderMainData.servicetype !== '售前' && orderMainData.servicetype !== '历史售后' && orderMainData.status == '新建'}}" label="售后商品" value="1">
       <view style="padding:10px" wx:if="{{list.length === 0}}">
         <t-empty icon="cart" description="暂未添加商品">
           <t-button slot="action" theme="primary" size="extra-small" bindtap="addProduct">前往添加</t-button>

+ 1 - 1
Eservice/workerLeader/serviceBillDetail/index.wxml

@@ -64,7 +64,7 @@
       <t-cell wx:for="{{linkWorkOrders}}" wx:key="sa_serviceorderid" title="工单编号" note="{{item.billno}}" data-item="{{item}}" bind:click="tolinkWorkOrder" hover arrow />
       <t-empty wx:if="{{linkWorkOrders.length === 0}}" icon="root-list" t-class="empty-cls" t-class-image="t-empty__image" description="暂无工单" />
     </t-tab-panel>
-    <t-tab-panel wx:if="{{orderMainData.servicetype !== '售前' && orderMainData.servicetype !== '历史售后'}}" label="售后商品" value="1">
+    <t-tab-panel wx:if="{{orderMainData.servicetype !== '售前' && orderMainData.servicetype !== '历史售后' && orderMainData.status == '新建'}}" label="售后商品" value="1">
       <view style="padding:10px" wx:if="{{list.length === 0}}">
         <t-empty icon="cart" description="暂未添加商品">
           <t-button slot="action" theme="primary" size="extra-small" bindtap="addProduct">前往添加</t-button>