更新
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="外协价格(元)" align="center" width="130px">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-positive="'float'" v-model="scope.row.加工价格_成交" type="float" style="text-align: right" size="small"/>
|
||||
<el-input v-positive="'float'" v-model="scope.row.加工价格_成交" class="editWorkTime" type="number" style="text-align: right" size="small"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="机加工开始时间" align="center" width="150px">
|
||||
@@ -499,7 +499,19 @@ export default {
|
||||
this.loading = true
|
||||
this.List3 = []
|
||||
getParts(this.Number).then(response => {
|
||||
this.List3 = response.data
|
||||
if (response.data.length !== 0) {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.List3.push({
|
||||
外协加工任务单明细流水号: response.data[i].外协加工任务单明细流水号,
|
||||
加工价格_成交: response.data[i].加工价格_成交.toFixed(2),
|
||||
机加工开始时间: response.data[i].机加工开始时间 ? response.data[i].机加工开始时间.split(' ')[0] : '',
|
||||
零件图号: response.data[i].零件图号,
|
||||
零件名称: response.data[i].零件名称,
|
||||
批次数量: response.data[i].批次数量,
|
||||
外协工序: response.data[i].外协工序
|
||||
})
|
||||
}
|
||||
}
|
||||
this.getList()
|
||||
this.loading = false
|
||||
})
|
||||
@@ -521,7 +533,19 @@ export default {
|
||||
this.loading = true
|
||||
this.List3 = []
|
||||
getParts(this.Number).then(response => {
|
||||
this.List3 = response.data
|
||||
if (response.data.length !== 0) {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.List3.push({
|
||||
外协加工任务单明细流水号: response.data[i].外协加工任务单明细流水号,
|
||||
加工价格_成交: response.data[i].加工价格_成交.toFixed(2),
|
||||
机加工开始时间: response.data[i].机加工开始时间 ? response.data[i].机加工开始时间.split(' ')[0] : '',
|
||||
零件图号: response.data[i].零件图号,
|
||||
零件名称: response.data[i].零件名称,
|
||||
批次数量: response.data[i].批次数量,
|
||||
外协工序: response.data[i].外协工序
|
||||
})
|
||||
}
|
||||
}
|
||||
this.loading = false
|
||||
})
|
||||
})
|
||||
@@ -604,6 +628,12 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
<style>
|
||||
.editWorkTime input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
text-align: center;
|
||||
}
|
||||
.editWorkTime input[type="number"]{
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user