仓库类型修改

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

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

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

Loading…
Cancel
Save