imeik-bizui 0.2.6 → 0.2.9

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.
@@ -134,3 +134,17 @@ export function getEmployeeAddress(data) {
134
134
  params: data
135
135
  })
136
136
  }
137
+
138
+ /**
139
+ * 获取预算科目
140
+ * @param {*} data
141
+ * @returns
142
+ */
143
+ export function getEcsErpCode(data) {
144
+ return request({
145
+ url: '/application-center-admin/common/getEcsErpCode',
146
+ method: 'get',
147
+ params: data
148
+ })
149
+ }
150
+
@@ -7,10 +7,10 @@
7
7
  * 4: 上市后大样本临床研究
8
8
  */
9
9
  const typeItems = {
10
- 1: [
10
+ '1897633650850717699': [
11
11
  {
12
12
  type: 'FieldEmpty',
13
- span: 18,
13
+ span: 12,
14
14
  label: '',
15
15
  attrs: {
16
16
  style: {
@@ -20,7 +20,7 @@ const typeItems = {
20
20
  },
21
21
  {
22
22
  type: 'ImInput',
23
- prop: 'yusuankemu',
23
+ prop: 'budgetSubjecName',
24
24
  label: '预算科目',
25
25
  attrs: {
26
26
  disabled: true
@@ -28,7 +28,7 @@ const typeItems = {
28
28
  },
29
29
  {
30
30
  type: 'ImInput',
31
- prop: 'chukuleixing',
31
+ prop: 'erpBillType',
32
32
  label: 'ERP出库类型',
33
33
  attrs: {
34
34
  disabled: true
@@ -36,7 +36,7 @@ const typeItems = {
36
36
  },
37
37
  {
38
38
  type: 'ImInput',
39
- prop: 'yanjiubianhao',
39
+ prop: 'projectName',
40
40
  label: '上市后临床研究项目编号',
41
41
  attrs: {
42
42
  disabled: true
@@ -54,7 +54,7 @@ const typeItems = {
54
54
  },
55
55
  {
56
56
  type: 'ImSlot',
57
- prop: 'doctor',
57
+ prop: 'applicationApplyDoctor',
58
58
  span: 24,
59
59
  label: '医生姓名和职务',
60
60
  rules: [{ required: true, message: '请选择医生' }],
@@ -64,7 +64,7 @@ const typeItems = {
64
64
  },
65
65
  {
66
66
  type: 'FieldDateSelect',
67
- prop: 'zhusheshijian',
67
+ prop: 'planInjectDate',
68
68
  label: '计划产品注射日期',
69
69
  rules: [{ required: true, message: '请选择计划产品注射日期' }],
70
70
  attrs: {
@@ -108,7 +108,7 @@ const typeItems = {
108
108
  },
109
109
  {
110
110
  type: 'FieldDatePicker',
111
- prop: 'kaishishijian',
111
+ prop: 'promiseTargetDate',
112
112
  span: 12,
113
113
  attrs: {
114
114
  labelArray: ['承诺目标开始时间', '承诺目标结束时间']
@@ -126,7 +126,7 @@ const typeItems = {
126
126
  },
127
127
  {
128
128
  type: 'ImInput',
129
- prop: 'goals',
129
+ prop: 'promiseTarget',
130
130
  label: '承诺目标',
131
131
  rules: [{ required: true, message: '请输入承诺目标' }],
132
132
  attrs: {
@@ -139,7 +139,7 @@ const typeItems = {
139
139
  '1896397579093626883': [
140
140
  {
141
141
  type: 'FieldEmpty',
142
- span: 18,
142
+ span: 12,
143
143
  label: '',
144
144
  attrs: {
145
145
  style: {
@@ -149,7 +149,7 @@ const typeItems = {
149
149
  },
150
150
  {
151
151
  type: 'ImInput',
152
- prop: 'yusuankemu',
152
+ prop: 'budgetSubjecName',
153
153
  label: '预算科目',
154
154
  attrs: {
155
155
  disabled: true
@@ -157,7 +157,7 @@ const typeItems = {
157
157
  },
158
158
  {
159
159
  type: 'ImInput',
160
- prop: 'chukuleixing',
160
+ prop: 'erpBillCode',
161
161
  label: 'ERP出库类型',
162
162
  attrs: {
163
163
  disabled: true
@@ -165,7 +165,7 @@ const typeItems = {
165
165
  },
166
166
  {
167
167
  type: 'ImInput',
168
- prop: 'yanjiubianhao',
168
+ prop: 'projectCode',
169
169
  label: '上市后临床研究项目编号',
170
170
  attrs: {
171
171
  disabled: true
@@ -183,7 +183,7 @@ const typeItems = {
183
183
  },
184
184
  {
185
185
  type: 'ImInput',
186
- prop: 'xaungmumingcheng',
186
+ prop: 'projectName',
187
187
  rules: [{ required: true, message: '请输入项目名称' }],
188
188
  label: '项目名称',
189
189
  attrs: {
@@ -202,7 +202,7 @@ const typeItems = {
202
202
  },
203
203
  {
204
204
  type: 'ImRadio',
205
- prop: 'yanjiu',
205
+ prop: 'studySchemeAuditFlag',
206
206
  label: '研究方案是否通过公司领导层审核',
207
207
  rules: [{ required: true, message: '请选择研究方案是否通过公司领导层审核' }],
208
208
  attrs: {
@@ -227,7 +227,7 @@ const typeItems = {
227
227
  },
228
228
  {
229
229
  type: 'ImRadio',
230
- prop: 'qianshu',
230
+ prop: 'cooperationContractFlag',
231
231
  label: '是否签署合作协议或技术服务合同',
232
232
  rules: [{ required: true, message: '请选择是否签署合作协议或技术服务合同' }],
233
233
  attrs: {
@@ -252,7 +252,7 @@ const typeItems = {
252
252
  },
253
253
  {
254
254
  type: 'ImRadio',
255
- prop: 'jigou',
255
+ prop: 'ethicsCommitteeApprovalFlag',
256
256
  label: '是否需要机构伦理委员会审批及审批结果',
257
257
  rules: [{ required: true, message: '请选择是否需要机构伦理委员会审批及审批结果' }],
258
258
  attrs: {
@@ -287,7 +287,7 @@ const typeItems = {
287
287
  },
288
288
  {
289
289
  type: 'ImInput',
290
- prop: 'zhouqi',
290
+ prop: 'studyCycleResult',
291
291
  label: '研究周期与预期成果',
292
292
  rules: [{ required: true, message: '请输入研究周期与预期成果' }],
293
293
  attrs: {
@@ -303,7 +303,7 @@ const typeItems = {
303
303
  '1896397579114598403': [
304
304
  {
305
305
  type: 'FieldEmpty',
306
- span: 18,
306
+ span: 12,
307
307
  label: '',
308
308
  attrs: {
309
309
  style: {
@@ -313,7 +313,7 @@ const typeItems = {
313
313
  },
314
314
  {
315
315
  type: 'ImInput',
316
- prop: 'yusuankemu',
316
+ prop: 'budgetSubjecName',
317
317
  label: '预算科目',
318
318
  attrs: {
319
319
  disabled: true
@@ -321,7 +321,7 @@ const typeItems = {
321
321
  },
322
322
  {
323
323
  type: 'ImInput',
324
- prop: 'chukuleixing',
324
+ prop: 'erpBillCode',
325
325
  label: 'ERP出库类型',
326
326
  attrs: {
327
327
  disabled: true
@@ -329,7 +329,7 @@ const typeItems = {
329
329
  },
330
330
  {
331
331
  type: 'ImInput',
332
- prop: 'yanjiubianhao',
332
+ prop: 'projectCode',
333
333
  label: '上市后临床研究项目编号',
334
334
  attrs: {
335
335
  disabled: true
@@ -347,11 +347,11 @@ const typeItems = {
347
347
  },
348
348
  {
349
349
  type: 'ImInput',
350
- prop: 'xaungmumingcheng',
350
+ prop: 'projectName',
351
351
  rules: [{ required: true, message: '请输入项目名称' }],
352
352
  label: '项目名称',
353
353
  attrs: {
354
- placeholder: '即方案名称:例如濡白天使软型号产品验证方案【本方案必须石总审批后的】'
354
+ placeholder: '即方案名称:例如濡白天使软型号产品验证方'
355
355
  }
356
356
  },
357
357
  {
@@ -366,7 +366,7 @@ const typeItems = {
366
366
  },
367
367
  {
368
368
  type: 'ImRadio',
369
- prop: 'yanjiu',
369
+ prop: 'studySchemeAuditFlag',
370
370
  label: '研究方案是否通过公司领导层审核',
371
371
  rules: [{ required: true, message: '请选择研究方案是否通过公司领导层审核' }],
372
372
  attrs: {
@@ -391,7 +391,7 @@ const typeItems = {
391
391
  },
392
392
  {
393
393
  type: 'ImRadio',
394
- prop: 'qianshu',
394
+ prop: 'cooperationContractFlag',
395
395
  label: '是否签署合作协议或技术服务合同',
396
396
  rules: [{ required: true, message: '请选择是否签署合作协议或技术服务合同' }],
397
397
  attrs: {
@@ -416,7 +416,7 @@ const typeItems = {
416
416
  },
417
417
  {
418
418
  type: 'ImRadio',
419
- prop: 'jigou',
419
+ prop: 'ethicsCommitteeApprovalFlag',
420
420
  label: '是否需要机构伦理委员会审批及审批结果',
421
421
  rules: [{ required: true, message: '请选择是否需要机构伦理委员会审批及审批结果' }],
422
422
  attrs: {
@@ -451,7 +451,7 @@ const typeItems = {
451
451
  },
452
452
  {
453
453
  type: 'ImInput',
454
- prop: 'zhouqi',
454
+ prop: 'studyCycleResult',
455
455
  label: '研究周期与预期成果',
456
456
  rules: [{ required: true, message: '请输入研究周期与预期成果' }],
457
457
  attrs: {
@@ -467,7 +467,7 @@ const typeItems = {
467
467
  '1896397579127181314': [
468
468
  {
469
469
  type: 'FieldEmpty',
470
- span: 18,
470
+ span: 12,
471
471
  label: '',
472
472
  attrs: {
473
473
  style: {
@@ -477,7 +477,7 @@ const typeItems = {
477
477
  },
478
478
  {
479
479
  type: 'ImInput',
480
- prop: 'yusuankemu',
480
+ prop: 'budgetSubjectName',
481
481
  label: '预算科目',
482
482
  attrs: {
483
483
  disabled: true
@@ -485,7 +485,7 @@ const typeItems = {
485
485
  },
486
486
  {
487
487
  type: 'ImInput',
488
- prop: 'chukuleixing',
488
+ prop: 'erpBillName',
489
489
  label: 'ERP出库类型',
490
490
  attrs: {
491
491
  disabled: true
@@ -493,7 +493,7 @@ const typeItems = {
493
493
  },
494
494
  {
495
495
  type: 'ImInput',
496
- prop: 'yanjiubianhao',
496
+ prop: 'projectCode',
497
497
  label: '上市后临床研究项目编号',
498
498
  attrs: {
499
499
  disabled: true
@@ -511,7 +511,7 @@ const typeItems = {
511
511
  },
512
512
  {
513
513
  type: 'ImInput',
514
- prop: 'xaungmumingcheng',
514
+ prop: 'projectName',
515
515
  rules: [{ required: true, message: '请输入项目名称' }],
516
516
  label: '项目名称',
517
517
  attrs: {
@@ -530,7 +530,7 @@ const typeItems = {
530
530
  },
531
531
  {
532
532
  type: 'ImRadio',
533
- prop: 'yanjiu',
533
+ prop: 'studySchemeAuditFlag',
534
534
  label: '研究方案是否通过公司领导层审核',
535
535
  rules: [{ required: true, message: '请选择研究方案是否通过公司领导层审核' }],
536
536
  attrs: {
@@ -555,7 +555,7 @@ const typeItems = {
555
555
  },
556
556
  {
557
557
  type: 'ImRadio',
558
- prop: 'qianshu',
558
+ prop: 'cooperationContractFlag',
559
559
  label: '是否签署合作协议或技术服务合同',
560
560
  rules: [{ required: true, message: '请选择是否签署合作协议或技术服务合同' }],
561
561
  attrs: {
@@ -580,7 +580,7 @@ const typeItems = {
580
580
  },
581
581
  {
582
582
  type: 'ImRadio',
583
- prop: 'jigou',
583
+ prop: 'ethicsCommitteeApprovalFlag',
584
584
  label: '是否需要机构伦理委员会审批及审批结果',
585
585
  rules: [{ required: true, message: '请选择是否需要机构伦理委员会审批及审批结果' }],
586
586
  attrs: {
@@ -615,7 +615,7 @@ const typeItems = {
615
615
  },
616
616
  {
617
617
  type: 'ImInput',
618
- prop: 'fuzeren',
618
+ prop: 'studyChargeUserCode',
619
619
  label: '爱美客研究负责人',
620
620
  attrs: {
621
621
  style: {
@@ -635,7 +635,7 @@ const typeItems = {
635
635
  },
636
636
  {
637
637
  type: 'ImInput',
638
- prop: 'zhouqi',
638
+ prop: 'studyCycleResult',
639
639
  label: '研究周期与预期成果',
640
640
  rules: [{ required: true, message: '请输入研究周期与预期成果' }],
641
641
  attrs: {
@@ -9,13 +9,18 @@
9
9
  <script>
10
10
  import { getTypeItems } from './data'
11
11
  import FieldSeleceDoctor from '../FieldSeleceDoctor/index.vue'
12
- import { getTagManageList, getProjectNo } from '../../api/applycenter'
12
+ import { getTagManageList, getProjectNo, getEcsErpCode } from '../../api/applycenter'
13
13
  import Axios from 'axios'
14
14
  export default {
15
15
  name: 'applyTypeView',
16
16
  components: {
17
17
  FieldSeleceDoctor
18
18
  },
19
+ inject: {
20
+ formProps: {
21
+ default: () => {}
22
+ }
23
+ },
19
24
  props: {
20
25
  value: {
21
26
  type: Object,
@@ -40,13 +45,17 @@ export default {
40
45
  labelPosition: 'top'
41
46
  },
42
47
  props: {
43
- applyType: undefined
48
+ applyType: undefined,
49
+ valid: undefined
44
50
  },
45
51
  formItems: []
46
52
  }
47
53
  }
48
54
  },
49
55
  computed: {
56
+ belongCompany() {
57
+ return this.formProps.applicationApplyCustomer?.invoiceCompanyCode || ''
58
+ },
50
59
  doctorAttrs() {
51
60
  return { isView: this.isView }
52
61
  },
@@ -55,6 +64,7 @@ export default {
55
64
  {
56
65
  type: 'ImSelect',
57
66
  prop: 'applyType',
67
+ span: 12,
58
68
  label: '申请类型',
59
69
  rules: [{ required: !this.isView, message: '请选择申请类型' }],
60
70
  attrs: {
@@ -92,6 +102,11 @@ export default {
92
102
  }
93
103
  },
94
104
  mounted() {
105
+ if (this.$bizui.bus) {
106
+ this.$bizui.bus.$on('applySubmit', (val) => {
107
+ this.handleValidate()
108
+ })
109
+ }
95
110
  this.getApplyList()
96
111
  },
97
112
  methods: {
@@ -99,7 +114,6 @@ export default {
99
114
  getTagManageList({ tagModel: 'APPLY', tagName: '申请出库类型' }).then((res) => {
100
115
  if (res.code === 200) {
101
116
  Axios.get(res.data[0].tagValueUrl).then((valData) => {
102
- console.log('请求', valData)
103
117
  if (valData.data.code === 200) {
104
118
  this.handleOptions(valData.data.data)
105
119
  }
@@ -109,6 +123,12 @@ export default {
109
123
  }
110
124
  })
111
125
  },
126
+ handleValidate() {
127
+ this.$refs.ImForm.validate((valid) => {
128
+ this.formConfig.props.valid = valid
129
+ this.setPropsData()
130
+ })
131
+ },
112
132
  handleOptions(data) {
113
133
  const allData =
114
134
  data?.flatMap((item) => {
@@ -120,11 +140,13 @@ export default {
120
140
  )
121
141
  }) || []
122
142
  const resData = []
123
- allData?.forEach((element) => {
124
- if (this.attrs.applyTypeOptions?.options.includes(element.value)) {
125
- resData.push(element)
126
- }
127
- })
143
+ if (this.attrs.applyTypeOptions?.options && this.attrs.applyTypeOptions?.options.length) {
144
+ allData?.forEach((element) => {
145
+ if (this.attrs.applyTypeOptions.options.includes(element.value)) {
146
+ resData.push(element)
147
+ }
148
+ })
149
+ }
128
150
  this.formConfig.formItems[0].attrs.options = resData
129
151
  if (this.attrs.applyTypeOptions.default) {
130
152
  this.formConfig.props.applyType = this.attrs.applyTypeOptions.default
@@ -141,21 +163,27 @@ export default {
141
163
  },
142
164
  // 与大表单同步数据,更新数据
143
165
  setPropsData() {
144
- console.log('触发更新')
145
166
  this.$emit('input', this.formConfig.props)
146
167
  this.$emit('change', this.formConfig.props)
147
168
  },
148
169
  setTypeDataOnChange() {
149
- getProjectNo().then(res => {
170
+ getProjectNo().then((res) => {
171
+ if (res.code === 200) {
172
+ this.formConfig.props.projectCode = res.data.projectNo
173
+ } else {
174
+ this.$message.error(res.msg)
175
+ }
176
+ })
177
+ getEcsErpCode({ applyType: this.formConfig.props.applyType, belongCompany: this.belongCompany }).then((res) => {
150
178
  if (res.code === 200) {
151
- this.formConfig.props.yanjiubianhao = res.data.projectNo
179
+ this.formConfig.props.budgetSubjectCode = res.data.budgetSubjectCode
180
+ this.formConfig.props.budgetSubjectName = res.data.budgetSubjectName
181
+ this.formConfig.props.erpBillName = res.data.erpBillName
182
+ this.formConfig.props.erpBillCode = res.data.erpBillCode
152
183
  } else {
153
184
  this.$message.error(res.msg)
154
185
  }
155
186
  })
156
- // this.formConfig.props.yusuankemu = '预算科目'
157
- // this.formConfig.props.chukuleixing = '预算科目2'
158
- // this.formConfig.props.yanjiubianhao = '预算科目3'
159
187
  }
160
188
  }
161
189
  }
@@ -72,7 +72,7 @@ export default {
72
72
  computed: {
73
73
  // 是否选择了客户
74
74
  hasCustom() {
75
- return this.formProps.applicationApplyCustomer.accountCode
75
+ return this.formProps.applicationApplyCustomer?.accountCode
76
76
  },
77
77
  // 是不是械类产品,是什么械类
78
78
  isEquipment() {
@@ -40,7 +40,14 @@
40
40
  </template>
41
41
  <template slot="materialSchemeInfo" slot-scope="{ row }">
42
42
  <el-select v-if="!isView" v-model="row.materialAssociatedMotherScheme" placeholder="请选择" @change="(val) => handleChangeScheme(val, row)">
43
- <el-option v-for="item in row.motherSchemeList || []" :key="item.materialAssociatedMotherSchemeCode" style="width: 100%" :label="item.materialAssociatedMotherSchemeName" :value="item.materialAssociatedMotherSchemeCode"> </el-option>
43
+ <el-option
44
+ v-for="item in row.motherSchemeList || []"
45
+ :key="item.materialAssociatedMotherSchemeCode"
46
+ style="width: 100%"
47
+ :label="item.materialAssociatedMotherSchemeName"
48
+ :value="item.materialAssociatedMotherSchemeCode"
49
+ >
50
+ </el-option>
44
51
  </el-select>
45
52
  <div v-else>{{ row.materialAssociatedMotherSchemeName || '-' }}</div>
46
53
  <div v-if="row.materialAssociatedMotherScheme">
@@ -153,26 +160,6 @@ export default {
153
160
  data: [],
154
161
  tableItems: []
155
162
  },
156
- schemeOptions: [
157
- {
158
- value: '母方案1',
159
- label: '母方案1'
160
- },
161
- {
162
- value: '母方案2',
163
- label: '母方案2'
164
- }
165
- ],
166
- batchOptions: [
167
- {
168
- value: '是',
169
- label: '是'
170
- },
171
- {
172
- value: '否',
173
- label: '否'
174
- }
175
- ],
176
163
  allTableItemMap: {
177
164
  materialBasicsInfo: {
178
165
  prop: 'materialBasicsInfo',
@@ -295,18 +282,22 @@ export default {
295
282
  methods: {
296
283
  getMaterialOtherData() {
297
284
  this.tableConfig.data.forEach((item, index) => {
298
- this.handleGetMotherSchemeList(item, index)
299
- this.handleGetMaterialReceivingAddressList(item, index)
285
+ if (!item.hasAddress) {
286
+ this.handleGetMaterialReceivingAddressList(item, index)
287
+ }
288
+ if (this.tableItemArr.includes('materialSchemeInfo') && !item.motherSchemeList) {
289
+ this.handleGetMotherSchemeList(item, index)
290
+ }
300
291
  })
301
292
  },
302
293
  // 获取地址列表
303
294
  handleGetMaterialReceivingAddressList(data, index) {
304
295
  getMaterialReceivingAddressList({
305
296
  materialCode: data.materialCode,
306
- accountCode: this.formProps.applicationApplyCustomer.accountCode,
297
+ accountCode: this.formProps.applicationApplyCustomer?.accountCode,
307
298
  materialSaleType: data.materialSaleType
308
299
  }).then((res) => {
309
- if (res.code === 200) {
300
+ if (res.code === 200 && res.data.length) {
310
301
  const {
311
302
  materialReceivingAddress,
312
303
  materialReceivingAddressType,
@@ -323,6 +314,7 @@ export default {
323
314
  this.tableConfig.data[index].materialReceivingContact = materialReceivingContact
324
315
  this.tableConfig.data[index].materialReceivingContactNumber = materialReceivingContactNumber
325
316
  this.tableConfig.data[index].materialReceivingProvince = materialReceivingProvince
317
+ this.tableConfig.data[index].hasAddress = true
326
318
  }
327
319
  })
328
320
  },
@@ -330,7 +322,7 @@ export default {
330
322
  handleGetMotherSchemeList(data, index) {
331
323
  getMotherSchemeList({
332
324
  materialCode: data.materialCode,
333
- customerUniqueCode: this.formProps.applicationApplyCustomer.customerUniqueCode
325
+ customerUniqueCode: this.formProps.applicationApplyCustomer?.customerUniqueCode
334
326
  }).then((res) => {
335
327
  if (res.code === 200) {
336
328
  this.$set(this.tableConfig.data[index], 'motherSchemeList', res.data)
@@ -377,14 +369,13 @@ export default {
377
369
  handleConfirmAddress(data) {
378
370
  try {
379
371
  this.$set(this.tableConfig.data, this.currentItem.index, data)
380
- console.log(this.tableConfig.data, 'this.tableConfig.data')
381
372
  } catch (error) {
382
373
  console.log(error)
383
374
  }
384
375
  },
385
376
  // 选择木方案后把对应的数据写到产品上
386
377
  handleChangeScheme(val, row) {
387
- row.motherSchemeList.forEach(item => {
378
+ row.motherSchemeList.forEach((item) => {
388
379
  if (item.materialAssociatedMotherSchemeCode === val) {
389
380
  row.materialSchemeRemainingQuantity = item.materialSchemeRemainingQuantity
390
381
  row.materialSchemeTotalQuantity = item.materialSchemeTotalQuantity
@@ -42,6 +42,11 @@
42
42
  import { getMaterialList } from '../../../api/applycenter'
43
43
  export default {
44
44
  name: 'SelectProductDialog',
45
+ inject: {
46
+ formProps: {
47
+ default: () => {}
48
+ }
49
+ },
45
50
  data() {
46
51
  return {
47
52
  formConfig: {
@@ -184,7 +189,7 @@ export default {
184
189
  */
185
190
  getList() {
186
191
  const data = {
187
- accountCode: '1'
192
+ accountCode: this.formProps.applicationApplyCustomer?.accountCode
188
193
  }
189
194
  getMaterialList(data).then(res => {
190
195
  if (res.code === 200) {
@@ -5,13 +5,13 @@
5
5
  <div class="title-line"></div>
6
6
  <p class="title">产品信息</p>
7
7
  </div>
8
- <el-button v-if="showAddButton" type="primary" class="add-button" @click="showProductListSelect">
8
+ <el-button type="primary" class="add-button" @click="showProductListSelect">
9
9
  <i class="el-icon-plus"></i>
10
10
  添加
11
11
  </el-button>
12
12
  </div>
13
13
  <ProductList :table-data="tableData" :table-item-arr="tableItemArr" @removeItem="onRemoveItem"></ProductList>
14
- <SelectProductDialog v-if="showAddButton" ref="selectProductDialog" @addProduct="addProduct"></SelectProductDialog>
14
+ <SelectProductDialog ref="selectProductDialog" @addProduct="addProduct"></SelectProductDialog>
15
15
  </div>
16
16
  </template>
17
17
 
@@ -61,14 +61,6 @@ export default {
61
61
  }
62
62
  },
63
63
  watch: {
64
- 'formProps.applicationApplyCustomer.accountCode': {
65
- handler(val) {
66
- this.showAddButton = val
67
- },
68
- deep: true,
69
- immediate: true
70
-
71
- }
72
64
  },
73
65
  created() {
74
66
  this.handleTableData()