lx
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
:value="item.value"/>
|
||||
</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 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 v-show="basicshow">
|
||||
<el-table
|
||||
@@ -125,6 +126,7 @@
|
||||
</el-table>
|
||||
<el-table
|
||||
v-loading="listLoading2"
|
||||
v-show="basicshow"
|
||||
:data="BasicPartOut"
|
||||
border
|
||||
style="width: 100%;"
|
||||
@@ -155,36 +157,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<el-card v-show="purchaseshow">
|
||||
<el-radio v-model="radio2" :label="3">外购件</el-radio>
|
||||
<el-radio v-model="radio2" :label="4" style="margin-left: 2px">标准件</el-radio>
|
||||
<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="purchaseshow">
|
||||
<el-card v-show="generalshow">
|
||||
<el-table
|
||||
v-loading="listLoading3"
|
||||
:data="tableDataGeneral"
|
||||
@@ -244,7 +217,7 @@
|
||||
@current-change="handleCurrentChange1"/>
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card v-show="purchaseshow">
|
||||
<el-card v-show="generalshow">
|
||||
<el-table
|
||||
v-loading="listLoading4"
|
||||
:data="PurchasePartIn"
|
||||
@@ -304,6 +277,14 @@
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="采购采购" name="second">
|
||||
<el-card>
|
||||
<el-radio-group
|
||||
v-model="radio"
|
||||
size="small"
|
||||
style="margin: 10px;"
|
||||
@change="visual()">
|
||||
<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>
|
||||
<el-select v-model="ProjectValue" filterable clearable size="small" placeholder="请选择项目名称" style="width: 200px;margin-right:10px" @change="searchMachine()">
|
||||
<el-option
|
||||
@@ -330,7 +311,7 @@
|
||||
</el-select>
|
||||
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="total2 = 0;pageSize2 = 10;pageList2 = 1;searchPurchasePartinfo()">外购件查询</el-button><br>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<el-card v-show="purchaseshow">
|
||||
<el-table
|
||||
v-loading="listLoading6"
|
||||
:data="tableDataPurchase"
|
||||
@@ -389,7 +370,7 @@
|
||||
@current-change="handleCurrentChange2"/>
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<el-card v-show="purchaseshow">
|
||||
<el-table
|
||||
v-loading="listLoading7"
|
||||
:data="PurchasePartIn"
|
||||
@@ -472,7 +453,7 @@
|
||||
</el-select>
|
||||
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="total3 = 0;pageSize3 = 10;pageList3 = 1;searchStandardPartinfo()">标准件查询</el-button><br>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<el-card v-show="standardshow">
|
||||
<el-table
|
||||
v-loading="listLoading9"
|
||||
:data="tableDataStandard"
|
||||
@@ -545,7 +526,7 @@
|
||||
<el-button type="primary" @click="edeitsafeAmount()">确 定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<el-card>
|
||||
<el-card v-show="standardshow">
|
||||
<el-table
|
||||
v-loading="listLoading10"
|
||||
:data="StandardPartIn"
|
||||
@@ -603,7 +584,7 @@
|
||||
</el-card>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="车间采购" name="third">
|
||||
<el-card>
|
||||
<el-card v-show="housebasicshow">
|
||||
<el-radio v-model="radio3" :label="5">基本件</el-radio>
|
||||
<el-radio v-model="radio3" :label="6" style="margin-left: 2px">外购件</el-radio>
|
||||
<span style="margin-left: 20px">项目名称:</span>
|
||||
@@ -709,7 +690,7 @@
|
||||
@size-change="handleSizeChange5"
|
||||
@current-change="handleCurrentChange5"/>
|
||||
</div>
|
||||
<el-card>
|
||||
<el-card v-show="housebasicshow">
|
||||
<el-table
|
||||
v-loading="listLoading10"
|
||||
:data="HouseDataBasicIn"
|
||||
@@ -765,7 +746,7 @@
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<el-card v-show="housepurchaseshow">
|
||||
<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
|
||||
@@ -869,7 +850,7 @@
|
||||
@size-change="handleSizeChange6"
|
||||
@current-change="handleCurrentChange6"/>
|
||||
</div>
|
||||
<el-card>
|
||||
<el-card v-show="housepurchaseshow">
|
||||
<el-table
|
||||
v-loading="listLoading10"
|
||||
:data="HouseDataPurchaseIn"
|
||||
@@ -1004,7 +985,11 @@ export default {
|
||||
radio2: 1,
|
||||
radio3: 1,
|
||||
basicshow: true,
|
||||
genneralshow: false,
|
||||
purchaseshow: true,
|
||||
standardshow: false,
|
||||
housebasicshow: true,
|
||||
housepurchaseshow: false,
|
||||
HouseDataBasic: [],
|
||||
HouseDataBasicOut: [],
|
||||
HouseDataBasicIn: [],
|
||||
@@ -1020,12 +1005,31 @@ export default {
|
||||
handleClick(tab, event) {
|
||||
},
|
||||
BasicShow() {
|
||||
this.basicshow = true
|
||||
this.purchaseshow = false
|
||||
if (this.radio === 1) {
|
||||
this.basicshow = true
|
||||
this.purchaseshow = false
|
||||
} else {
|
||||
this.basicshow = false
|
||||
this.purchaseshow = true
|
||||
}
|
||||
},
|
||||
GeneralShow() {
|
||||
this.purchaseshow = true
|
||||
this.basicshow = false
|
||||
if (this.radio === 3) {
|
||||
this.purchaseshow = true
|
||||
this.basicshow = false
|
||||
} else {
|
||||
this.purchaseshow = false
|
||||
this.basicshow = true
|
||||
}
|
||||
},
|
||||
HouseShow() {
|
||||
if (this.radio === 5) {
|
||||
this.housebasicshow = true
|
||||
this.housepurchaseshow = false
|
||||
} else {
|
||||
this.housebasicshow = false
|
||||
this.housepurchaseshow = true
|
||||
}
|
||||
},
|
||||
fetchData() {
|
||||
this.getSelect(initProject, ['项目名称', '项目流水号'], 'Project') // 项目名称
|
||||
|
||||
Reference in New Issue
Block a user