|
@@ -1142,7 +1142,7 @@
|
|
|
placeholder="请选择"
|
|
|
v-model="scope.row.fWarehouselocid"
|
|
|
clearable
|
|
|
- @focus="choiceWarehouse = true"
|
|
|
+ @focus="getTreeselect"
|
|
|
>
|
|
|
</el-input>
|
|
|
</template>
|
|
@@ -2873,7 +2873,7 @@
|
|
|
:visible.sync="choiceWarehouse"
|
|
|
width="30%"
|
|
|
:before-close="hanDleclose">
|
|
|
- <treeselect v-model="fWarehouselocid" :options="warehousesOptions" :show-count="true" placeholder="请选择归属库区" />
|
|
|
+ <treeselect v-model="fWarehouselocid" :options="warehousesOptions" :show-count="true" placeholder="请选择归属库区" />
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="choiceWarehouse = false">取 消</el-button>
|
|
@@ -3268,6 +3268,7 @@ export default {
|
|
|
},
|
|
|
/** 查询部门下拉树结构 */
|
|
|
getTreeselect() {
|
|
|
+ this.choiceWarehouse = true
|
|
|
treeselect(this.form.fWarehouseid).then(response => {
|
|
|
console.log(response)
|
|
|
this.fWarehouseidOptions = response.data;
|
|
@@ -3818,7 +3819,6 @@ export default {
|
|
|
this.$message({ message: "计划件数不能为0", type: "warning", });
|
|
|
return false;
|
|
|
}
|
|
|
- this.getTreeselect()
|
|
|
let fTruckno = null
|
|
|
let fDriverTel = null
|
|
|
let fDriverName = null
|
|
@@ -4134,7 +4134,6 @@ export default {
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd(status) {
|
|
|
- this.getTreeselect();
|
|
|
this.form = {
|
|
|
fItemsStatus: null,
|
|
|
fFeetunit:"2"
|
|
@@ -4156,7 +4155,6 @@ export default {
|
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row, status) {
|
|
|
- this.getTreeselect();
|
|
|
this.reset();
|
|
|
// this.contrOl = false
|
|
|
// if (this.dataList.length === 0){
|