lx
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick" >
|
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick" >
|
||||||
<el-tab-pane label="自制" name="first"><el-card>
|
<el-tab-pane label="自制" name="first"><el-card v-show="basicshow">
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="radio"
|
v-model="radio"
|
||||||
size="small"
|
size="small"
|
||||||
style="margin: 10px;"
|
style="margin: 10px;"
|
||||||
@change="visual()">
|
@change="BasicShow()">
|
||||||
<el-radio v-model="radio" :label="1" >基本件</el-radio>
|
<el-radio v-model="radio" :label="1" >基本件</el-radio>
|
||||||
<el-radio v-model="radio" :label="2" style="margin-left: 2px" >通用件</el-radio>
|
<el-radio v-model="radio" :label="2" style="margin-left: 2px" >通用件</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
@@ -34,8 +34,7 @@
|
|||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-button v-show="basicshow" size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchBasciPartinfo()">基本件查询</el-button><br>
|
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchBasciPartinfo()">基本件查询</el-button><br>
|
||||||
<el-button v-show="generalshow" size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="total1 = 0;pageSize1 = 10;pageList1 = 1;searchGeneralPartinfo()">通用件查询</el-button><br>
|
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card v-show="basicshow">
|
<el-card v-show="basicshow">
|
||||||
<el-table
|
<el-table
|
||||||
@@ -157,7 +156,43 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-card v-show="generalshow">
|
</el-card>
|
||||||
|
<el-card v-show="genneralshow">
|
||||||
|
<el-radio-group
|
||||||
|
v-model="radio"
|
||||||
|
size="small"
|
||||||
|
style="margin: 10px;"
|
||||||
|
@change="BasicShow()">
|
||||||
|
<el-radio v-model="radio" :label="1" >基本件</el-radio>
|
||||||
|
<el-radio v-model="radio" :label="2" style="margin-left: 2px" >通用件</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
<span style="margin-left: 20px">项目名称:</span>
|
||||||
|
<el-select v-model="ProjectValue" filterable clearable size="small" placeholder="请选择项目名称" style="width: 200px;margin-right:10px" @change="searchMachine()">
|
||||||
|
<el-option
|
||||||
|
v-for="item in Project"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"/>
|
||||||
|
</el-select>
|
||||||
|
<span>机床图号:</span>
|
||||||
|
<el-select v-model="MachineValue" filterable clearable size="small" placeholder="机床图号" style="width: 200px;margin-right:10px" @change="searchGroupList()">
|
||||||
|
<el-option
|
||||||
|
v-for="item in Machine"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"/>
|
||||||
|
</el-select>
|
||||||
|
<span>组号:</span>
|
||||||
|
<el-select v-model="GroupNumValue" filterable clearable size="small" placeholder="组号" style="width: 200px">
|
||||||
|
<el-option
|
||||||
|
v-for="item in GroupNum"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"/>
|
||||||
|
</el-select>
|
||||||
|
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="total1 = 0;pageSize1 = 10;pageList1 = 1;searchGeneralPartinfo()">通用件查询</el-button><br>
|
||||||
|
</el-card>
|
||||||
|
<el-card v-show="genneralshow">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading3"
|
v-loading="listLoading3"
|
||||||
:data="tableDataGeneral"
|
:data="tableDataGeneral"
|
||||||
@@ -217,7 +252,7 @@
|
|||||||
@current-change="handleCurrentChange1"/>
|
@current-change="handleCurrentChange1"/>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card v-show="generalshow">
|
<el-card v-show="genneralshow">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading4"
|
v-loading="listLoading4"
|
||||||
:data="PurchasePartIn"
|
:data="PurchasePartIn"
|
||||||
@@ -247,6 +282,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading5"
|
v-loading="listLoading5"
|
||||||
|
v-show="genneralshow"
|
||||||
:data="PurchasePartOut"
|
:data="PurchasePartOut"
|
||||||
border
|
border
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
@@ -273,15 +309,14 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-card>
|
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="采购采购" name="second">
|
<el-tab-pane label="采购采购" name="second">
|
||||||
<el-card>
|
<el-card v-show="purchaseshow">
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="radio"
|
v-model="radio"
|
||||||
size="small"
|
size="small"
|
||||||
style="margin: 10px;"
|
style="margin: 10px;"
|
||||||
@change="visual()">
|
@change="GeneralShow()">
|
||||||
<el-radio v-model="radio2" :label="3">外购件</el-radio>
|
<el-radio v-model="radio2" :label="3">外购件</el-radio>
|
||||||
<el-radio v-model="radio2" :label="4" style="margin-left: 2px">标准件</el-radio>
|
<el-radio v-model="radio2" :label="4" style="margin-left: 2px">标准件</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
@@ -426,7 +461,15 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card>
|
<el-card v-show="standardshow">
|
||||||
|
<el-radio-group
|
||||||
|
v-model="radio"
|
||||||
|
size="small"
|
||||||
|
style="margin: 10px;"
|
||||||
|
@change="GeneralShow()">
|
||||||
|
<el-radio v-model="radio2" :label="3">外购件</el-radio>
|
||||||
|
<el-radio v-model="radio2" :label="4" style="margin-left: 2px">标准件</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
<span>项目名称:</span>
|
<span>项目名称:</span>
|
||||||
<el-select v-model="ProjectValue" filterable clearable size="small" placeholder="请选择项目名称" style="width: 200px;margin-right:10px" @change="searchMachine()">
|
<el-select v-model="ProjectValue" filterable clearable size="small" placeholder="请选择项目名称" style="width: 200px;margin-right:10px" @change="searchMachine()">
|
||||||
<el-option
|
<el-option
|
||||||
@@ -585,8 +628,14 @@
|
|||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="车间采购" name="third">
|
<el-tab-pane label="车间采购" name="third">
|
||||||
<el-card v-show="housebasicshow">
|
<el-card v-show="housebasicshow">
|
||||||
<el-radio v-model="radio3" :label="5">基本件</el-radio>
|
<el-radio-group
|
||||||
<el-radio v-model="radio3" :label="6" style="margin-left: 2px">外购件</el-radio>
|
v-model="radio"
|
||||||
|
size="small"
|
||||||
|
style="margin: 10px;"
|
||||||
|
@change="HouseShow()">
|
||||||
|
<el-radio :label="5">基本件</el-radio>
|
||||||
|
<el-radio :label="6" style="margin-left: 2px">外购件</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
<span style="margin-left: 20px">项目名称:</span>
|
<span style="margin-left: 20px">项目名称:</span>
|
||||||
<el-select v-model="ProjectValue" filterable clearable size="small" placeholder="请选择项目名称" style="width: 200px;margin-right:10px" @change="searchMachine()">
|
<el-select v-model="ProjectValue" filterable clearable size="small" placeholder="请选择项目名称" style="width: 200px;margin-right:10px" @change="searchMachine()">
|
||||||
<el-option
|
<el-option
|
||||||
@@ -613,6 +662,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchHouseBasci()">车间采购基本件查询</el-button><br>
|
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchHouseBasci()">车间采购基本件查询</el-button><br>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
<el-card v-show="housebasicshow">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoadingx"
|
v-loading="listLoadingx"
|
||||||
:data="HouseDataBasic"
|
:data="HouseDataBasic"
|
||||||
@@ -654,21 +704,11 @@
|
|||||||
{{ scope.row.组号 }}
|
{{ scope.row.组号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="数量" align="center" min-width="80">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.数量 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="零件数量" align="center" min-width="80">
|
<el-table-column label="零件数量" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.货位存量 }}
|
{{ scope.row.货位存量 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="待出库数量" align="center" min-width="80">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.待出库数量 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="零件类型" align="center" min-width="80">
|
<el-table-column label="零件类型" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.类型名称 }}
|
{{ scope.row.类型名称 }}
|
||||||
@@ -676,7 +716,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" min-width="80">
|
<el-table-column label="操作" align="center" min-width="80">
|
||||||
<template slot-scope="scope" align="center">
|
<template slot-scope="scope" align="center">
|
||||||
<el-button size="small" type="primary" icon="el-icon-edit" style="margin: 0 0 0 10px" @click="addWorkshopDetailinfor(scope.row)">选择</el-button>
|
<el-button size="small" type="primary" icon="el-icon-edit" style="margin: 0 0 0 10px" @click="HouseBasicRecord(scope.row)">选择</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -690,6 +730,7 @@
|
|||||||
@size-change="handleSizeChange5"
|
@size-change="handleSizeChange5"
|
||||||
@current-change="handleCurrentChange5"/>
|
@current-change="handleCurrentChange5"/>
|
||||||
</div>
|
</div>
|
||||||
|
</el-card>
|
||||||
<el-card v-show="housebasicshow">
|
<el-card v-show="housebasicshow">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading10"
|
v-loading="listLoading10"
|
||||||
@@ -747,6 +788,14 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card v-show="housepurchaseshow">
|
<el-card v-show="housepurchaseshow">
|
||||||
|
<el-radio-group
|
||||||
|
v-model="radio"
|
||||||
|
size="small"
|
||||||
|
style="margin: 10px;"
|
||||||
|
@change="HouseShow()">
|
||||||
|
<el-radio :label="5">基本件</el-radio>
|
||||||
|
<el-radio :label="6" style="margin-left: 2px">外购件</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
<span style="margin-left: 20px">项目名称:</span>
|
<span style="margin-left: 20px">项目名称:</span>
|
||||||
<el-select v-model="ProjectValue" filterable clearable size="small" placeholder="请选择项目名称" style="width: 200px;margin-right:10px" @change="searchMachine()">
|
<el-select v-model="ProjectValue" filterable clearable size="small" placeholder="请选择项目名称" style="width: 200px;margin-right:10px" @change="searchMachine()">
|
||||||
<el-option
|
<el-option
|
||||||
@@ -773,6 +822,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchHousePurchase()">车间采购外购件查询</el-button><br>
|
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchHousePurchase()">车间采购外购件查询</el-button><br>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
<el-card v-show="housepurchaseshow">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoadingx"
|
v-loading="listLoadingx"
|
||||||
:data="HouseDataPurchase"
|
:data="HouseDataPurchase"
|
||||||
@@ -814,21 +864,11 @@
|
|||||||
{{ scope.row.组号 }}
|
{{ scope.row.组号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="数量" align="center" min-width="80">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.数量 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="零件数量" align="center" min-width="80">
|
<el-table-column label="零件数量" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.货位存量 }}
|
{{ scope.row.货位存量 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="待出库数量" align="center" min-width="80">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.待出库数量 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="零件类型" align="center" min-width="80">
|
<el-table-column label="零件类型" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.类型名称 }}
|
{{ scope.row.类型名称 }}
|
||||||
@@ -850,6 +890,7 @@
|
|||||||
@size-change="handleSizeChange6"
|
@size-change="handleSizeChange6"
|
||||||
@current-change="handleCurrentChange6"/>
|
@current-change="handleCurrentChange6"/>
|
||||||
</div>
|
</div>
|
||||||
|
</el-card>
|
||||||
<el-card v-show="housepurchaseshow">
|
<el-card v-show="housepurchaseshow">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading10"
|
v-loading="listLoading10"
|
||||||
@@ -1007,19 +1048,19 @@ export default {
|
|||||||
BasicShow() {
|
BasicShow() {
|
||||||
if (this.radio === 1) {
|
if (this.radio === 1) {
|
||||||
this.basicshow = true
|
this.basicshow = true
|
||||||
this.purchaseshow = false
|
this.genneralshow = false
|
||||||
} else {
|
} else if (this.radio === 2) {
|
||||||
this.basicshow = false
|
this.basicshow = false
|
||||||
this.purchaseshow = true
|
this.genneralshow = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
GeneralShow() {
|
GeneralShow() {
|
||||||
if (this.radio === 3) {
|
if (this.radio === 3) {
|
||||||
this.purchaseshow = true
|
this.purchaseshow = true
|
||||||
this.basicshow = false
|
this.standardshow = false
|
||||||
} else {
|
} else {
|
||||||
this.purchaseshow = false
|
this.purchaseshow = false
|
||||||
this.basicshow = true
|
this.standardshow = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
HouseShow() {
|
HouseShow() {
|
||||||
|
|||||||
Reference in New Issue
Block a user