|
|
|
@ -54,7 +54,7 @@
|
|
|
|
|
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item label="目标往来仓库" prop="defaultInvCode">
|
|
|
|
|
<el-select v-model="inputQuery.defaultInvName" placeholder="目标往来仓库" clearable size="small"
|
|
|
|
|
<el-select v-model="inputQuery.defaultInvCode" placeholder="目标往来仓库" clearable size="small"
|
|
|
|
|
@change="invChange"
|
|
|
|
|
style="width: 90%">
|
|
|
|
|
<el-option
|
|
|
|
@ -74,8 +74,12 @@
|
|
|
|
|
<el-form-item label="推移时间(小时)" prop="beforeTime">
|
|
|
|
|
<el-input style="width: 90%"
|
|
|
|
|
size="small"
|
|
|
|
|
type="number" placeholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.beforeTime"></el-input>
|
|
|
|
|
type="number"
|
|
|
|
|
placeholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.beforeTime"
|
|
|
|
|
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
|
|
|
|
onafterpaste="this.value=this.value.replace(/\D/g,'')"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
@ -107,7 +111,8 @@
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
import {getBusTypeList, getBusTypeListByUser} from "@/api/basic/busType";
|
|
|
|
|
import {filterSubByInv, filterSubAll, findByFrom} from "@/api/system/invSubWarehouse";
|
|
|
|
|
import {filterSubAll, findByFrom} from "@/api/system/invSubWarehouse";
|
|
|
|
|
import {isBlank} from "@/utils/strUtil";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "BusTypePreModify",
|
|
|
|
@ -198,7 +203,7 @@ export default {
|
|
|
|
|
getLocInv() {
|
|
|
|
|
let params = {};
|
|
|
|
|
filterSubAll(params).then((res) => {
|
|
|
|
|
if (res.code === 20000){
|
|
|
|
|
if (res.code === 20000) {
|
|
|
|
|
this.locInvs = res.data || [];
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -217,8 +222,13 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
invChange() {
|
|
|
|
|
this.getFromInv();
|
|
|
|
|
this.getTargetBusType();
|
|
|
|
|
if (!isBlank(this.inputQuery.invCode)) {
|
|
|
|
|
this.getFromInv();
|
|
|
|
|
this.getTargetBusType();
|
|
|
|
|
} else {
|
|
|
|
|
this.inputQuery.action = null;
|
|
|
|
|
this.targetBusTypes = [];
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -230,6 +240,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.getOriginBusType();
|
|
|
|
|
this.getLocInv();
|
|
|
|
|
this.getFromInv();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|