imeik-bizui 2.0.5 → 2.0.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.
@@ -62,6 +62,9 @@ export default {
62
62
  doctorAttrs() {
63
63
  return { isView: this.isView }
64
64
  },
65
+ isB02B03() {
66
+ return ['B02', 'B03'].includes(this.formProps?.formBaseNo)
67
+ },
65
68
  formItems() {
66
69
  return [
67
70
  {
@@ -146,6 +149,10 @@ export default {
146
149
  const erpIndex = this.formConfig.formItems.findIndex((item) => item.prop === 'erpBillName')
147
150
  this.formConfig.formItems[erpIndex].hidden = true
148
151
  }
152
+ if (this.isB02B03) {
153
+ const projectCodeIndex = this.formConfig.formItems.findIndex((item) => item.prop === 'projectCode')
154
+ this.formConfig.formItems[projectCodeIndex].label = '项目编号(研发用途必填)'
155
+ }
149
156
  },
150
157
  mounted() {
151
158
  this.handleBusEvent()
@@ -507,6 +507,7 @@ export default {
507
507
  this.$set(row, 'standardAmount', '')
508
508
  this.$set(row, 'costAmount', undefined)
509
509
  this.$set(row, 'scenarioList', [])
510
+ this.$set(row, 'doctorLevelName', '')
510
511
  this.setDefaultRoleInfo(row)
511
512
  }
512
513
  },