|
@@ -154,7 +154,9 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column prop="agent" label="库管"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="agent" label="库管">
|
|
|
|
+ <!-- <span>{{ agent }}</span> -->
|
|
|
|
+ </el-table-column>
|
|
<el-table-column fixed="right" label="操作" width="100">
|
|
<el-table-column fixed="right" label="操作" width="100">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button @click="add1(scope.row)" v-if="scope.$index == 0">新增</el-button>
|
|
<el-button @click="add1(scope.row)" v-if="scope.$index == 0">新增</el-button>
|
|
@@ -346,7 +348,7 @@ export default {
|
|
this.buyer = item.buyer
|
|
this.buyer = item.buyer
|
|
this.tranCarNo = item.tranCarNo
|
|
this.tranCarNo = item.tranCarNo
|
|
this.staffId = item.staffId
|
|
this.staffId = item.staffId
|
|
-
|
|
|
|
|
|
+ //this.freightspace[0].agent = this.agent
|
|
var tranCarNos = ''
|
|
var tranCarNos = ''
|
|
this.dialogFormVisible2 = true
|
|
this.dialogFormVisible2 = true
|
|
this.dataList = item
|
|
this.dataList = item
|
|
@@ -535,7 +537,6 @@ export default {
|
|
// }
|
|
// }
|
|
// },
|
|
// },
|
|
add1(item) {
|
|
add1(item) {
|
|
- console.log(this.freightspace[0],this.freightspace[0].carNo.length)
|
|
|
|
if (!this.freightspace[0].carNo) {
|
|
if (!this.freightspace[0].carNo) {
|
|
this.$message({
|
|
this.$message({
|
|
message: '车牌号不能为空',
|
|
message: '车牌号不能为空',
|
|
@@ -584,7 +585,6 @@ export default {
|
|
})
|
|
})
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- console.log(this.planId)
|
|
|
|
var tmp = this.freightspace[0].agent
|
|
var tmp = this.freightspace[0].agent
|
|
var tmp1 = this.freightspace.length + 1
|
|
var tmp1 = this.freightspace.length + 1
|
|
var tmp2='C00'
|
|
var tmp2='C00'
|
|
@@ -615,6 +615,10 @@ export default {
|
|
.toPromise()
|
|
.toPromise()
|
|
.then(response => {
|
|
.then(response => {
|
|
this.refresh()
|
|
this.refresh()
|
|
|
|
+ this.$notify.success({
|
|
|
|
+ title: '成功',
|
|
|
|
+ message: '提交成功'
|
|
|
|
+ })
|
|
})
|
|
})
|
|
},
|
|
},
|
|
editClick(row) {
|
|
editClick(row) {
|