feat:禅道263

This commit is contained in:
shijing 2025-12-29 15:34:56 +08:00
parent b115b511c0
commit 11f26a7e30
1 changed files with 22 additions and 2 deletions

View File

@ -10,12 +10,30 @@
<scScanner :labeltext="'报废扫码'" @scanResult="codeTextChange40"></scScanner> <scScanner :labeltext="'报废扫码'" @scanResult="codeTextChange40"></scScanner>
</div> </div>
<div class="right-panel"> <div class="right-panel">
<el-date-picker
v-if="route_code=='chicuncheck'||route_code=='waiguancheck'"
v-model="query.mlog_date_start"
type="date"
placeholder="产出开始日期"
value-format="YYYY-MM-DD"
clearable
style="width: 130px; margin: 5px"
></el-date-picker>
<el-date-picker
v-if="route_code=='chicuncheck'||route_code=='waiguancheck'"
v-model="query.mlog_date_end"
type="date"
placeholder="产出结束日期"
value-format="YYYY-MM-DD"
clearable
style="width: 130px; margin:0"
></el-date-picker>
<el-select <el-select
v-model="queryState" v-model="queryState"
placeholder="物料状态" placeholder="物料状态"
clearable clearable
@change="searchStateChange" @change="searchStateChange"
style="width: 250px" style="width: 110px"
> >
<el-option <el-option
v-for="item in stateOptions" v-for="item in stateOptions"
@ -25,7 +43,7 @@
/> />
</el-select> </el-select>
<el-input <el-input
style="margin-right: 5px" style="margin-right: 5px;width: 200px"
v-model="query.search" v-model="query.search"
placeholder="名称" placeholder="名称"
clearable clearable
@ -266,6 +284,7 @@ export default {
material: "", material: "",
}, },
queryState:null, queryState:null,
route_code:'',
cate_type:'', cate_type:'',
materialType: "wm", materialType: "wm",
changebatch:false, changebatch:false,
@ -278,6 +297,7 @@ export default {
}, },
mounted() { mounted() {
let that = this; let that = this;
that.route_code = that.$route.path.split("/")[2];
that.params.mgroup = that.mgroupId; that.params.mgroup = that.mgroupId;
that.params.tag = 'done'; that.params.tag = 'done';
that.$TOOL.data.set('gx_deptID',that.deptId); that.$TOOL.data.set('gx_deptID',that.deptId);