lilei hace 1 año
padre
commit
4e4dd0bebf

+ 1 - 3
src/views/salesManagement/backorder/list.vue

@@ -41,9 +41,7 @@
         bordered>
         <template slot="salesBillNo" slot-scope="text, record">
           <span style="padding-right: 15px;">{{ text }}</span>
-          <a-badge count="促" v-if="record.promotionFlag=='GIFT'" :number-style="{ backgroundColor: '#52c41a', zoom:'80%' }"></a-badge>
-          <!-- <a-badge count="正" v-if="record.promotionFlag=='REGULAR'" :number-style="{ backgroundColor: '#108ee9', zoom:'80%' }"></a-badge> -->
-          <a-badge count="特" v-if="record.promotionFlag=='DISCOUNT'" :number-style="{ backgroundColor: '#faad14', zoom:'80%' }"></a-badge>
+          <a-badge count="促" v-if="record.promoFlag==1" :number-style="{ backgroundColor: '#52c41a', zoom:'80%' }"></a-badge>
         </template>
         <!-- 操作 -->
         <template slot="action" slot-scope="text, record">

+ 1 - 2
src/views/salesManagement/salesOrderWarehouse/list.vue

@@ -87,8 +87,7 @@
         <!-- 单号 -->
         <template slot="stockOutNo" slot-scope="text, record" v-if="$hasPermissions('B_salesOrderWarehouseDetail')">
           <span class="link-bule" @click="handleDetail(record)">{{ record.salesBillNo }}</span>
-          <a-badge count="促" v-if="record.promotionFlag=='GIFT'" :number-style="{ backgroundColor: '#52c41a', zoom:'80%' }"></a-badge>
-          <a-badge count="特" v-if="record.promotionFlag=='DISCOUNT'" :number-style="{ backgroundColor: '#faad14', zoom:'80%' }"></a-badge>
+          <a-badge count="促" v-if="record.promoFlag==1" :number-style="{ backgroundColor: '#52c41a', zoom:'80%' }"></a-badge>
         </template>
       </s-table>
     </a-spin>