diff --git a/klp-ui/src/api/hrm/站位.txt b/klp-ui/src/api/hrm/站位.txt new file mode 100644 index 00000000..e69de29b diff --git a/klp-ui/src/views/crm/components/CoilTrace.vue b/klp-ui/src/views/crm/components/CoilTrace.vue new file mode 100644 index 00000000..e69de29b diff --git a/klp-ui/src/views/crm/components/CustomerEdit.vue b/klp-ui/src/views/crm/components/CustomerEdit.vue new file mode 100644 index 00000000..9b9a88d5 --- /dev/null +++ b/klp-ui/src/views/crm/components/CustomerEdit.vue @@ -0,0 +1,200 @@ + + + + + + + 保存变更 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/klp-ui/src/views/crm/components/CustomerInfo.vue b/klp-ui/src/views/crm/components/CustomerInfo.vue new file mode 100644 index 00000000..5c92bac0 --- /dev/null +++ b/klp-ui/src/views/crm/components/CustomerInfo.vue @@ -0,0 +1,41 @@ + + + + {{ customer.customerCode || '-' }} + + + {{ customer.companyName || '-' }} + + + {{ customer.contactPerson || '-' }} + + {{ customer.contactWay || '-' }} + + + + + + + {{ customer.address || '-' }} + + + + \ No newline at end of file diff --git a/klp-ui/src/views/crm/components/CustomerOrder.vue b/klp-ui/src/views/crm/components/CustomerOrder.vue new file mode 100644 index 00000000..c08c0c4c --- /dev/null +++ b/klp-ui/src/views/crm/components/CustomerOrder.vue @@ -0,0 +1,366 @@ + + + + {{ currentCustomer.totalCount || 0 }} + {{ currentCustomer.dealCount || 0 }} + {{ currentCustomer.waitCount || 0 }} + {{ currentCustomer.cancelCount || 0 }} + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + {{ parseTime(scope.row.deliveryDate, '{y}-{m}-{d}') }} + + + + + 预订单 + 正式订单 + + + + + + + + + + + + + + + + + + diff --git a/klp-ui/src/views/crm/components/OrderDetail.vue b/klp-ui/src/views/crm/components/OrderDetail.vue index 51f69652..c32eb7ca 100644 --- a/klp-ui/src/views/crm/components/OrderDetail.vue +++ b/klp-ui/src/views/crm/components/OrderDetail.vue @@ -1,13 +1,14 @@ - - + + - 新增 + 新增 + 刷新 @@ -18,7 +19,7 @@ - + 修改 删除 @@ -68,9 +69,12 @@ export default { name: "OrderItem", props: { orderId: { - type: [String, undefined], required: true - } + }, + editable: { + type: Boolean, + default: true + }, }, data() { return { @@ -98,7 +102,7 @@ export default { queryParams: { pageNum: 1, pageSize: 10, - orderId: this.orderId, + orderId: undefined, productType: undefined, specRequire: undefined, productNum: undefined, @@ -132,10 +136,10 @@ export default { watch: { orderId: { handler(newVal, oldVal) { - if (newVal !== oldVal) { + // if (newVal !== oldVal) { this.queryParams.orderId = newVal; this.getList(); - } + // } }, immediate: true } @@ -199,7 +203,7 @@ export default { handleAdd() { this.reset(); this.open = true; - this.title = "添加正式订单明细"; + this.title = "添加订单明细"; }, /** 修改按钮操作 */ handleUpdate(row) { @@ -210,7 +214,7 @@ export default { this.loading = false; this.form = response.data; this.open = true; - this.title = "修改正式订单明细"; + this.title = "修改订单明细"; }); }, /** 提交按钮 */ diff --git a/klp-ui/src/views/crm/components/OrderEdit.vue b/klp-ui/src/views/crm/components/OrderEdit.vue new file mode 100644 index 00000000..e69de29b diff --git a/klp-ui/src/views/crm/components/OrderInfo.vue b/klp-ui/src/views/crm/components/OrderInfo.vue new file mode 100644 index 00000000..e69de29b diff --git a/klp-ui/src/views/crm/components/OrderRecord.vue b/klp-ui/src/views/crm/components/OrderRecord.vue new file mode 100644 index 00000000..e69de29b diff --git a/klp-ui/src/views/crm/customer/index.vue b/klp-ui/src/views/crm/customer/index.vue index 7d20b155..1c045f65 100644 --- a/klp-ui/src/views/crm/customer/index.vue +++ b/klp-ui/src/views/crm/customer/index.vue @@ -1,33 +1,63 @@ + 客户列表 + - - + + - - - - + + - - + + + - - + @@ -35,112 +65,41 @@ + + - - - - {{ currentCustomer.customerCode || '-' }} - - - {{ currentCustomer.companyName || '-' }} - - - {{ currentCustomer.contactPerson || '-' }} - - {{ currentCustomer.contactWay || '-' }} - - - - - - - {{ currentCustomer.address || '-' - }} - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - {{ currentCustomer.totalCount || 0 }} - {{ currentCustomer.dealCount || 0 }} - {{ currentCustomer.waitCount || 0 }} - {{ currentCustomer.cancelCount || 0 }} - - + - - + @@ -157,14 +116,22 @@ - + - + @@ -174,8 +141,10 @@ - +