|
|
|
@ -91,7 +91,7 @@
|
|
|
|
|
<div class="avue-crud__header"> |
|
|
|
|
<!-- 头部左侧按钮模块 --> |
|
|
|
|
<div class="avue-crud__left" style="margin-top: 20px"> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleAdd">添 加 配 送</el-button>--> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="printBatch">批量打印</el-button> |
|
|
|
|
<!-- <el-button type="danger" icon="el-icon-delete" @click="handleDelete" plain>删 除</el-button>--> |
|
|
|
|
</div> |
|
|
|
|
<!-- 头部右侧按钮模块 --> |
|
|
|
@ -491,7 +491,6 @@
|
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
|
handler(newVal, oldVal) { |
|
|
|
|
console.log(newVal, oldVal); |
|
|
|
|
this.fetchData(); |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
}, |
|
|
|
@ -600,7 +599,6 @@
|
|
|
|
|
po.push(a); |
|
|
|
|
}); |
|
|
|
|
this.vehicleData = po; |
|
|
|
|
console.log('^^^^^^^^^^^^^^^^', res.data.data); |
|
|
|
|
rv(res.data.data.records); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
@ -618,7 +616,6 @@
|
|
|
|
|
po.push(a); |
|
|
|
|
}); |
|
|
|
|
this.driverData = po; |
|
|
|
|
console.log('===============>', res.data.data); |
|
|
|
|
rv(res.data.data.records); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
@ -648,14 +645,12 @@
|
|
|
|
|
if (value) { |
|
|
|
|
this.form.addvalueType = value; |
|
|
|
|
} |
|
|
|
|
console.log('>>>>>', this.form); |
|
|
|
|
if (value.length < 1) { |
|
|
|
|
this.costList = []; |
|
|
|
|
this.costListName = []; |
|
|
|
|
} |
|
|
|
|
this.deliveryWayData.forEach(i => { |
|
|
|
|
if (value.includes(i.dictKey)) { |
|
|
|
|
console.log(i); |
|
|
|
|
i.pitch = true; |
|
|
|
|
this.costListName = value; |
|
|
|
|
} |
|
|
|
@ -676,6 +671,22 @@
|
|
|
|
|
|
|
|
|
|
//费用列表 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 批量打印 |
|
|
|
|
*/ |
|
|
|
|
printBatch(){ |
|
|
|
|
if (this.selectionList.length === 0) { |
|
|
|
|
this.$message.warning("请选择至少一条数据"); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '功能开发中!' |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
aaa() { |
|
|
|
|
let addvalueInfos = []; |
|
|
|
|
this.form.addvalueType.forEach((item, index) => { |
|
|
|
@ -704,7 +715,6 @@
|
|
|
|
|
params.id = this.deliverId; |
|
|
|
|
params.addvalue = addvalueInfos; |
|
|
|
|
params.relatedId = 2; |
|
|
|
|
console.log('params>>>>>>>>>>>>>>>>>>', params); |
|
|
|
|
addIncrement(params).then(res => { |
|
|
|
|
this.dialogVisible = false; |
|
|
|
|
this.$message({ |
|
|
|
@ -715,11 +725,9 @@
|
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
}, |
|
|
|
|
selectionsc(value) { |
|
|
|
|
console.log('进来了>>>>>>>>>>>>>', value); |
|
|
|
|
}, |
|
|
|
|
editmap(scope) { |
|
|
|
|
const { row } = scope; |
|
|
|
|
console.log('row>>>>>>xxxx', row); |
|
|
|
|
this.$router.push({ |
|
|
|
|
path: '/distribution/reservation/atlas1', |
|
|
|
|
query: { |
|
|
|
@ -730,7 +738,6 @@
|
|
|
|
|
}, |
|
|
|
|
delectsolt(scope) { |
|
|
|
|
const { row } = scope; |
|
|
|
|
console.log(row); |
|
|
|
|
}, |
|
|
|
|
handleClose(done) { |
|
|
|
|
this.$confirm('确认关闭?') |
|
|
|
@ -742,7 +749,6 @@
|
|
|
|
|
}, |
|
|
|
|
editsolt(scope) { |
|
|
|
|
const { row } = scope; |
|
|
|
|
console.log(row); |
|
|
|
|
this.$router.push({ |
|
|
|
|
path: '/distribution/deliverylist/distributionDeliveryListedt', |
|
|
|
|
query: { |
|
|
|
@ -753,7 +759,6 @@
|
|
|
|
|
}, |
|
|
|
|
costadd(scope) { |
|
|
|
|
const { row } = scope; |
|
|
|
|
console.log('row>>>>>>>>>>', row); |
|
|
|
|
this.deliverId = row.id; |
|
|
|
|
//查询订单的增值服务, |
|
|
|
|
this.addvalueServeType = []; |
|
|
|
@ -765,7 +770,6 @@
|
|
|
|
|
// this.orderInfo = row; |
|
|
|
|
}, |
|
|
|
|
btnsc(index, row) { |
|
|
|
|
console.log(index, row); |
|
|
|
|
}, |
|
|
|
|
selectsc(index, row) { |
|
|
|
|
this.query[row.prop] = index; |
|
|
|
@ -781,7 +785,6 @@
|
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
}, |
|
|
|
|
timesc(index, row) { |
|
|
|
|
console.log(index, row); |
|
|
|
|
}, |
|
|
|
|
inputsc(index, row) { |
|
|
|
|
this.query[row.prop] = index; |
|
|
|
@ -852,7 +855,6 @@
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
console.log("query-------------->",this.query); |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
}, |
|
|
|
|
searchReset() { |
|
|
|
|