|
|
|
|
@ -18,14 +18,14 @@ |
|
|
|
|
> |
|
|
|
|
<div class="form-title">基本信息</div> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<!-- <el-col :span="12" v-if="sizeForm.ldTwoPutStorage.warehouseName"> |
|
|
|
|
<el-form-item label="仓库名称"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="sizeForm.ldTwoPutStorage.warehouseName" |
|
|
|
|
:disabled="true" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-col> --> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="入库单号"> |
|
|
|
|
<el-input |
|
|
|
|
@ -117,13 +117,13 @@ export default { |
|
|
|
|
return { |
|
|
|
|
inDialogVisible: false, |
|
|
|
|
sizeForm: { |
|
|
|
|
code: "", //入库单号 |
|
|
|
|
applyNmae: "", //审批人 |
|
|
|
|
submitName: "", //填报人 |
|
|
|
|
waNmae: "", //仓库名称 |
|
|
|
|
argument: "", //事由 |
|
|
|
|
inTableData: [], |
|
|
|
|
userInfoVO: {}, |
|
|
|
|
// code: "", //入库单号 |
|
|
|
|
// applyNmae: "", //审批人 |
|
|
|
|
// submitName: "", //填报人 |
|
|
|
|
// waNmae: "", //仓库名称 |
|
|
|
|
// argument: "", //事由 |
|
|
|
|
// inTableData: [], |
|
|
|
|
// userInfoVO: {}, |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
@ -140,6 +140,7 @@ export default { |
|
|
|
|
mounted() { |
|
|
|
|
this.inDialogVisible = this.repairVisible; |
|
|
|
|
this.sizeForm.userInfoVO = this.userInfo; |
|
|
|
|
console.log(this.userInfo,'userInfo'); |
|
|
|
|
if (this.inDialogType == "add") { |
|
|
|
|
this.addInit(); |
|
|
|
|
} else { |
|
|
|
|
@ -151,6 +152,7 @@ export default { |
|
|
|
|
inInit() { |
|
|
|
|
getDetails({ twoPutStorageId: this.inDialogData.id }).then((res) => { |
|
|
|
|
this.sizeForm = res.data.result; |
|
|
|
|
this.sizeForm.userInfoVO = this.userInfo; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
addInit() { |
|
|
|
|
@ -175,7 +177,9 @@ export default { |
|
|
|
|
sumbit() { |
|
|
|
|
let query = { |
|
|
|
|
...this.sizeForm, |
|
|
|
|
userInfoVO:this.sizeForm.userInfoVO, |
|
|
|
|
}; |
|
|
|
|
console.log("提交参数:", this.sizeForm); |
|
|
|
|
submit(query).then((res) => { |
|
|
|
|
this.$message({ |
|
|
|
|
type: "success", |
|
|
|
|
|