|
@@ -168,11 +168,10 @@
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="orderMakingTime"
|
|
|
|
|
|
+ prop="saleMakeDate"
|
|
label="制单时间"
|
|
label="制单时间"
|
|
width="110px"
|
|
width="110px"
|
|
align="center"
|
|
align="center"
|
|
- show-overflow-tooltip
|
|
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -386,11 +385,10 @@
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="orderMakingTime"
|
|
|
|
|
|
+ prop="saleMakeDate"
|
|
label="制单时间"
|
|
label="制单时间"
|
|
width="110px"
|
|
width="110px"
|
|
align="center"
|
|
align="center"
|
|
- show-overflow-tooltip
|
|
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -1163,6 +1161,8 @@ export default {
|
|
//只修改单价
|
|
//只修改单价
|
|
makeSure() {
|
|
makeSure() {
|
|
//若没有单价Id
|
|
//若没有单价Id
|
|
|
|
+ console.log("获取数据")
|
|
|
|
+ console.log(this.userId)
|
|
console.log(this.makeSurePriceOrderList)
|
|
console.log(this.makeSurePriceOrderList)
|
|
if (this.makeSurePriceOrderList.length == 0) {
|
|
if (this.makeSurePriceOrderList.length == 0) {
|
|
this.$message({
|
|
this.$message({
|
|
@@ -1183,6 +1183,7 @@ export default {
|
|
})
|
|
})
|
|
let mapValue = {}
|
|
let mapValue = {}
|
|
mapValue.mapList = mapList
|
|
mapValue.mapList = mapList
|
|
|
|
+ mapValue.userId=this.userId
|
|
// //是否确定修改详单地址!
|
|
// //是否确定修改详单地址!
|
|
// this.$confirm('确定修改', '提示', {
|
|
// this.$confirm('确定修改', '提示', {
|
|
// confirmButtonText: '仅修改单价',
|
|
// confirmButtonText: '仅修改单价',
|
|
@@ -1198,7 +1199,7 @@ export default {
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.data.code == '200') {
|
|
if (res.data.code == '200') {
|
|
this.$message.success('修改详单单价成功!')
|
|
this.$message.success('修改详单单价成功!')
|
|
- this.$refs.tableRef.clearSelection()
|
|
|
|
|
|
+ //this.$refs.tableRef.clearSelection()
|
|
//重置未结算详单表单信息
|
|
//重置未结算详单表单信息
|
|
// this.operation(this.steelMap)
|
|
// this.operation(this.steelMap)
|
|
this.loadNewData()
|
|
this.loadNewData()
|
|
@@ -1211,6 +1212,8 @@ export default {
|
|
},
|
|
},
|
|
//修改单价和收货地址
|
|
//修改单价和收货地址
|
|
makeSureAll(){
|
|
makeSureAll(){
|
|
|
|
+ console.log("获取数据")
|
|
|
|
+ console.log(this.userId)
|
|
if (this.makeSurePriceOrderList.length == 0) {
|
|
if (this.makeSurePriceOrderList.length == 0) {
|
|
this.$message({
|
|
this.$message({
|
|
type: 'success',
|
|
type: 'success',
|
|
@@ -1231,11 +1234,14 @@ export default {
|
|
let mapValue = {}
|
|
let mapValue = {}
|
|
mapValue.mapList = mapList
|
|
mapValue.mapList = mapList
|
|
mapValue.updatePlace = 1
|
|
mapValue.updatePlace = 1
|
|
|
|
+ mapValue.userId=this.userId
|
|
|
|
+ console.log("要的数据")
|
|
|
|
+ console.log(mapValue)
|
|
this.axios
|
|
this.axios
|
|
.post('/api/v1/bms/updateBatchDetailsOrder', mapValue)
|
|
.post('/api/v1/bms/updateBatchDetailsOrder', mapValue)
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.data.code == '200') {
|
|
if (res.data.code == '200') {
|
|
- this.$refs.tableRef.clearSelection()
|
|
|
|
|
|
+ //this.$refs.tableRef.clearSelection()
|
|
this.$message.success('修改详单单价和地址成功!')
|
|
this.$message.success('修改详单单价和地址成功!')
|
|
// this.operation(this.steelMap)
|
|
// this.operation(this.steelMap)
|
|
this.loadNewData()
|
|
this.loadNewData()
|
|
@@ -2893,7 +2899,6 @@ export default {
|
|
loading.close()
|
|
loading.close()
|
|
})
|
|
})
|
|
.catch(() => {
|
|
.catch(() => {
|
|
- loading.close()
|
|
|
|
})
|
|
})
|
|
|
|
|
|
this.axios
|
|
this.axios
|
|
@@ -2932,8 +2937,9 @@ export default {
|
|
loading.close()
|
|
loading.close()
|
|
})
|
|
})
|
|
.catch(() => {
|
|
.catch(() => {
|
|
- loading.close()
|
|
|
|
})
|
|
})
|
|
|
|
+ loading.close();
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|