This commit is contained in:
linfso 2024-05-21 16:45:05 +08:00
parent 7cc249ebe4
commit e7f4e50012
2 changed files with 4 additions and 12 deletions

View File

@ -99,7 +99,7 @@ import { getStaffList } from "@/api/emis/emisStaff";
queryParams:{ queryParams:{
pageNum:1, pageNum:1,
pageSize:5, pageSize:5,
empCode:null, empCode:this.value,
searchValue:null, searchValue:null,
ownerSiteCode:null, ownerSiteCode:null,
postCode:null postCode:null
@ -202,17 +202,9 @@ import { getStaffList } from "@/api/emis/emisStaff";
this.dispatch('ElFormItem', 'el.form.blur', [this.svalue]); this.dispatch('ElFormItem', 'el.form.blur', [this.svalue]);
}, },
queryData() { queryData() {
console.log("this.firstFlag2==>"+this.firstFlag)
console.log("this.empCode2==>"+this.queryParams.empCode)
if(this.firstFlag&&!this.queryParams.empCode){
return;
}
this.loading = true; this.loading = true;
console.log(this.queryParams)
getStaffList(this.queryParams).then(response => { getStaffList(this.queryParams).then(response => {
this.loading = false; this.loading = false;
this.total = response.total; this.total = response.total;

View File

@ -163,7 +163,7 @@
v-hasPermi="['emis:emisWaybill:add']" v-hasPermi="['emis:emisWaybill:add']"
>开单</el-button> >开单</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <!-- <el-col :span="1.5">
<el-button <el-button
type="primary" type="primary"
plain plain
@ -172,7 +172,7 @@
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="['emis:emisWaybill:edit']" v-hasPermi="['emis:emisWaybill:edit']"
>运单修改</el-button> >运单修改</el-button>
</el-col> </el-col> -->
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="primary" type="primary"
@ -736,7 +736,7 @@ export default {
/** 新增按钮操作 */ /** 新增按钮操作 */
handleAdd(row) { handleAdd(row) {
// <router-link :to="'/waybillManagement/waybillEntry?billCode=' + scope.row.billCode" class="link-type"> // <router-link :to="'/waybillManagement/waybillEntry?billCode=' + scope.row.billCode" class="link-type">
this.$router.push({ path: '/d24/waybillManagement/WaybillEntry'}); this.$router.push({ path: '/d24/waybillManagement/WaybillEntry', query: { action:"add"} });
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */