Merge branch 'master' of http://192.168.0.149:10010/r/高精2.0
This commit is contained in:
@@ -103,7 +103,7 @@ export function submitOutStore(...params) {
|
|||||||
data: {
|
data: {
|
||||||
type: '2',
|
type: '2',
|
||||||
name: '库存管理_物料出库_出库记录_增加数据_循环',
|
name: '库存管理_物料出库_出库记录_增加数据_循环',
|
||||||
param: `领料单明细水号组=${params[0]}&基本件流水号组=${params[1]}&物料流水号组=${params[2]}&标准件和外购件流水号组=${params[3]}&请购单明细流水号组=${params[4]}&组件流水号组=${params[5]}&机床流水号组=${params[6]}&出库数量组=${params[7]}&出库人流水号=${params[8]}&领料人编号=${params[9]}&出库类别=${params[10]}&领料单流水号=${params[11]}&离线采购件流水号组=${params[12]}`
|
param: `领料单明细水号组=${params[0]}&基本件流水号组=${params[1]}&物料流水号组=${params[2]}&标准件和外购件流水号组=${params[3]}&请购单明细流水号组=${params[4]}&组件流水号组=${params[5]}&机床流水号组=${params[6]}&出库数量组=${params[7]}&出库人流水号=${params[8]}&领料人编号=${params[9]}&出库类别=${params[10]}&领料单流水号=${params[11]}&离线采购件流水号组=${params[12]}&领料部门=${params[12]}`
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,14 +61,14 @@ export function searchPeople(data1) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 离线件出库
|
// 离线件出库
|
||||||
export function outlinePartOut(data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12) {
|
export function outlinePartOut(data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '2',
|
type: '2',
|
||||||
name: '库存管理_离线采购件_零件出库',
|
name: '库存管理_离线采购件_零件出库',
|
||||||
param: '领用者=' + data2 + '&出库数量=' + data3 + '&货位流水号=' + data4 + '&备注=' + data5 + '&项目流水号=' + data6 + '&机床流水号=' + data7 + '&组件流水号=' + data8 + '&物料流水号=' + data9 + '&出库人员流水号=' + data10 + '&离线合同明细流水号=' + data11 + '&组件零件基本件流水号=' + data12
|
param: '领用者=' + data2 + '&出库数量=' + data3 + '&货位流水号=' + data4 + '&备注=' + data5 + '&项目流水号=' + data6 + '&机床流水号=' + data7 + '&组件流水号=' + data8 + '&物料流水号=' + data9 + '&出库人员流水号=' + data10 + '&离线合同明细流水号=' + data11 + '&组件零件基本件流水号=' + data12 + '&领料部门=' + data13
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` //
|
|||||||
export const uploadPerson = `http://192.168.1.231:8411/submit/uploadPerson.ashx`
|
export const uploadPerson = `http://192.168.1.231:8411/submit/uploadPerson.ashx`
|
||||||
export const uploadOP = `http://192.168.1.231:8411/submit/uploadOP.ashx`
|
export const uploadOP = `http://192.168.1.231:8411/submit/uploadOP.ashx`
|
||||||
export const url = `http://192.168.1.231:8411/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
|
export const url = `http://192.168.1.231:8411/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
|
||||||
export const ExcelDownLoad = 'http://192.168.0.110:8002/submit/downloadFile.ashx' // 导出excel
|
export const ExcelDownLoad = 'http://192.168.1.231:8411/submit/downloadFile.ashx' // 导出excel
|
||||||
// 技术中心程序发布时要更改下面所有的IP到0段
|
// 技术中心程序发布时要更改下面所有的IP到0段
|
||||||
export const ServerIP = `http://192.168.1.231:8411/webpage/file/`
|
export const ServerIP = `http://192.168.1.231:8411/webpage/file/`
|
||||||
export const uploadFileMachine = `http://192.168.1.231:8411/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231
|
export const uploadFileMachine = `http://192.168.1.231:8411/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231
|
||||||
|
|||||||
@@ -188,6 +188,9 @@
|
|||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="领料部门" label-width="100px" size="small">
|
||||||
|
<el-input v-model="form3.department" size="small" placeholder="领料部门" style="width: 200px"/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="人员编号" prop="password" label-width="100px" size="small">
|
<el-form-item label="人员编号" prop="password" label-width="100px" size="small">
|
||||||
<el-input v-model="form3.password" size="small" placeholder="人员编号" style="width: 200px"/>
|
<el-input v-model="form3.password" size="small" placeholder="人员编号" style="width: 200px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -272,6 +275,7 @@ export default {
|
|||||||
},
|
},
|
||||||
form3: {
|
form3: {
|
||||||
outTypeValue: '',
|
outTypeValue: '',
|
||||||
|
department: '',
|
||||||
password: ''
|
password: ''
|
||||||
},
|
},
|
||||||
form4: {
|
form4: {
|
||||||
@@ -434,6 +438,7 @@ export default {
|
|||||||
inputPassword() {
|
inputPassword() {
|
||||||
this.form3.outTypeValue = ''
|
this.form3.outTypeValue = ''
|
||||||
this.form3.password = ''
|
this.form3.password = ''
|
||||||
|
this.form3.department = ''
|
||||||
this.dialogFormVisible3 = true
|
this.dialogFormVisible3 = true
|
||||||
},
|
},
|
||||||
selectable(row, index) { // 控制某行是否可选
|
selectable(row, index) { // 控制某行是否可选
|
||||||
@@ -559,7 +564,7 @@ export default {
|
|||||||
this.outNumber.push(this.pickListTable2[i].出库数量)
|
this.outNumber.push(this.pickListTable2[i].出库数量)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
submitOutStore(this.multipleSelection, this.basePartNum, this.materialNum, this.parchasePartNum, this.purchaseBillNum, this.groupNumValue, this.machineValue, this.outNumber, this.id, this.form3.password, this.form3.outTypeValue, this.pickingListNum, this.offlineNum).then(response => {
|
submitOutStore(this.multipleSelection, this.basePartNum, this.materialNum, this.parchasePartNum, this.purchaseBillNum, this.groupNumValue, this.machineValue, this.outNumber, this.id, this.form3.password, this.form3.outTypeValue, this.pickingListNum, this.offlineNum, this.form3.department).then(response => {
|
||||||
if (response.data[0].result === '1') {
|
if (response.data[0].result === '1') {
|
||||||
this.$message.success('出库成功')
|
this.$message.success('出库成功')
|
||||||
this.dialogFormVisible3 = false
|
this.dialogFormVisible3 = false
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<span>物料型号:</span>
|
<span>物料型号:</span>
|
||||||
<el-input v-model="materialModel" placeholder="物料型号" clearable size="small"/>
|
<el-input v-model="materialModel" placeholder="物料型号" clearable size="small"/>
|
||||||
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button>
|
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="pageCurrent1=1;pageSize1=20;total1=0;searchTable1()">查询</el-button>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<el-card>
|
<el-card>
|
||||||
@@ -113,7 +113,12 @@
|
|||||||
{{ scope.row.出库人姓名 }}
|
{{ scope.row.出库人姓名 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="备注" align="center" min-width="140">
|
<el-table-column label="领料部门" align="center" width="100">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.领料部门 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="领料人" align="center" min-width="140">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.备注 }}
|
{{ scope.row.备注 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -152,15 +157,6 @@
|
|||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="分组" prop="GroupNumValue" label-width="100px">
|
|
||||||
<el-select v-model="form.GroupNumValue" filterable size="small" placeholder="分组" style="width: 200px;margin-right:10px">
|
|
||||||
<el-option
|
|
||||||
v-for="item in GroupNum"
|
|
||||||
:key="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
:value="item.value"/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="出库数量" prop="DirectNumber" label-width="100px" size="small">
|
<el-form-item label="出库数量" prop="DirectNumber" label-width="100px" size="small">
|
||||||
<el-input v-model="form.DirectNumber" size="small" placeholder="出库数量" style="width: 200px"/>
|
<el-input v-model="form.DirectNumber" size="small" placeholder="出库数量" style="width: 200px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -173,6 +169,9 @@
|
|||||||
<!--:value="item.value"/>-->
|
<!--:value="item.value"/>-->
|
||||||
<!--</el-select>-->
|
<!--</el-select>-->
|
||||||
<!--</el-form-item>-->
|
<!--</el-form-item>-->
|
||||||
|
<el-form-item label="领料部门" prop="DirectNumber" label-width="100px" size="small">
|
||||||
|
<el-input v-model="form.department" size="small" placeholder="领料部门" style="width: 200px"/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="领料人" prop="DirectNote" label-width="100px">
|
<el-form-item label="领料人" prop="DirectNote" label-width="100px">
|
||||||
<el-input v-model="form.DirectNote" size="small" placeholder="请输入领料人" style="width: 200px"/>
|
<el-input v-model="form.DirectNote" size="small" placeholder="请输入领料人" style="width: 200px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -208,6 +207,7 @@ export default {
|
|||||||
ProjectValue: '',
|
ProjectValue: '',
|
||||||
MachineValue: '',
|
MachineValue: '',
|
||||||
GroupNumValue: '',
|
GroupNumValue: '',
|
||||||
|
department: '',
|
||||||
DirectNumber: '',
|
DirectNumber: '',
|
||||||
PeopleValue: '',
|
PeopleValue: '',
|
||||||
DirectNote: ''
|
DirectNote: ''
|
||||||
@@ -230,7 +230,7 @@ export default {
|
|||||||
listLoading1: '',
|
listLoading1: '',
|
||||||
partnumber: '',
|
partnumber: '',
|
||||||
pageCurrent1: 1,
|
pageCurrent1: 1,
|
||||||
pageSize1: 10,
|
pageSize1: 20,
|
||||||
total1: 0,
|
total1: 0,
|
||||||
pageCurrent2: 1,
|
pageCurrent2: 1,
|
||||||
pageSize2: 10,
|
pageSize2: 10,
|
||||||
@@ -377,7 +377,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
outlinePartOut(this.form.PeopleValue, this.form.DirectNumber, this.locateNumber, this.form.DirectNote, this.form.ProjectValue, this.form.MachineValue, this.form.GroupNumValue, this.materialNumber, this.PeopleNumber, this.离线合同明细流水号, this.组件零件基本件流水号).then(response => {
|
outlinePartOut(this.form.PeopleValue, this.form.DirectNumber, this.locateNumber, this.form.DirectNote, this.form.ProjectValue, this.form.MachineValue, this.form.GroupNumValue, this.materialNumber, this.PeopleNumber, this.离线合同明细流水号, this.组件零件基本件流水号, this.form.department).then(response => {
|
||||||
if (response.data[0].result === '1') {
|
if (response.data[0].result === '1') {
|
||||||
this.$message.success('零件出库成功')
|
this.$message.success('零件出库成功')
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
|
|||||||
@@ -450,6 +450,16 @@ export default {
|
|||||||
if (response.data[0].result === '1') {
|
if (response.data[0].result === '1') {
|
||||||
this.contractNumType = 1
|
this.contractNumType = 1
|
||||||
this.dialogVisible2 = false
|
this.dialogVisible2 = false
|
||||||
|
this.contractNum = []
|
||||||
|
initPurchaseOrder().then(response => {
|
||||||
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
|
this.contractNum.push({
|
||||||
|
label: response.data[i].请购单编号,
|
||||||
|
value: response.data[i].请购单流水号,
|
||||||
|
id: response.data[i].请购类型
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
this.searchData()
|
this.searchData()
|
||||||
this.$message.success('转换成功')
|
this.$message.success('转换成功')
|
||||||
} else {
|
} else {
|
||||||
@@ -491,6 +501,7 @@ export default {
|
|||||||
this.form3.机床 = response.data[0].机床图号
|
this.form3.机床 = response.data[0].机床图号
|
||||||
this.form3.groupNumValue = response.data[0].组件流水号
|
this.form3.groupNumValue = response.data[0].组件流水号
|
||||||
console.log(this.machineValue, 111)
|
console.log(this.machineValue, 111)
|
||||||
|
this.groupNum = []
|
||||||
initGroupNum(this.machineValue).then(response => {
|
initGroupNum(this.machineValue).then(response => {
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
this.groupNum.push({
|
this.groupNum.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user