imeik-bizui 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="item-view" :class="{ 'disabled-color': disabled }">
3
3
  <div>
4
- <el-tag>{{ customData.belongCompanyName }}</el-tag>
4
+ <el-tag color="#E7F8FB" style="border-color: #B7EDFC; color: #01A0E2;">{{ customData.belongCompanyName }}</el-tag>
5
5
  <el-tag v-if="showAuthorization" effect="plain" style="margin-left: 12px">授权发货</el-tag>
6
6
  <el-tag v-if="showDealer" effect="plain" style="margin-left: 12px">经销商</el-tag>
7
7
  <el-tag v-if="showMedical" effect="plain" style="margin-left: 12px">医疗机构</el-tag>
@@ -14,8 +14,8 @@
14
14
  <div v-if="!showSelect" class="customerDetails">
15
15
  <CustomShow v-if="selectedItem && selectedItem.accountUid" :custom-data="selectedItem" :detail-show="true" :show-list="showList"></CustomShow>
16
16
  <div v-else>-</div>
17
- <div v-if="!isView" class="button">
18
- <el-button type="text" @click="clearInfo">
17
+ <div v-if="!isView" class="button-view">
18
+ <el-button type="text" style="padding: 0; margin: 0" @click="clearInfo">
19
19
  <img src="https://udstatic.imeik.com/pcUploads/1738999803093/delete%402x.png" class="delect-img" @click="clearInfo" />
20
20
  </el-button>
21
21
  </div>
@@ -161,13 +161,20 @@ export default {
161
161
  background: #f2f5fa;
162
162
  padding: 3px 16px;
163
163
  border-radius: 3px;
164
- .button {
165
- width: 40px;
164
+ .button-view {
165
+ width: 24px;
166
+ height: 24px;
166
167
  text-align: center;
167
168
  position: absolute;
168
169
  right: 0;
169
170
  top: 0;
171
+ background: rgba(50,133,246,0.08);
172
+ border-radius: 0px 4px 0px 8px;
173
+ display: flex;
174
+ align-items: center;
175
+ justify-content: center;
170
176
  }
177
+
171
178
  }
172
179
  .text-xs {
173
180
  font-size: 12px;
@@ -614,7 +614,7 @@ export default {
614
614
  },
615
615
  // 检查木方案超不超
616
616
  checkQuantity(row) {
617
- if (!row.materialQuantity || !row.materialSchemeRemainingQuantity) {
617
+ if (!row.materialQuantity || [null, undefined].includes(row.materialSchemeRemainingQuantity)) {
618
618
  this.$set(row, 'overSchemeFlag', '0')
619
619
  this.$set(row, 'overSchemeExplain', '')
620
620
  return false