| | |
| | | <template> |
| | | <div style="padding: 10px;position: relative;"> |
| | | <div style="padding: 10px; position: relative;"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="98px" class="searchBox"> |
| | | <el-row> |
| | | <el-form-item label="部门代码" prop="HNumber" style="margin-left: 100px;"> |
| | |
| | | <RowSettings :colName="btResList" :HModName="HModName" @rowEditClose="rowSetClose" v-if="rowHideShow" /> |
| | | </el-dialog> |
| | | <!-- 编辑 --> |
| | | <el-dialog title="编辑生产资料" :visible.sync="openEdit" width="1480px" append-to-body class="xsckdBox" |
| | | @close="close"> |
| | | <el-dialog title="编辑部门资料" :visible.sync="openEdit" width="1480px" append-to-body class="xsckdBox" @close="close"> |
| | | <edit :OperationType=OperationType :linterid=this.rowForm.HItemID :HSouceBillType=this.rowForm.HSourceBillType |
| | | :copyType="copyType" @editCloseGy="editGyClose" v-if="editShow" /> |
| | | </el-dialog> |
| | |
| | | open: false, |
| | | // 查询参数 |
| | | queryParams: { |
| | | HOrgID: null, |
| | | HOrgID: sessionStorage["OrganizationID"] - 0, |
| | | HName: null, |
| | | HNumber: null, |
| | | Comparator1: '', |
| | |
| | | if (this.pageSize == 0) { |
| | | this.pageSize = 50 |
| | | } |
| | | this.queryParams.HOrgID = sessionStorage["OrganizationID"]-0 |
| | | this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'" |
| | | //生产资料列表 |
| | | axios.get(this.baseURL + '/Gy_Department/list', { |
| | |
| | | //退出 |
| | | close() { |
| | | this.tableShow = true |
| | | this.single = true |
| | | this.openEdit = false |
| | | this.editShow= false |
| | | this.editShow = false |
| | | this.getList() |
| | | }, |
| | | //打开新增组件弹窗 |
| | |
| | | editGyClose(val) { |
| | | this.editShow = false |
| | | this.openEdit = false |
| | | this.multiple = true, |
| | | this.getList() |
| | | this.single = true |
| | | this.multiple = true |
| | | this.getList() |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete() { |
| | | this.$modal.confirm('确认要删除吗,删除后不能恢复').then(() => { |
| | | if (!this.rowForm.审核人) { |
| | | axios.get(this.baseURL + "DeltetGy_Source", { |
| | | params: { 'HItemID': this.rowForm.HItemID.toString(), 'user': sessionStorage["HUserName"] } |
| | | axios.get(this.baseURL + "DeltetGy_Department", { |
| | | params: { 'HItemID': this.rowForm.HItemID, 'user': sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | if (response.data.count == 1) { |
| | | this.getList() |
| | |
| | | set_CheckBill(num, form) { |
| | | var InterID = form.HItemID || form.HInterID |
| | | //逻辑审核方法 |
| | | axios.get(this.baseURL + "/Gy_Source/AuditGy_Source", { |
| | | axios.get(this.baseURL + "/Gy_Department/AuditGy_Department", { |
| | | params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | let result = response.data |