lxnew
This commit is contained in:
@@ -43,7 +43,8 @@
|
||||
size="mini"
|
||||
border
|
||||
style="width: 100%;"
|
||||
height="200">
|
||||
height="200"
|
||||
@row-click="searchBasicPartRecord">
|
||||
<el-table-column
|
||||
label="序号"
|
||||
align="center"
|
||||
@@ -812,12 +813,12 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="出库时间" align="center" min-width="80">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.出库时间 ? scope.row.到货时间.split(' ')[0] : '' }}
|
||||
{{ scope.row.出库时间 ? scope.row.出库时间.split(' ')[0] : '' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="领用者" align="center" min-width="80">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.领用者 }}
|
||||
{{ scope.row.姓名 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -1026,7 +1027,7 @@
|
||||
size="mini"
|
||||
style="width: 100%;"
|
||||
height="200"
|
||||
@row-click="HousePurchaseRecord">
|
||||
@row-click="searchShopBasicPartRecord">
|
||||
<el-table-column
|
||||
label="序号"
|
||||
align="center"
|
||||
@@ -1142,7 +1143,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="领用者" align="center" min-width="80">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.领用者 }}
|
||||
{{ scope.row.姓名 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -1154,7 +1155,7 @@
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import { initProject, searchmachine, searchTeam, searchPurchasePart, searchBasicPart, searchStandardPart, searchGeneralPart, searchPurchasePartIn, searchPurchasePartOut, searchBasicPartIn, searchBasicPartOut, safeAmount, searchStandardPartIn, searchStandardPartOut, searchHourseBasicPart, searchHoursePurchasePart, CheckAlter, searchPurchaseBasicPart } from '@/api/Inventory/InventoryCheck'
|
||||
import { initProject, searchmachine, searchTeam, searchPurchasePart, searchBasicPart, searchStandardPart, searchGeneralPart, searchPurchasePartIn, searchPurchasePartOut, searchBasicPartIn, searchBasicPartOut, safeAmount, searchStandardPartIn, searchStandardPartOut, searchHourseBasicPart, searchHoursePurchasePart, CheckAlter, searchPurchaseBasicPart, searchShopPurchasePartOut, searchShopPurchasePartIn } from '@/api/Inventory/InventoryCheck'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -1259,7 +1260,8 @@ export default {
|
||||
locate: '',
|
||||
contractdetail: '',
|
||||
craftnumber: '',
|
||||
receive: '',
|
||||
requestNumber: '', // 请购单明细流水号
|
||||
receive: '', // 收件信息id
|
||||
name: '', // 名称
|
||||
mode: '', // 规格
|
||||
picture: '', // 图号
|
||||
@@ -1410,7 +1412,6 @@ export default {
|
||||
},
|
||||
standardselecting(row) {
|
||||
this.contractDeatilNumber = row.采购合同明细流水号
|
||||
this.steamPartNumber = row.组件零件流水号
|
||||
this.getStandardPartIn()
|
||||
this.getStandardPartOut()
|
||||
},
|
||||
@@ -1425,8 +1426,10 @@ export default {
|
||||
// 查询标准件出库记录
|
||||
getStandardPartOut() {
|
||||
this.listLoading11 = true
|
||||
searchStandardPartOut(this.steamPartNumber).then(response => {
|
||||
searchStandardPartOut(this.contractDeatilNumber).then(response => {
|
||||
console.log(response.data, 2345)
|
||||
this.StandardPartOut = response.data
|
||||
console.log(this.StandardPartOut, 23456)
|
||||
this.listLoading11 = false
|
||||
})
|
||||
},
|
||||
@@ -1524,6 +1527,25 @@ export default {
|
||||
this.BasicPartOut = response.data
|
||||
})
|
||||
},
|
||||
// 查询车间外购记录
|
||||
searchShopBasicPartRecord(row) {
|
||||
this.listLoading4 = true
|
||||
this.listLoading5 = true
|
||||
this.requestNumber = row.请购单明细流水号
|
||||
searchShopPurchasePartIn(this.requestNumber).then(response => {
|
||||
this.HouseDataPurchaseIn = response.data
|
||||
this.listLoading10 = false
|
||||
})
|
||||
searchShopPurchasePartOut(this.requestNumber).then(response => {
|
||||
this.HouseDataPurchaseOut = response.data
|
||||
this.listLoading11 = false
|
||||
})
|
||||
},
|
||||
changesafeAmount(row) {
|
||||
this.dialogFormVisible2 = true
|
||||
this.teamPartNumber = row.组件零件流水号
|
||||
this.form.safeNumber = row.安全库存量
|
||||
},
|
||||
// 查询通用件记录
|
||||
searchGeneralPartRecord(row) {
|
||||
this.listLoading4 = true
|
||||
@@ -1538,11 +1560,6 @@ export default {
|
||||
this.listLoading5 = false
|
||||
})
|
||||
},
|
||||
changesafeAmount(row) {
|
||||
this.dialogFormVisible2 = true
|
||||
this.teamPartNumber = row.组件零件流水号
|
||||
this.form.safeNumber = row.安全库存量
|
||||
},
|
||||
// 修改安全库存量
|
||||
edeitsafeAmount() {
|
||||
safeAmount(this.teamPartNumber, this.form.safeNumber).then(response => {
|
||||
@@ -1735,7 +1752,6 @@ export default {
|
||||
this.material = row.材料
|
||||
},
|
||||
AlterBasicNumber(row) {
|
||||
console.log(row, 556677)
|
||||
this.project = row.项目流水号
|
||||
this.machinenumber = row.机床流水号
|
||||
this.partnumber = row.组件流水号
|
||||
|
||||
Reference in New Issue
Block a user