|
|
@@ -24,8 +24,8 @@ import { FormState } from './interface';
|
|
|
/**
|
|
|
* 合同操作相关 针对操作类型 1: 保存草稿 2: 提交申请 3: 删除成功 4:审核通过
|
|
|
* @param reqs GldErmcpSpotContractOperateReq
|
|
|
- * @param loading
|
|
|
- * @returns
|
|
|
+ * @param loading
|
|
|
+ * @returns
|
|
|
*/
|
|
|
export function orderContractControl(reqs: GldErmcpSpotContractOperateReq, loading: Ref<boolean>): Promise<string> {
|
|
|
//处理 合同id
|
|
|
@@ -44,9 +44,9 @@ export function orderContractControl(reqs: GldErmcpSpotContractOperateReq, loadi
|
|
|
|
|
|
/**
|
|
|
* 修改合同类型 针对操作类型 4:审核拒绝 6:正常完结 5:撤销
|
|
|
- * @param reqs
|
|
|
- * @param loading
|
|
|
- * @returns
|
|
|
+ * @param reqs
|
|
|
+ * @param loading
|
|
|
+ * @returns
|
|
|
*/
|
|
|
export function orderContractOperateControl(reqs: SpotContractOperateReq, loading: Ref<boolean>): Promise<string> {
|
|
|
//处理 合同id
|
|
|
@@ -66,7 +66,7 @@ export function orderContractOperateControl(reqs: SpotContractOperateReq, loadin
|
|
|
|
|
|
/**
|
|
|
* 新增和修改的表单数据
|
|
|
- * @returns
|
|
|
+ * @returns
|
|
|
*/
|
|
|
export function handleFromState() {
|
|
|
function initFormData() {
|
|
|
@@ -215,7 +215,7 @@ export function handleContract(formState: UnwrapRef<FormState>) {
|
|
|
function queryCustomList() {
|
|
|
QueryCustomInfo(3)
|
|
|
.then((res) => {
|
|
|
- customList.value = res.filter(e => e.status === 4)
|
|
|
+ customList.value = res.filter(e => (e.status === 4))
|
|
|
console.log('客户资料', customList);
|
|
|
})
|
|
|
.catch((err) => {
|