|
|
|
|
@ -6,7 +6,7 @@ |
|
|
|
|
:inline="true" |
|
|
|
|
:model="enterForm" |
|
|
|
|
> |
|
|
|
|
<!-- <el-form-item label="业主名称"> |
|
|
|
|
<el-form-item label="业主名称"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="enterForm.consignorId" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
@ -21,7 +21,7 @@ |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="库房"> |
|
|
|
|
<!-- <el-form-item label="库房"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="enterForm.storageId" |
|
|
|
|
placeholder="请选择库房" |
|
|
|
|
@ -38,14 +38,29 @@ |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
<el-form-item label="货位"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="enterForm.locationCode" |
|
|
|
|
placeholder="请输入货位" |
|
|
|
|
<!-- <el-form-item |
|
|
|
|
label="库区编号" |
|
|
|
|
prop='state' |
|
|
|
|
> |
|
|
|
|
<el-select |
|
|
|
|
v-model="enterForm.areaId" |
|
|
|
|
placeholder="请选择库区编号" |
|
|
|
|
clearable |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="盘点方式"> |
|
|
|
|
style="width: 240px" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in areaIdhList" |
|
|
|
|
:key="item.areaCode" |
|
|
|
|
:label="item.areaName" |
|
|
|
|
:value="item.id" |
|
|
|
|
> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
<el-form-item |
|
|
|
|
label="盘点方式" |
|
|
|
|
prop="invWay" |
|
|
|
|
> |
|
|
|
|
<el-radio-group v-model="enterForm.invWay"> |
|
|
|
|
<el-radio label="open">明盘</el-radio> |
|
|
|
|
<el-radio label="close">盲盘</el-radio> |
|
|
|
|
@ -75,26 +90,13 @@ |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item |
|
|
|
|
label="库区编号" |
|
|
|
|
prop='state' |
|
|
|
|
> |
|
|
|
|
<el-select |
|
|
|
|
v-model="enterForm.areaId" |
|
|
|
|
placeholder="请选择库区编号" |
|
|
|
|
<el-form-item label="货位"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="enterForm.locationCode" |
|
|
|
|
placeholder="请输入货位" |
|
|
|
|
clearable |
|
|
|
|
style="width: 240px" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in areaIdhList" |
|
|
|
|
:key="item.areaCode" |
|
|
|
|
:label="item.areaName" |
|
|
|
|
:value="item.id" |
|
|
|
|
> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
@ -150,11 +152,11 @@ export default { |
|
|
|
|
tableProps: {}, |
|
|
|
|
ids: [], |
|
|
|
|
enterForm: { |
|
|
|
|
consignorId: '', |
|
|
|
|
consignorId: 1, |
|
|
|
|
storageId: '', |
|
|
|
|
areaId: '', |
|
|
|
|
locationCode: '', |
|
|
|
|
invWay: '', |
|
|
|
|
invWay: 'close', |
|
|
|
|
invType: '' |
|
|
|
|
}, |
|
|
|
|
options: [], |
|
|
|
|
@ -222,7 +224,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 表格的数据 |
|
|
|
|
queryTable() { |
|
|
|
|
if (!this.enterForm.consignorId) return this.$message('业主名称必填!') |
|
|
|
|
// if (!this.enterForm.consignorId) return this.$message('业主名称必填!') |
|
|
|
|
if (!this.enterForm.invWay) return this.$message('盘点方式必选!') |
|
|
|
|
if (!this.enterForm.invType) return this.$message('盘点类型必选!') |
|
|
|
|
this.loading = true |
|
|
|
|
|