This commit is contained in:
shijing 2025-03-24 08:55:42 +08:00
commit 2a685608a4
2 changed files with 16 additions and 7 deletions

View File

@ -2955,6 +2955,16 @@ const routes = [
perms: ["fac_cal"],
},
children: [
{
path: "/fac_cal/mpointstat_point",
meta: {
title: "测点信息",
// icon: "el-icon-postcard",
type: "menu",
perms: ["mpointstat_point"],
},
component: "fac_cal/mpointstat_point",
},
{
path: "/fac_cal/mpointstat",
meta: {

View File

@ -44,12 +44,14 @@
<el-select
v-model="form.batch"
filterable
value-key="id"
@change="selectwmChange"
>
<el-option
v-for="item in wbatchOptions"
:key="item.id"
:value="item.batch"
:label="item.batch"
:value="item"
>
<span style="display:inline-block;float: left;">{{item.material_.name}}|{{ item.batch }}</span>
<span
@ -242,15 +244,12 @@ export default {
selectBatchChange(item) {
this.form.batch = item.batch;
this.form.warehouse = item.warehouse;
this.form.mb = item.id;
},
//
selectwmChange(val){
selectwmChange(item){
let that = this;
that.wbatchOptions.forEach((item) => {
if (item.batch == val) {
that.form.material = item.material;
}
})
that.form.wm = item.id;
},
selectBatchClear() {
this.form.batch = "";