外协零件到货
This commit is contained in:
@@ -68,6 +68,12 @@
|
|||||||
<el-tag v-else type="info" size="small">未付款</el-tag>
|
<el-tag v-else type="info" size="small">未付款</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="到货状态" width="100" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tag v-if="scope.row.单据状态==='3'" type="success" size="small">已到货</el-tag>
|
||||||
|
<el-tag v-else type="info" size="small">未到货</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="表单号" align="center" width="280px">
|
<el-table-column label="表单号" align="center" width="280px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.表单号 }}
|
{{ scope.row.表单号 }}
|
||||||
@@ -143,9 +149,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="付款日期" align="center" width="240px">
|
<el-table-column label="付款日期" align="center" width="240px">
|
||||||
<!--<template slot-scope="scope">-->
|
|
||||||
<!--{{scope.row.实际付款时间}}-->
|
|
||||||
<!--</template>-->
|
|
||||||
<el-table-column label="入库" align="center" width="140px">
|
<el-table-column label="入库" align="center" width="140px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.入库时间 }}
|
{{ scope.row.入库时间 }}
|
||||||
@@ -176,7 +179,7 @@
|
|||||||
class="el-icon-edit"
|
class="el-icon-edit"
|
||||||
@click="Withdrawing(scope.$index, scope.row, 'form')">扣款</el-button>
|
@click="Withdrawing(scope.$index, scope.row, 'form')">扣款</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="scope.row.实际付款时间!==''"
|
:disabled="scope.row.实际付款时间!==''||scope.row.单据状态!=='3'"
|
||||||
size="mini"
|
size="mini"
|
||||||
type="success"
|
type="success"
|
||||||
class="el-icon-check"
|
class="el-icon-check"
|
||||||
@@ -376,8 +379,6 @@ export default {
|
|||||||
day = '0' + day
|
day = '0' + day
|
||||||
}
|
}
|
||||||
this.实际付款时间 = time.getFullYear() + '/' + month + '/' + day
|
this.实际付款时间 = time.getFullYear() + '/' + month + '/' + day
|
||||||
// payment(row.外协加工任务单流水号).then(response => {
|
|
||||||
// }).then(() => {
|
|
||||||
payTime(row.外协加工任务单流水号, this.实际付款时间).then(response => {
|
payTime(row.外协加工任务单流水号, this.实际付款时间).then(response => {
|
||||||
if (response.data[0].result === '1') {
|
if (response.data[0].result === '1') {
|
||||||
this.$message.success('付款成功')
|
this.$message.success('付款成功')
|
||||||
@@ -386,7 +387,6 @@ export default {
|
|||||||
this.$message.error('付款失败')
|
this.$message.error('付款失败')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// })
|
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
|
|||||||
@@ -20,18 +20,18 @@
|
|||||||
|
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table v-loading="loading2" :data="List" highlight-current-row height="350" border @row-click="searchProcess" >
|
<el-table v-loading="loading2" :data="List" highlight-current-row height="350" border @row-click="searchProcess" >
|
||||||
<el-table-column label="付款状态" width="100" align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<el-tag v-if="scope.row.实际付款时间!==''" type="success" size="small" style="margin: 0px">已付款</el-tag>
|
|
||||||
<el-tag v-else type="info" size="small" style="margin: 0px">未付款</el-tag>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="收货状态" width="100" align="center">
|
<el-table-column label="收货状态" width="100" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.单据状态==='作废'" type="success" size="small" style="margin: 0px">已收货</el-tag>
|
<el-tag v-if="scope.row.单据状态==='作废'" type="success" size="small" style="margin: 0px">已收货</el-tag>
|
||||||
<el-tag v-else type="info" size="small" style="margin: 0px">未收货</el-tag>
|
<el-tag v-else type="info" size="small" style="margin: 0px">未收货</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="付款状态" width="100" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tag v-if="scope.row.实际付款时间!==''" type="success" size="small" style="margin: 0px">已付款</el-tag>
|
||||||
|
<el-tag v-else type="info" size="small" style="margin: 0px">未付款</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="表单号" align="center" min-width="200px">
|
<el-table-column label="表单号" align="center" min-width="200px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.表单号 }}
|
{{ scope.row.表单号 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user