diff --git a/src/api/shipmentDetail.js b/src/api/shipmentDetail.js
index fa7e200..734513b 100644
--- a/src/api/shipmentDetail.js
+++ b/src/api/shipmentDetail.js
@@ -15,6 +15,14 @@ export function del(id) {
})
}
+export function calcShipmentFee() {
+ return request({
+ url: 'api/shipmentDetail/calcShipmentFee',
+ method: 'get'
+ })
+}
+
+
export function edit(data) {
return request({
url: 'api/shipmentDetail',
diff --git a/src/views/logistics/quotation/form.vue b/src/views/logistics/quotation/form.vue
index 2e75432..739fc64 100644
--- a/src/views/logistics/quotation/form.vue
+++ b/src/views/logistics/quotation/form.vue
@@ -4,6 +4,9 @@
+
+
+
@@ -53,6 +56,7 @@ export default {
form: {
id: '',
custName: '',
+ custNo: '',
netName: '',
netCode: '',
preChargeNo: '',
diff --git a/src/views/logistics/quotation/index.vue b/src/views/logistics/quotation/index.vue
index a1e1dc4..025c611 100644
--- a/src/views/logistics/quotation/index.vue
+++ b/src/views/logistics/quotation/index.vue
@@ -35,6 +35,13 @@
+
+
+
+
+
+
搜索
+
+
@@ -135,6 +143,12 @@ export default {
url: "/api/quotation/importQuotation"
},
delLoading: false,
+ queryTypeOptions: [
+ { key: 'custName', display_name: '客户名称' },
+ { key: 'netName', display_name: '网点名称' },
+ { key: 'netCode', display_name: '网点编码' },
+ { key: 'custNo', display_name: '客户编号' }
+ ]
}
},
created() {
@@ -148,6 +162,10 @@ export default {
this.url = 'api/quotation'
const sort = 'id,desc'
this.params = { page: this.page, size: this.size, sort: sort }
+ const query = this.query
+ const type = query.type
+ const value = query.value
+ if (type && value) { this.params[type] = value }
return true
},
subDelete(id) {
@@ -178,6 +196,7 @@ export default {
_this.form = {
id: data.id,
custName: data.custName,
+ custNo: data.custNo,
netName: data.netName,
netCode: data.netCode,
preChargeNo: data.preChargeNo,
diff --git a/src/views/logistics/shipmentDetail/index.vue b/src/views/logistics/shipmentDetail/index.vue
index b693766..28d9c43 100644
--- a/src/views/logistics/shipmentDetail/index.vue
+++ b/src/views/logistics/shipmentDetail/index.vue
@@ -49,6 +49,17 @@
type="primary"
icon="el-icon-plus"
@click="add">新增
+
+
+
+ 批量算运费
@@ -121,7 +132,7 @@