02-11
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 初始化获取已生成的外协加工任务单初始化获取已生成的外协加工任务单
|
||||
// 初始化获取已生成的外协加工任务单
|
||||
export function getTable(checked, contractNumber, checked1, manufacturers, checked2, time1, time2, num, pageCurrent, pageSize) {
|
||||
return request({
|
||||
url: '',
|
||||
|
||||
@@ -19,7 +19,7 @@ const service = axios.create({
|
||||
// baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`,
|
||||
// baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
||||
// baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
||||
baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`,
|
||||
baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
||||
// baseURL: `http://localhost:8077/submit/MESCommonBase.ashx`,
|
||||
// baseURL: `http://192.168.0.112:8411/submit/MESCommonBase.ashx`,
|
||||
timeout: 1500000 // 请求超时时间
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="分组">
|
||||
<el-select v-model="NumValue" filterable size="small" style="margin-bottom:10px" placeholder="分组">
|
||||
<el-select v-model="NumValue" filterable size="small" style="margin-bottom:10px" placeholder="分组" @change="total = 0;pageSize = 10;pageList = 1;getTable()">
|
||||
<el-option
|
||||
v-for="item in Num"
|
||||
:key="item.value"
|
||||
@@ -531,6 +531,7 @@ export default {
|
||||
this.tableData = []
|
||||
this.tableData1 = []
|
||||
getTable(this.NumValue, this.pageList, this.pageSize).then(response => {
|
||||
console.log(this.NumValue, this.pageList, this.pageSize)
|
||||
this.total = parseInt(response.data.total)
|
||||
for (let i = 0; i < response.data.rows.length; i++) {
|
||||
this.tableData.push({
|
||||
|
||||
@@ -1436,7 +1436,8 @@ export default {
|
||||
handleSelectionChange(val) {
|
||||
this.processNum = val
|
||||
},
|
||||
getSpareParts() { // 选入零件
|
||||
// 选入零件
|
||||
getSpareParts() {
|
||||
if (this.Number !== null) {
|
||||
this.result = 0
|
||||
for (let i = 0; i < this.processNum.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user