Selaa lähdekoodia

信息化设备管理

长阳分支中职
yxq 1 kuukausi sitten
vanhempi
commit
e3e01b61df
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. +5
    -5
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/OfficeEquipment/single.vue

+ 5
- 5
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/OfficeEquipment/single.vue Näytä tiedosto

@@ -2,10 +2,10 @@
<view class="page">
<view v-if="ready">
<l-select @input="setValue('OfficeEquipment.Name', $event)" :value="getValue('OfficeEquipment.Name')"
:range="dataSource.OfficeEquipment.Name" title="姓名" required disabled />
:range="dataSource.OfficeEquipment.Name" title="姓名" required />
<l-select @input="setValue('OfficeEquipment.Department', $event)"
:value="getValue('OfficeEquipment.Department')" :range="dataSource.OfficeEquipment.Department"
title="部门" required disabled />
title="部门" required />
<l-input @input="setValue('OfficeEquipment.Code', $event)" :value="getValue('OfficeEquipment.Code')"
:disabled="!edit" title="设备编号" required />
<l-input @input="setValue('OfficeEquipment.DeviceName', $event)"
@@ -138,9 +138,9 @@
async fetchForm() {
if (this.mode === 'create') {
this.origin = await this.getDefaultForm()
let userInfo = this.GET_GLOBAL('loginUser');
this.origin.OfficeEquipment.Name = userInfo.enCode
this.origin.OfficeEquipment.Department = userInfo.departmentId
// let userInfo = this.GET_GLOBAL('loginUser');
// this.origin.OfficeEquipment.Name = userInfo.enCode
// this.origin.OfficeEquipment.Department = userInfo.departmentId
} else {
const result = await this.HTTP_GET('/Learun/adms/EducationalAdministration/officeEquipment/form',
this


Ladataan…
Peruuta
Tallenna