This commit is contained in:
liushuai
2020-04-10 19:14:40 +08:00
parent c4f507b2c7
commit 178e5de410
14 changed files with 422 additions and 15 deletions

View File

@@ -522,7 +522,7 @@ export default {
if (valid) {
this.addPurchaseOrder_disable = true
this.supplierName = this.form2.supplierNameValue
addPurchaseOrder(this.form2.计划名称, this.form2.supplierNameValue).then(response => {
addPurchaseOrder(this.form2.计划名称, this.form2.supplierNameValue, this.id).then(response => {
if (response.data[0].result === '1') {
this.$message.success('新建离线外购备料成功')
this.searchTable()

View File

@@ -96,6 +96,11 @@
width="100">
<template slot-scope="scope">{{ scope.row.到货数量 }}</template>
</el-table-column>
<el-table-column label="备料人" align="center" width="80">
<template slot-scope="scope">
{{ scope.row.采购员 }}
</template>
</el-table-column>
<el-table-column label="备料时间" align="center" prop="下单日期" sortable="custom" width="120">
<template slot-scope="scope">
{{ scope.row.下单日期 ? scope.row.下单日期.split(' ')[0] : '' }}