|
|
@ -28,21 +28,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col>
|
|
|
|
<el-col>
|
|
|
|
|
|
|
|
<!-- <el-form-item class="query-form-item">-->
|
|
|
|
|
|
|
|
<!-- <el-select v-model="filterQuery.locStorageCode" placeholder="请选择当前仓库" clearable="true"-->
|
|
|
|
|
|
|
|
<!-- @change="invChange"-->
|
|
|
|
|
|
|
|
<!-- size="mini">-->
|
|
|
|
|
|
|
|
<!-- <el-option-->
|
|
|
|
|
|
|
|
<!-- v-for="item in storageList"-->
|
|
|
|
|
|
|
|
<!-- :key="item.name"-->
|
|
|
|
|
|
|
|
<!-- :label="item.name"-->
|
|
|
|
|
|
|
|
<!-- :value="item.code">-->
|
|
|
|
|
|
|
|
<!-- <span style="float: left">{{ item.name }}</span>-->
|
|
|
|
|
|
|
|
<!-- </el-option>-->
|
|
|
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<el-form-item class="query-form-item">
|
|
|
|
<el-form-item class="query-form-item">
|
|
|
|
<el-select v-model="filterQuery.locStorageCode" placeholder="请选择当前仓库" clearable="true"
|
|
|
|
<el-select v-model="filterQuery.invWarehouseCode" placeholder="请选择请选择当前仓库当前分库"
|
|
|
|
@change="invChange"
|
|
|
|
clearable="true"
|
|
|
|
size="mini">
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="item in storageList"
|
|
|
|
|
|
|
|
:key="item.name"
|
|
|
|
|
|
|
|
:label="item.name"
|
|
|
|
|
|
|
|
:value="item.code">
|
|
|
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item class="query-form-item">
|
|
|
|
|
|
|
|
<el-select v-model="filterQuery.invWarehouseCode" placeholder="请选择当前分库" clearable="true"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
@change="subInvChange"
|
|
|
|
@change="subInvChange"
|
|
|
|
>
|
|
|
|
>
|
|
|
@ -55,8 +56,6 @@
|
|
|
|
</el-option>
|
|
|
|
</el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
<el-button-group>
|
|
|
|
<el-button-group>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
@ -476,10 +475,9 @@ export default {
|
|
|
|
this.idQuery.id = '';
|
|
|
|
this.idQuery.id = '';
|
|
|
|
this.idQuery.actDate = '';
|
|
|
|
this.idQuery.actDate = '';
|
|
|
|
this.idQuery.corpOrderId = '';
|
|
|
|
this.idQuery.corpOrderId = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.idQuery.outChangeEnable = row.outChangeEnable;
|
|
|
|
this.idQuery.outChangeEnable = row.outChangeEnable;
|
|
|
|
if (row.id !== null && row.id !== undefined && row.id !== '') {
|
|
|
|
if (row.id !== null && row.id !== undefined && row.id !== '') {
|
|
|
|
|
|
|
|
|
|
|
|
this.idQuery.id = row.id;
|
|
|
|
this.idQuery.id = row.id;
|
|
|
|
this.idQuery.actDate = row.actDate;
|
|
|
|
this.idQuery.actDate = row.actDate;
|
|
|
|
this.idQuery.corpOrderId = row.corpOrderId;
|
|
|
|
this.idQuery.corpOrderId = row.corpOrderId;
|
|
|
@ -492,7 +490,6 @@ export default {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.formName = "add";
|
|
|
|
this.formName = "add";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (store.getters.customerId == 110) {
|
|
|
|
if (store.getters.customerId == 110) {
|
|
|
|
this.addHosOrderVisible = true;
|
|
|
|
this.addHosOrderVisible = true;
|
|
|
|
this.idQuery.action = row.action;
|
|
|
|
this.idQuery.action = row.action;
|
|
|
@ -718,11 +715,15 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
getSubInvList() {
|
|
|
|
getSubInvList() {
|
|
|
|
let query = {
|
|
|
|
let query = {
|
|
|
|
pcode: this.filterQuery.locStorageCode
|
|
|
|
// pcode: this.filterQuery.locStorageCode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
filter: 3
|
|
|
|
};
|
|
|
|
};
|
|
|
|
filterSubByInv(query)
|
|
|
|
filterSubByInv(query)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
this.subInvList = response.data || [];
|
|
|
|
this.subInvList = response.data || [];
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {
|
|
|
|
.catch(() => {
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -749,7 +750,7 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.getStorage();
|
|
|
|
this.getSubInvList();
|
|
|
|
this.getBusType();
|
|
|
|
this.getBusType();
|
|
|
|
let query = this.$route.query;
|
|
|
|
let query = this.$route.query;
|
|
|
|
this.filterQuery = Object.assign(this.filterQuery, query);
|
|
|
|
this.filterQuery = Object.assign(this.filterQuery, query);
|
|
|
|