| | |
| | | <el-table-column align="center" label="序号" type="index" width="80" /> |
| | | <el-table-column align="center" label="容器代码" width="120"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.HMaterCode" placeholder="请输入" @keyup.native.f7="openDataDialog(8, scope.row)" |
| | | <el-input v-model="scope.row.HMaterNumber" placeholder="请输入" @keyup.native.f7="openDataDialog(8, scope.row)" |
| | | @dblclick.native="openDataDialog(8, scope.row)" /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | <el-table-column align="center" label="仓库代码" width="120"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.HWHCode" placeholder="请输入" @keyup.native.f7="openDataDialog(2, scope.row ,eHWHType=2)" |
| | | <el-input v-model="scope.row.HWHNumber" placeholder="请输入" @keyup.native.f7="openDataDialog(2, scope.row ,eHWHType=2)" |
| | | @dblclick.native="openDataDialog(2, scope.row ,eHWHType=2)" /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | }).then(response => { |
| | | if (response.data.count == 1) { |
| | | this.organizationList = response.data.data;//组织列表 |
| | | }else{ |
| | | this.$modal.msgError(response.data.Message); |
| | | } |
| | | }).catch(error => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | |
| | | this.HSourceBillTypes = response.data.data |
| | | this.form.HSourceBillType = this.HSourceBillTypes[0].HSourceBillType |
| | | this.form.HSourceBillTypeName = this.HSourceBillTypes[0].HSourceBillTypeName |
| | | }else{ |
| | | this.$modal.msgError(response.data.Message); |
| | | } |
| | | }).catch(error => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | |
| | | }).then(response => { |
| | | if (response.data.count == 1) { |
| | | resolve(response.data.data[0]); |
| | | } else { |
| | | this.$modal.msgError("未查询到数据!"); |
| | | }else{ |
| | | this.$modal.msgError(response.data.Message); |
| | | } |
| | | }).catch(error => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | |
| | | this.form.HSupTypeID = data.HSupTypeID |
| | | this.form.HSupID = data.HSupID |
| | | this.form.HSupName = data.HSupName |
| | | this.form.HSecManagerId = data.HSecManagerID |
| | | this.form.HSecManagerName = data.HSecManagerName |
| | | this.form.HDeptID = data.HDeptID |
| | | this.form.HDeptName = data.HDeptName |
| | | this.form.HStockOrgID = data.HStockOrgID == null ? 0 : data.HStockOrgID |
| | |
| | | this.form.HWHNumber = deptRow.仓库代码 |
| | | }else{ |
| | | this.editData[this.zbIndex].HWHID = deptRow.HItemID |
| | | this.editData[this.zbIndex].HWHCode = deptRow.仓库代码 |
| | | this.editData[this.zbIndex].HWHNumber = deptRow.仓库代码 |
| | | this.editData[this.zbIndex].HWHName = deptRow.仓库名称 |
| | | } |
| | | this.warehouseShow = false |
| | |
| | | } |
| | | this.formShow = true |
| | | this.formLoading = false |
| | | }else{ |
| | | this.$modal.msgError(response.data.Message); |
| | | } |
| | | }).catch(error => { |
| | | console.log(error) |