| | |
| | | //打开新增组件弹窗 |
| | | handleAddEdit() { |
| | | this.rowForm.HItemID = 0; |
| | | this.iframeUrl = `/iframe/XsSeOutStockBackBillEdit?HInterID=${0}&OperationType=${1}©Type=${-1}`; |
| | | this.iframeUrl = `/iframe/XsSeOutStockBackBillEdit?HInterID=0&OperationType=1&CopyType=2`; |
| | | this.$nextTick(() => { |
| | | this.openEdit = true; |
| | | this.editShow = true; |
| | |
| | | }, |
| | | //打开修改组件弹窗 |
| | | handleEdit(row, OperationType, copyType) { |
| | | this.iframeUrl = `/iframe/XsSeOutStockBackBillEdit?HInterID=${row.hmainid}&OperationType=${OperationType}©Type=${copyType}`; |
| | | this.iframeUrl = `/iframe/XsSeOutStockBackBillEdit?HInterID=${row.hmainid}&OperationType=${OperationType}&CopyType=${copyType}`; |
| | | this.$nextTick(() => { |
| | | this.openEdit = true; |
| | | this.editShow = true; |
| | |
| | | getdata() { |
| | | this.HInterID2 = this.$route.query.HInterID || this.linterid || 0; |
| | | this.OperationType2 = this.$route.query.OperationType || this.OperationType || 1; |
| | | this.CopyType2 = this.$route.query.copyType || this.copyType || -1; |
| | | console.log(this.CopyType2, this.OperationType2, this.HInterID2); |
| | | this.CopyType2 = this.$route.query.CopyType || this.copyType || -1; |
| | | console.log("传递的参数",this.$route.query.CopyType,this.$route.query.OperationType, this.$route.query.HInterID); |
| | | this.formShow = false; |
| | | this.formLoading = true; |
| | | |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="工厂代码" prop="HWorksNumber"> |
| | | <el-select v-model="form.HWorksNumber" placeholder="请选择组织" style="width: 100%"> |
| | | <el-select v-model="form.HWorksNumber" placeholder="请选择工厂" style="width: 100%"> |
| | | <el-option v-for="(item, index) in HWorksNumberList" :key="index" :label="item" |
| | | :value="item"> |
| | | </el-option> |
| | |
| | | this.warehouseShow = false |
| | | this.openData = false |
| | | } else if (num == 3){ |
| | | console.log(deptRow) |
| | | this.editData[this.zbIndex].HMaterID = deptRow.HItemID |
| | | this.editData[this.zbIndex].物料代码 = deptRow.物料代码 |
| | | this.editData[this.zbIndex].物料名称 = deptRow.物料名称 |
| | | this.editData[this.zbIndex].规格型号 = deptRow.规格型号 |
| | | this.editData[this.zbIndex].计量单位 = deptRow.计量单位名称 |
| | | this.editData[this.zbIndex].HUnitID = deptRow.HUnitID |
| | | this.materialShow = false |
| | | this.openData = false |
| | | } else if (num == 4) { |