imeik-bizui 1.2.4 → 1.2.6
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.
- package/dist/bizui/src/FieldBatchesDelivery/components/MaterialList.vue +2 -2
- package/dist/bizui/src/FieldCustomSelect/components/CustomShow.vue +1 -1
- package/dist/bizui/src/FieldCustomSelect/index.vue +24 -8
- package/dist/bizui/src/FieldMaterialSelect/components/ProductList.vue +6 -6
- package/dist/bizui/src/FieldMaterialSelect/components/SelectProductDialog.vue +16 -7
- package/dist/imeik-bizui.common.js +221 -207
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +2 -2
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +221 -207
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +5 -5
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
<p class="materialSubName">商标:{{ row.materialTrademark }}</p>
|
|
12
12
|
</template>
|
|
13
13
|
<template slot="materialCountInfo" slot-scope="{ row }">
|
|
14
|
-
<p class="
|
|
14
|
+
<p class="materialName">申请数量:{{ row.materialQuantity || '-' }}</p>
|
|
15
15
|
<p class="materialSubName">规格型号:{{ row.materialModel }}</p>
|
|
16
16
|
<p class="materialSubName">规格代码:{{ row.materialSpecCode }}</p>
|
|
17
17
|
<p class="materialSubName">包装规格:{{ row.materialSpecification }}</p>
|
|
18
18
|
<p class="materialSubName">计量单位:{{ row.materialUnit }}</p>
|
|
19
19
|
</template>
|
|
20
20
|
<template slot="deliveryQuantity" slot-scope="{ row }">
|
|
21
|
-
<p v-if="isView">{{ row.deliveryQuantity }}</p>
|
|
21
|
+
<p v-if="isView" class="materialName">{{ row.deliveryQuantity }}</p>
|
|
22
22
|
<div v-else>
|
|
23
23
|
<el-input v-model="row.deliveryQuantity" :class="{ error: row.quantityError || (row.checkData === false && !row.deliveryQuantity) }" placeholder="请输入" @input="handleInput(row)" @blur="handleBlur(row)"></el-input>
|
|
24
24
|
<p v-if="row.quantityError" class="materialSubName" style="margin-top: 10px; color: red">发货数量不能大于剩余发货数量</p>
|
|
@@ -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,11 +14,7 @@
|
|
|
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">
|
|
19
|
-
<img src="https://udstatic.imeik.com/pcUploads/1738999803093/delete%402x.png" class="delect-img" @click="clearInfo" />
|
|
20
|
-
</el-button>
|
|
21
|
-
</div>
|
|
17
|
+
<div v-if="!isView" class="button-view" @click="clearInfo"></div>
|
|
22
18
|
</div>
|
|
23
19
|
<p v-show="showText" class="text-xs">提示:如果申请械类产品,请填写客户名称</p>
|
|
24
20
|
</div>
|
|
@@ -90,7 +86,7 @@ export default {
|
|
|
90
86
|
},
|
|
91
87
|
methods: {
|
|
92
88
|
handleGetEmployeeIsForSale() {
|
|
93
|
-
getEmployeeIsForSale().then(res => {
|
|
89
|
+
getEmployeeIsForSale().then((res) => {
|
|
94
90
|
if (res.code === 200) {
|
|
95
91
|
this.isDeptForSale = res.data
|
|
96
92
|
}
|
|
@@ -161,12 +157,32 @@ export default {
|
|
|
161
157
|
background: #f2f5fa;
|
|
162
158
|
padding: 3px 16px;
|
|
163
159
|
border-radius: 3px;
|
|
164
|
-
.button {
|
|
165
|
-
width:
|
|
160
|
+
.button-view {
|
|
161
|
+
width: 24px;
|
|
162
|
+
height: 24px;
|
|
166
163
|
text-align: center;
|
|
167
164
|
position: absolute;
|
|
168
165
|
right: 0;
|
|
169
166
|
top: 0;
|
|
167
|
+
background: rgba(50, 133, 246, 0.08);
|
|
168
|
+
border-radius: 0px 4px 0px 8px;
|
|
169
|
+
display: flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
justify-content: center;
|
|
172
|
+
background-image: url('https://udstatic.imeik.com/pcUploads/1738999803093/delete%402x.png');
|
|
173
|
+
background-repeat: no-repeat; /* 防止平铺 */
|
|
174
|
+
background-position: center; /* 居中显示 */
|
|
175
|
+
background-size: cover; /* 覆盖整个元素 */
|
|
176
|
+
background-size: 16px;
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
}
|
|
179
|
+
.button-view:hover {
|
|
180
|
+
background: rgba(244, 51, 74, 0.08);
|
|
181
|
+
background-image: url('https://udstatic.imeik.com/pcUploads/1745809448715/delete-red.png');
|
|
182
|
+
background-repeat: no-repeat; /* 防止平铺 */
|
|
183
|
+
background-position: center; /* 居中显示 */
|
|
184
|
+
background-size: cover; /* 覆盖整个元素 */
|
|
185
|
+
background-size: 16px;
|
|
170
186
|
}
|
|
171
187
|
}
|
|
172
188
|
.text-xs {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p><span v-if="!isView" class="start">*</span>超母方案说明</p>
|
|
6
6
|
</template>
|
|
7
7
|
<template slot="materialCountInfoHead">
|
|
8
|
-
<p><span v-if="!isView" class="start">*</span
|
|
8
|
+
<p><span v-if="!isView" class="start">*</span>规格</p>
|
|
9
9
|
</template>
|
|
10
10
|
<template slot="materialBasicsInfo" slot-scope="{ row }">
|
|
11
11
|
<!-- <el-tag type="danger">未签约</el-tag>
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
<div v-else class="materialName">{{ row.materialAssociatedMotherSchemeName || '-' }}</div>
|
|
74
74
|
<div v-if="row.materialAssociatedMotherSchemeCode">
|
|
75
75
|
<p class="schemeCount">
|
|
76
|
-
母方案剩余数量:<span>{{ row.materialSchemeRemainingQuantity }}</span>
|
|
76
|
+
母方案剩余数量:<span style="color: #3285f6">{{ row.materialSchemeRemainingQuantity }}</span>
|
|
77
77
|
</p>
|
|
78
78
|
<p class="schemeCount">
|
|
79
|
-
母方案总数量:<span>{{ row.materialSchemeTotalQuantity }}</span>
|
|
79
|
+
母方案总数量:<span style="color: #3285f6">{{ row.materialSchemeTotalQuantity }}</span>
|
|
80
80
|
</p>
|
|
81
81
|
</div>
|
|
82
82
|
</template>
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
<el-input v-model="row.materialBatch" style="margin-top: 16px" :class="{ 'is-error': !row.materialBatch && row.valid === false }" placeholder="请输入批次号"></el-input>
|
|
103
103
|
<p v-show="!row.materialBatch && row.valid === false" class="error-message">请输入批次号</p>
|
|
104
104
|
</div>
|
|
105
|
-
<div v-if="row.materialBatch && isView && !hasApprovalInputBatch" class="materialName"
|
|
105
|
+
<div v-if="row.materialBatch && isView && !hasApprovalInputBatch" class="materialName">批次号:{{ row.materialBatch || '-' }}</div>
|
|
106
106
|
</template>
|
|
107
107
|
<template slot="warehouse" slot-scope="{ row }">
|
|
108
108
|
<div v-if="hasApprovalInputWarehouse && !row.fixedWarehouseFlag">
|
|
@@ -219,7 +219,7 @@ export default {
|
|
|
219
219
|
},
|
|
220
220
|
materialCountInfo: {
|
|
221
221
|
prop: 'materialCountInfo',
|
|
222
|
-
label: '
|
|
222
|
+
label: '规格',
|
|
223
223
|
type: 'slot',
|
|
224
224
|
slot: 'materialCountInfo',
|
|
225
225
|
headSlot: 'materialCountInfoHead',
|
|
@@ -614,7 +614,7 @@ export default {
|
|
|
614
614
|
},
|
|
615
615
|
// 检查木方案超不超
|
|
616
616
|
checkQuantity(row) {
|
|
617
|
-
if (!row.materialQuantity ||
|
|
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
|
|
@@ -14,16 +14,17 @@
|
|
|
14
14
|
<template slot="productName" slot-scope="{ row }">
|
|
15
15
|
<p class="lineHeight">
|
|
16
16
|
{{ row.materialAbbreviation }}
|
|
17
|
-
<!-- <el-tag type="danger" class="ml-2">未签约</el-tag> -->
|
|
18
17
|
</p>
|
|
19
18
|
<p class="lineHeight">名称:{{ row.materialName }}</p>
|
|
20
19
|
<p class="lineHeight">商标:{{ row.materialTrademark }}</p>
|
|
21
20
|
</template>
|
|
22
21
|
<template slot="materialSpec" slot-scope="{ row }">
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
<div>
|
|
23
|
+
<ImOneLineDot :text="`规格型号:${row.materialModel}`">规格型号:{{ row.materialModel || '-' }}</ImOneLineDot>
|
|
24
|
+
<ImOneLineDot :text="`规格代码:${row.materialSpecCode}`">规格代码:{{ row.materialSpecCode || '-' }}</ImOneLineDot>
|
|
25
|
+
<ImOneLineDot :text="`包装规格:${row.materialModel}`">包装规格:{{ row.materialSpecification || '-' }}</ImOneLineDot>
|
|
26
|
+
<ImOneLineDot :text="`计量单位:${row.materialUnit}`">计量单位:{{ row.materialUnit || '-' }}</ImOneLineDot>
|
|
27
|
+
</div>
|
|
27
28
|
</template>
|
|
28
29
|
</ImTable>
|
|
29
30
|
<ImPagination ref="ImPagination" :page-size.sync="pageSize" :current-page.sync="currentPage" :total="total" @change="getList"></ImPagination>
|
|
@@ -149,8 +150,8 @@ export default {
|
|
|
149
150
|
type: 'slot',
|
|
150
151
|
slot: 'materialSpec',
|
|
151
152
|
attrs: {
|
|
152
|
-
'
|
|
153
|
-
'
|
|
153
|
+
width: '246',
|
|
154
|
+
'show-overflow-tooltip': false
|
|
154
155
|
}
|
|
155
156
|
}
|
|
156
157
|
],
|
|
@@ -280,4 +281,12 @@ export default {
|
|
|
280
281
|
color: #3285f6;
|
|
281
282
|
}
|
|
282
283
|
}
|
|
284
|
+
/deep/ .el-checkbox__input.is-checked .el-checkbox__inner {
|
|
285
|
+
background-color: #3285f6 !important;
|
|
286
|
+
border-color: #3285f6 !important;
|
|
287
|
+
}
|
|
288
|
+
/deep/ .el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
289
|
+
background-color: #3285f6 !important;
|
|
290
|
+
border-color: #3285f6 !important;
|
|
291
|
+
}
|
|
283
292
|
</style>
|