文档413V1
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<el-input v-model="Name" placeholder="物料名称、规格、型号" clearable style="width: 200px" size="small"/>
|
||||
<el-button size="small" type="primary" plain icon="el-icon-search" style="margin: 0 0 0 10px" @click="pageCurrent0=1;pageSize0=300;pageCurrent1=1;pageSize1=300;pageCurrent2=1;pageSize2=300;pageCurrent4=1;pageSize4=20;searchTable()">查询</el-button>
|
||||
<el-button size="small" type="primary" plain icon="el-icon-search" style="margin: 0 0 0 10px" @click="pageCurrent0=1;pageSize0=10;pageCurrent1=1;pageSize1=10;pageCurrent2=1;pageSize2=10;pageCurrent4=1;pageSize4=10;searchTable()">查询</el-button>
|
||||
<el-switch
|
||||
v-model="PickingValue"
|
||||
active-color="#13ce66"
|
||||
@@ -33,7 +33,7 @@
|
||||
</div>
|
||||
<el-tabs v-model="PartType" type="card" @tab-click="searchTable()">
|
||||
<el-tab-pane label="标准件" name="标准件">
|
||||
<el-table v-loading="loading0" ref="multipleTable" :data="tableData0" size="mini" style="max-height: 600px;width: 867px" height="500px" border stripe @selection-change="handleSelectionChange">
|
||||
<el-table v-loading="loading0" ref="multipleTable" :data="tableData0" size="mini" style="max-height: 600px;width: 867px" height="320px" border stripe @selection-change="handleSelectionChange">
|
||||
<el-table-column :selectable="selectable" type="selection" align="center" width="43"/>
|
||||
<el-table-column align="center" prop="机床图号" label="机床图号" width="120" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
@@ -89,7 +89,7 @@
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="外购件" name="外购件">
|
||||
<el-table v-loading="loading1" ref="multipleTable" :data="tableData1" size="mini" style="max-height: 600px;width: 867px" height="500px" border stripe @selection-change="handleSelectionChange">
|
||||
<el-table v-loading="loading1" ref="multipleTable" :data="tableData1" size="mini" style="max-height: 600px;width: 867px" height="320px" border stripe @selection-change="handleSelectionChange">
|
||||
<el-table-column :selectable="selectable" type="selection" align="center" width="43"/>
|
||||
<el-table-column align="center" prop="机床图号" label="机床图号" width="120px" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
@@ -145,7 +145,7 @@
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="基本件" name="基本件">
|
||||
<el-table v-loading="loading2" ref="multipleTable" :data="tableData2" size="mini" style="max-height: 600px;width: 976px" height="500px" border stripe @selection-change="handleSelectionChange">
|
||||
<el-table v-loading="loading2" ref="multipleTable" :data="tableData2" size="mini" style="max-height: 600px;width: 976px" height="320px" border stripe @selection-change="handleSelectionChange">
|
||||
<el-table-column :selectable="selectable" type="selection" align="center" width="42"/>
|
||||
<el-table-column align="center" prop="机床图号" label="机床图号" width="120px" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
@@ -206,7 +206,7 @@
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="离线采购件" name="离线采购件">
|
||||
<el-table v-loading="listLoading" :data="tableDataBasic" highlight-current-row size="mini" border stripe style="width: 823px;" height="500px" @selection-change="handleSelectionChange1">
|
||||
<el-table v-loading="listLoading" :data="tableDataBasic" highlight-current-row size="mini" border stripe style="width: 823px;" height="355px" @selection-change="handleSelectionChange1">
|
||||
<el-table-column :selectable="selectable1" type="selection" align="center" width="42"/>
|
||||
<el-table-column label="物料名称" prop="物料名称" align="center" width="153" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
@@ -422,16 +422,19 @@
|
||||
import { initPickPerson, initMachineProject, searchgroup, searchTable, searchList, createList, dropList, selectIntoList, searchListDetail, dropListDetail, searchListDetailMX, searchPart, IntoMateerial } from '@/api/Inventory/CreatePickingList'
|
||||
import request from '@/utils/request'
|
||||
import { mapGetters } from 'vuex'
|
||||
import { getNowDAY, get90DAY } from '@/utils/index'
|
||||
export default {
|
||||
name: 'CreatePickingList',
|
||||
data() {
|
||||
// var getNowDAY;
|
||||
return {
|
||||
createList_disable: false,
|
||||
selectInto_disable: false,
|
||||
审批情况: '',
|
||||
peopleName: '',
|
||||
ListMX: '',
|
||||
startTime: '',
|
||||
startTime: [get90DAY(), getNowDAY()],
|
||||
// startTime: [],
|
||||
PartType: '基本件',
|
||||
machineNumberValue: '',
|
||||
machineNumber: [],
|
||||
@@ -453,20 +456,20 @@ export default {
|
||||
tableData1: [],
|
||||
tableData2: [],
|
||||
pageCurrent0: 1,
|
||||
pageSize0: 300,
|
||||
pageSize0: 10,
|
||||
total0: 0,
|
||||
pageCurrent1: 1,
|
||||
pageSize1: 300,
|
||||
pageSize1: 10,
|
||||
total1: 0,
|
||||
pageCurrent2: 1,
|
||||
pageSize2: 300,
|
||||
pageSize2: 10,
|
||||
total2: 0,
|
||||
pickListTable1: [],
|
||||
pageCurrent3: 1,
|
||||
pageSize3: 20,
|
||||
pageSize3: 10,
|
||||
total3: 0,
|
||||
pageCurrent4: 1,
|
||||
pageSize4: 20,
|
||||
pageSize4: 10,
|
||||
total4: 0,
|
||||
pickListTable2: [],
|
||||
dialogFormVisible1: false,
|
||||
@@ -505,6 +508,8 @@ export default {
|
||||
mounted() {
|
||||
this.fetchData()
|
||||
this.searchList()
|
||||
console.log(getNowDAY(), get90DAY(), 'time')
|
||||
// this.startTime = [get90DAY(). getNowDAY()]
|
||||
},
|
||||
methods: {
|
||||
// 审批通过
|
||||
|
||||
Reference in New Issue
Block a user