ci-plus 1.4.5 → 1.4.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ci-plus",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
4
4
  "description": "ci组件库",
5
5
  "main": "./index.ts",
6
6
  "scripts": {
@@ -11,7 +11,8 @@
11
11
  "keywords": [
12
12
  "vue",
13
13
  "element-plus",
14
- "ui组件库二次封装"
14
+ "ui组件库二次封装",
15
+ "更新标识卡中产品标识卡操作工取值"
15
16
  ],
16
17
  "type": "module",
17
18
  "author": {
@@ -21,7 +22,7 @@
21
22
  "license": "ISC",
22
23
  "dependencies": {},
23
24
  "devDependencies": {
24
- "lodash": "^4.17.21",
25
+ "lodash-es": "^4.17.21",
25
26
  "sortablejs": "^1.15.1",
26
27
  "jsbarcode": "^3.11.4",
27
28
  "@types/jsbarcode": "^3.11.4",
@@ -32,7 +32,7 @@
32
32
  <div v-else>
33
33
  <el-pagination
34
34
  v-model:current-page="basic.s_page"
35
- small
35
+ size="small"
36
36
  layout="prev, pager, next"
37
37
  :pager-count="5"
38
38
  :page-size="10"
@@ -150,7 +150,7 @@
150
150
  layout="total,sizes, prev, pager, next,jumper"
151
151
  :pager-count="5"
152
152
  :total="basic.count"
153
- small
153
+ size="small"
154
154
  :page-sizes="[30, 100, 200]"
155
155
  v-model:current-page="basic.page"
156
156
  v-model:page-size="basic.limit"
@@ -116,7 +116,7 @@
116
116
  v-model:current-page="currentPage"
117
117
  v-model:page-size="pageSize"
118
118
  :page-sizes="[20, 30, 50, 100, 500]"
119
- small
119
+ size="small"
120
120
  :background="background"
121
121
  layout=" prev, pager, next, jumper,total"
122
122
  :total="selectOptionTotal"
@@ -167,7 +167,7 @@
167
167
  defineOptions({ name: 'ci-headerInput' })
168
168
  import SvgIcon from '../svgIcon/svgicon.vue'
169
169
  import { computed, ref, watch, PropType, onMounted } from 'vue'
170
- import lodash, { debounce } from 'lodash'
170
+ import lodash, { debounce } from 'lodash-es'
171
171
  import headerPopover from './utils/headerPopover.vue'
172
172
  import filterIconVue from './utils/filterIcon.vue'
173
173
  import { TooltipTriggerType } from 'element-plus'
@@ -16,7 +16,7 @@ import Sortable from 'sortablejs'
16
16
  import { computed, onBeforeMount, onMounted, ref } from 'vue'
17
17
  import { SortableTableIns, SortColumn } from './utils/interface'
18
18
  import sortableTableColumnCell from './index/sortableTableColumnCell'
19
- import { cloneDeep } from 'lodash'
19
+ import { cloneDeep } from 'lodash-es'
20
20
  let props = defineProps<SortableTableIns>()
21
21
  const elTableRef = ref<InstanceType<typeof ElTable>>()
22
22
  const emits = defineEmits(['update:modelValue', 'update:data'])
@@ -27,7 +27,7 @@ import Sortable from 'sortablejs'
27
27
  import { VNode, computed, ref } from 'vue'
28
28
  import { SortableTableIns, SortColumn } from './utils/interface'
29
29
  import sortableTableColumnCell from './index/sortableTableColumnCell'
30
- import { cloneDeep } from 'lodash'
30
+ import { cloneDeep } from 'lodash-es'
31
31
  let props = defineProps<SortableTableIns>()
32
32
  const elTableRef = ref<InstanceType<typeof ElTable>>()
33
33
  const emits = defineEmits(['update:modelValue', 'update:data'])
@@ -69,8 +69,8 @@ export const cardPrint = (
69
69
  r6c2: item.process_name, // 本工序
70
70
  r6c4: item.next_process_name, // 下工序
71
71
  r7c2: item.current_inventory, // 本箱数量
72
- r7c4: item.opt_user_name, // 操作工/自检员
73
- r8c2: item.center_data[0]?.inspector, // 检验员
72
+ r7c4: item.report_user_name ? item.report_user_name : item.opt_user_name, // 操作工/自检员
73
+ r8c2: item.center_data[0]?.inspector, // 巡检员
74
74
  r8c4: setDate(item.product_date), // 生产日期
75
75
  r9c2: item.value, // 规值
76
76
  r9c4: item.specification, // 规格
@@ -316,7 +316,7 @@ export const cardPrint = (
316
316
  r9c1: '材料厂家', // 建
317
317
  r9c2: item.center_data[0]?.material_manufacturer,
318
318
  r9c3: '材料牌号', // 建
319
- r9c4: '', // 责任人
319
+ r9c4: item.center_data[0]?.material_mark,
320
320
  r10c1: '总箱数', // 建
321
321
  r10c2: item.total_row,
322
322
  r10c3: '单重',
@@ -486,8 +486,10 @@ export const cardPrint = (
486
486
  r8c4: item.center_data[0]?.consignee, // 值
487
487
  r9c1: '材料厂家', // 建
488
488
  r9c2: item.center_data[0]?.material_manufacturer,
489
- r9c3: '抽检结果', // 建
490
- r9c4: '', // 责任人
489
+ // r9c3: '抽检结果', // 建
490
+ // r9c4: '',
491
+ r9c3: '材料牌号', // 建
492
+ r9c4: item.center_data[0]?.material_mark,
491
493
  r10c1: '返工工序',
492
494
  r10c2: item.rework_process_names,
493
495
  r10c3: '返工总数',
@@ -783,8 +785,8 @@ export const cardPrint = (
783
785
  r8c4: item.center_data[0]?.consignee, // 值
784
786
  r9c1: '材料厂商',
785
787
  r9c2: item.center_data[0]?.material_manufacturer,
786
- r9c3: '材料品牌',
787
- r9c4: '',
788
+ r9c3: '材料牌号',
789
+ r9c4: item.center_data[0]?.material_mark,
788
790
  r10c1: '总箱数',
789
791
  r10c2: item.total_row,
790
792
  r10c3: '单重',