This commit is contained in:
chenjianan
2019-06-14 09:25:45 +08:00
parent c588fc0b3b
commit a8b564c724

View File

@@ -248,11 +248,11 @@
size="mini" size="mini"
@selection-change="handleSelectionChange2"> @selection-change="handleSelectionChange2">
<el-table-column :selectable="selectable" align="center" width="35" type="selection"/> <el-table-column :selectable="selectable" align="center" width="35" type="selection"/>
<el-table-column label="操作" align="center" width="100" fixed="left"> <!--<el-table-column label="操作" align="center" width="100" fixed="left">-->
<template slot-scope="scope"> <!--<template slot-scope="scope">-->
<el-button :disabled="parseInt(scope.row.询价状态编号)!==1||parseInt(scope.row.是否确认)!==1" type="primary" size="mini" @click="partChange(scope.row)">零件变更</el-button> <!--<el-button :disabled="parseInt(scope.row.询价状态编号)!==1||parseInt(scope.row.是否确认)!==1" type="primary" size="mini" @click="partChange(scope.row)">零件变更</el-button>-->
</template> <!--</template>-->
</el-table-column> <!--</el-table-column>-->
<el-table-column label="零件状态" align="center" width="100"> <el-table-column label="零件状态" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="parseInt(scope.row.询价状态编号)===1" type="warning" size="small">未询价</el-tag> <el-tag v-if="parseInt(scope.row.询价状态编号)===1" type="warning" size="small">未询价</el-tag>
@@ -1104,7 +1104,6 @@ export default {
}, },
submitUseInventory() { submitUseInventory() {
submitUseInventory(this.backlogMaterialNum, this.useNumber, this.backlogGroupPartNum, this.id).then(response => { submitUseInventory(this.backlogMaterialNum, this.useNumber, this.backlogGroupPartNum, this.id).then(response => {
console.log(response.data)
if (response.data[0].result === '1') { if (response.data[0].result === '1') {
this.searchTable11() this.searchTable11()
this.dialogVisible4 = false this.dialogVisible4 = false
@@ -1113,7 +1112,6 @@ export default {
}) })
}, },
useInventory(row) { // 使用滞货 useInventory(row) { // 使用滞货
console.log(row)
this.useNumber = 0 this.useNumber = 0
row.滞货数量 < row.待询价数量 ? this.maxUseNumber = Number(row.滞货数量) : this.maxUseNumber = Number(row.待询价数量) row.滞货数量 < row.待询价数量 ? this.maxUseNumber = Number(row.滞货数量) : this.maxUseNumber = Number(row.待询价数量)
this.backlogMaterialNum = row.物料流水号 this.backlogMaterialNum = row.物料流水号
@@ -1620,7 +1618,6 @@ export default {
this.inquirySheetFlowNum = row.询价单流水号 this.inquirySheetFlowNum = row.询价单流水号
this.orderExport = row.询价单编号 this.orderExport = row.询价单编号
searchSheetDetail(row.询价单流水号).then(response => { searchSheetDetail(row.询价单流水号).then(response => {
console.log(response.data)
this.tableData3 = response.data this.tableData3 = response.data
}) })
}, },