仓库类型修改

ywj_dev
曹晨晨 2 years ago
parent 1600c63093
commit 32d6ff4530

@ -582,7 +582,7 @@ export default {
}, },
/* 获取列表 */ /* 获取列表 */
getList() { getList() {
let qwe = this.checkdefault; let line = this.checkdefault;
this.loading = true; this.loading = true;
filterList(this.filterQuery) filterList(this.filterQuery)
.then((response) => { .then((response) => {
@ -591,11 +591,11 @@ export default {
this.list = this.handleTree(depList, "code", "pcode"); this.list = this.handleTree(depList, "code", "pcode");
// //
this.$nextTick(() => { this.$nextTick(() => {
console.log(qwe); console.log(line);
if (qwe === null) { if (line === null) {
this.$refs.deptTableRef.setCurrentRow(depList[0]); this.$refs.deptTableRef.setCurrentRow(depList[0]);
} else { } else {
this.$refs.deptTableRef.setCurrentRow(qwe); this.$refs.deptTableRef.setCurrentRow(line);
} }
}); });
}) })

@ -9,15 +9,8 @@
placeholder="仓库名称" placeholder="仓库名称"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item class="query-form-item" label="仓库类型:"> <el-form-item label="仓库类型:" prop="advanceType" >
<el-input <el-select v-model="subDataType.advanceType" placeholder="请选择仓库类型" style="width: 90%">
clearable
placeholder="仓库类型"
></el-input>
</el-form-item> -->
<el-form-item label="仓库类型" prop="advanceType">
<el-select v-model="subDataType.advanceType" placeholder="请选择仓库类型" style="width: 80%">
<el-option label="入账库" :value="1"/> <el-option label="入账库" :value="1"/>
<el-option label="预验收库" :value="2"/> <el-option label="预验收库" :value="2"/>
<el-option label="寄售库" :value="3"/> <el-option label="寄售库" :value="3"/>

Loading…
Cancel
Save