| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="调入组织" prop="HSTOCKINORGID" > |
| | | <el-select v-model="form.HSTOCKINORGID" placeholder="请选择调入组织" :disabled="OperationType == 3"> |
| | | <el-select v-model="form.HSTOCKINORGID" placeholder="请选择调入组织" :disabled="OperationType == 3" @change="StockInOrgChangeHandler"> |
| | | <el-option |
| | | v-for="(item, index) in organizationList" |
| | | :key="index" |
| | |
| | | >下移</el-button |
| | | > |
| | | </div> |
| | | <!-- TODO: 明细列表添加辅助属性选择 --> |
| | | <el-table |
| | | :data="editData" |
| | | style="width: 100%" |
| | |
| | | deptform: {}, //弹窗选中数据 |
| | | openData: false, //数据弹窗 |
| | | dialogTitle: "", |
| | | organizationList: [], //组织列表 |
| | | organizationList: JSON.parse(sessionStorage.getItem('organizationList')), //组织列表 |
| | | subDisabled: false, //编辑页面保存按钮是否禁用(true禁用,false可用) |
| | | // OperationType: this.$route.query.OperationType,//保存类型(新增1修改2) |
| | | HInterID: 0, |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.fetchData(); |
| | | this.getdata(); |
| | | this.getdata() |
| | | }, |
| | | methods: { |
| | | fetchData() { |
| | | axios |
| | | .get(this.baseURL + "/Web/GetOrganizations", {}) |
| | | .then((response) => { |
| | | if (response.data.count == 1) { |
| | | this.organizationList = response.data.data; //组织列表 |
| | | } |
| | | }) |
| | | .catch((error) => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | }, |
| | | getdata() { |
| | | this.formShow = false; |
| | | this.formLoading = true; |
| | |
| | | 辅单位: "", |
| | | HRemark: "", |
| | | HSTOCKORGID: sessionStorage["OrganizationID"], |
| | | HSTOCKORGINID: this.form.HSTOCKINORGID, |
| | | HPropertyID: 0, |
| | | 辅助属性: "", |
| | | }; |