From a0681130f2e16e2ce5bf14ca1b3cdf219502229f Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期四, 09 十一月 2023 15:50:10 +0800
Subject: [PATCH] 销售明细状态更新修改2
---
docs/swagger.yaml | 142 ++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 139 insertions(+), 3 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 28a52ba..aa85bd5 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -187,6 +187,23 @@
- SalesDetailsKeywordTypeSignTime
- SalesDetailsKeywordTypePrincipal
- SalesDetailsKeywordTypeProductName
+ constvar.SalesDetailsStatus:
+ enum:
+ - 1
+ - 2
+ - 3
+ - 4
+ type: integer
+ x-enum-comments:
+ OverCLose: 宸插叧闂�
+ OverOutbound: 鍑哄簱瀹屾垚
+ WaitConfirmed: 寰呯‘璁�
+ WaitOutbound: 寰呭嚭搴�
+ x-enum-varnames:
+ - WaitConfirmed
+ - WaitOutbound
+ - OverOutbound
+ - OverCLose
constvar.SalesRefundKeywordType:
enum:
- 閿�鍞��璐у崟缂栧彿
@@ -762,6 +779,8 @@
$ref: '#/definitions/model.Quotation'
quotationId:
type: integer
+ sendTime:
+ type: string
serviceContractStatus:
$ref: '#/definitions/model.ServiceContractStatus'
statusId:
@@ -1475,6 +1494,10 @@
type: integer
signTime:
type: string
+ source:
+ type: string
+ status:
+ $ref: '#/definitions/constvar.SalesDetailsStatus'
updateTime:
type: string
wechatOrderStatus:
@@ -2179,6 +2202,23 @@
Unit:
type: string
type: object
+ product.WorkOrderInfo:
+ properties:
+ EndTime:
+ type: string
+ OrderId:
+ type: string
+ OrderStatus:
+ type: string
+ ProductName:
+ type: string
+ StartTime:
+ type: string
+ WorkOrderId:
+ type: string
+ WorkOrderStatus:
+ type: string
+ type: object
request.AddAccountId:
properties:
name:
@@ -2390,7 +2430,7 @@
quotation_id:
type: integer
sendTime:
- description: 鍙戣揣鏃堕棿s
+ description: 鍙戣揣鏃堕棿
type: string
status_id:
type: integer
@@ -2912,6 +2952,10 @@
type: integer
signTime:
type: string
+ source:
+ type: string
+ status:
+ $ref: '#/definitions/constvar.SalesDetailsStatus'
wechatOrderStatusId:
type: integer
type: object
@@ -3753,7 +3797,7 @@
keywordType:
$ref: '#/definitions/constvar.SalesDetailsKeywordType'
number:
- description: 閿�鍞瓙鍗曞彿
+ description: 閿�鍞槑缁嗗崟鍙�
type: string
page:
description: 椤电爜
@@ -4006,6 +4050,10 @@
type: integer
signTime:
type: string
+ source:
+ type: string
+ status:
+ $ref: '#/definitions/constvar.SalesDetailsStatus'
wechatOrderStatusId:
type: integer
type: object
@@ -4405,7 +4453,7 @@
quotation_id:
type: integer
sendTime:
- description: 鍙戣揣鏃堕棿s
+ description: 鍙戣揣鏃堕棿
type: string
status_id:
type: integer
@@ -5131,6 +5179,13 @@
type: integer
salesDetails:
$ref: '#/definitions/request.SalesDetails'
+ type: object
+ request.UpdateSalesDetailsStatus:
+ properties:
+ id:
+ type: integer
+ status:
+ $ref: '#/definitions/constvar.SalesDetailsStatus'
type: object
request.UpdateSalesLeads:
properties:
@@ -9302,6 +9357,31 @@
summary: 鏇存柊浼樺厛绾у埆
tags:
- 浼樺厛绾у埆绠$悊
+ /api/product/getProductOrderInfo/{number}:
+ get:
+ parameters:
+ - description: 鏄庣粏缂栫爜
+ in: path
+ name: number
+ required: true
+ type: string
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ allOf:
+ - $ref: '#/definitions/contextx.Response'
+ - properties:
+ data:
+ items:
+ $ref: '#/definitions/product.WorkOrderInfo'
+ type: array
+ type: object
+ summary: 鑾峰彇浜у搧璁㈠崟淇℃伅
+ tags:
+ - 浜у搧
/api/product/info:
get:
parameters:
@@ -10538,6 +10618,25 @@
summary: 娣诲姞閿�鍞槑缁�
tags:
- SalesDetails
+ /api/salesDetails/createOperation:
+ post:
+ parameters:
+ - description: 鏌ヨ鍙傛暟
+ in: body
+ name: object
+ required: true
+ schema:
+ $ref: '#/definitions/request.SalesDetails'
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: OK
+ schema:
+ $ref: '#/definitions/response.ListResponse'
+ summary: 鍒涘缓浜у搧鍑哄簱淇℃伅
+ tags:
+ - SalesDetails
/api/salesDetails/delete:
delete:
parameters:
@@ -10573,6 +10672,24 @@
schema:
$ref: '#/definitions/contextx.Response'
summary: 鍒犻櫎閿�鍞槑缁�
+ tags:
+ - SalesDetails
+ /api/salesDetails/getProductInventoryInfo/{number}:
+ get:
+ parameters:
+ - description: 鏄庣粏缂栫爜
+ in: path
+ name: number
+ required: true
+ type: string
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: OK
+ schema:
+ $ref: '#/definitions/response.ListResponse'
+ summary: 鑾峰彇浜у搧搴撳瓨淇℃伅
tags:
- SalesDetails
/api/salesDetails/list:
@@ -10618,6 +10735,25 @@
summary: 鏇存柊閿�鍞槑缁�
tags:
- SalesDetails
+ /api/salesDetails/updateStatus:
+ post:
+ parameters:
+ - description: 鏌ヨ鍙傛暟
+ in: body
+ name: object
+ required: true
+ schema:
+ $ref: '#/definitions/request.UpdateSalesDetailsStatus'
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: OK
+ schema:
+ $ref: '#/definitions/contextx.Response'
+ summary: 鏇存柊閿�鍞槑缁嗙姸鎬�
+ tags:
+ - SalesDetails
/api/salesLeads/add:
post:
parameters:
--
Gitblit v1.8.0