|
@@ -2218,6 +2218,7 @@ export default {
|
|
this.batchCapacityList.forEach(row => {
|
|
this.batchCapacityList.forEach(row => {
|
|
row.capacityId = this.capacityId
|
|
row.capacityId = this.capacityId
|
|
row.capacityNumber = this.capacityNo
|
|
row.capacityNumber = this.capacityNo
|
|
|
|
+ row.capacityNo = this.capacityNo
|
|
//是否校验GPS
|
|
//是否校验GPS
|
|
row.isCheckGPS = this.isCheckGPS
|
|
row.isCheckGPS = this.isCheckGPS
|
|
row.userId = getCookie('userId')
|
|
row.userId = getCookie('userId')
|
|
@@ -2232,6 +2233,8 @@ export default {
|
|
let map = {
|
|
let map = {
|
|
list: this.batchCapacityList
|
|
list: this.batchCapacityList
|
|
}
|
|
}
|
|
|
|
+ console.log(map, 'batchMap')
|
|
|
|
+ return
|
|
this.axios.post('/api/v1/ams/batchUpdateCapacity', map).then(res => {
|
|
this.axios.post('/api/v1/ams/batchUpdateCapacity', map).then(res => {
|
|
if (res.data.code == '200') {
|
|
if (res.data.code == '200') {
|
|
this.$message.success('派车成功!')
|
|
this.$message.success('派车成功!')
|
|
@@ -2296,7 +2299,29 @@ export default {
|
|
if (this.$refs.tableRef.selection.length == 1) {
|
|
if (this.$refs.tableRef.selection.length == 1) {
|
|
this.splitOrder()
|
|
this.splitOrder()
|
|
} else if (this.$refs.tableRef.selection.length > 1) {
|
|
} else if (this.$refs.tableRef.selection.length > 1) {
|
|
- this.mergeOrder()
|
|
|
|
|
|
+ this.$confirm(
|
|
|
|
+ `尊敬的用户${getCookie(
|
|
|
|
+ 'loginName'
|
|
|
|
+ )},系统温馨提示您进行合并操作前,请确认所合并的订单将不会在金蝶进行提交,审核等操作!`,
|
|
|
|
+ '提醒',
|
|
|
|
+ {
|
|
|
|
+ confirmButtonText: '我已确认',
|
|
|
|
+ cancelButtonText: '我再想想',
|
|
|
|
+ center: true,
|
|
|
|
+ type: 'warning'
|
|
|
|
+ }
|
|
|
|
+ )
|
|
|
|
+ .then(() => {
|
|
|
|
+ this.mergeOrder()
|
|
|
|
+ })
|
|
|
|
+ .catch(() => {
|
|
|
|
+ this.$message({
|
|
|
|
+ type: 'info',
|
|
|
|
+ duration: '2500',
|
|
|
|
+ message: '操作取消',
|
|
|
|
+ offset: '250'
|
|
|
|
+ })
|
|
|
|
+ })
|
|
} else {
|
|
} else {
|
|
this.$message({
|
|
this.$message({
|
|
type: 'warning',
|
|
type: 'warning',
|