diff --git a/http/yskApi/requestAll.js b/http/yskApi/requestAll.js index d6fb3ce..f20b970 100644 --- a/http/yskApi/requestAll.js +++ b/http/yskApi/requestAll.js @@ -10,6 +10,62 @@ export function summaryTrade(data) { } }) } +// 供应商列表 +export function tbShopPurveyorTransact(params) { + return request({ + url: '/api/tbShopPurveyorTransact', + method: 'get', + params + }) +} +// 添加供应商 +export function tbShopPurveyorpost(data) { + return request({ + url: `/api/tbShopPurveyor`, + method: "post", + data + }); +} +// 编辑供应商 +export function tbShopPurveyorput(data) { + return request({ + url: `/api/tbShopPurveyor`, + method: "put", + data + }); +} +// 结款记录列表 +export function tbShopPurveyorTransactinfo(data) { + return request({ + url: '/api/tbShopPurveyorTransact/info', + method: "post", + data + }) +} +// 付款 +export function tbShopPurveyorpayTransact(data) { + return request({ + url: '/api/tbShopPurveyorTransact/payTransact', + method: "post", + data + }) +} +// 账单付款记录 +export function tbShopPurveyorTransacttransactPayInfos(params) { + return request({ + url: '/api/tbShopPurveyorTransact/transactPayInfos', + method: 'get', + params + }) +} +// 删除供应商列表 +export function tbShopPurveyordelete(data) { + return request({ + url: `/api/tbShopPurveyor`, + method: "delete", + data + }); +} // 耗材报损 export function tbConsInfoFlowfrmLoss(data) { return request({ diff --git a/pageConsumables/addsupplier.vue b/pageConsumables/addsupplier.vue new file mode 100644 index 0000000..a9f7f0a --- /dev/null +++ b/pageConsumables/addsupplier.vue @@ -0,0 +1,139 @@ + + + + + + \ No newline at end of file diff --git a/pageConsumables/billPayment.vue b/pageConsumables/billPayment.vue new file mode 100644 index 0000000..c61fc9c --- /dev/null +++ b/pageConsumables/billPayment.vue @@ -0,0 +1,81 @@ + + + + + \ No newline at end of file diff --git a/pageConsumables/components/my-date-pickerview.vue b/pageConsumables/components/my-date-pickerview.vue new file mode 100644 index 0000000..df67817 --- /dev/null +++ b/pageConsumables/components/my-date-pickerview.vue @@ -0,0 +1,448 @@ + + + + + \ No newline at end of file diff --git a/pageConsumables/editsupplier.vue b/pageConsumables/editsupplier.vue new file mode 100644 index 0000000..d60c413 --- /dev/null +++ b/pageConsumables/editsupplier.vue @@ -0,0 +1,149 @@ + + + + + + \ No newline at end of file diff --git a/pageConsumables/index.vue b/pageConsumables/index.vue index d527136..cc8dd5b 100644 --- a/pageConsumables/index.vue +++ b/pageConsumables/index.vue @@ -4,7 +4,7 @@ {{datas.title}} - + 新增类别 @@ -59,7 +59,7 @@ 新增耗材 - + 供应商管理 @@ -365,6 +365,7 @@ >view:first-child { border-radius: 56rpx 0rpx 0rpx 56rpx; color: #318AFE; + background-color: #fff; } >view:last-child { diff --git a/pageConsumables/paymentSettlement.vue b/pageConsumables/paymentSettlement.vue new file mode 100644 index 0000000..ac907f2 --- /dev/null +++ b/pageConsumables/paymentSettlement.vue @@ -0,0 +1,423 @@ + + + + + \ No newline at end of file diff --git a/pageConsumables/supplier.vue b/pageConsumables/supplier.vue new file mode 100644 index 0000000..2464e3e --- /dev/null +++ b/pageConsumables/supplier.vue @@ -0,0 +1,180 @@ + + + + + \ No newline at end of file diff --git a/pageLineUp/callRecord.vue b/pageLineUp/callRecord.vue index 600cc3a..9fb0a14 100644 --- a/pageLineUp/callRecord.vue +++ b/pageLineUp/callRecord.vue @@ -82,22 +82,24 @@ // text-decoration: none; // outline: none; // } + page { + background: #f9f9f9; + } ul, li { list-style: none; + padding: 12rpx; } - page { - background: #f9f9f9; - } + .callRecord { >li { width: 694rpx; height: 166rpx; - margin: 32rpx auto; + margin: 32rpx 0; background: #FFFFFF; border-radius: 18rpx 18rpx 18rpx 18rpx; display: flex; @@ -106,6 +108,7 @@ >view:first-child { padding: 0 58rpx; + box-sizing: border-box; >view:first-child { font-family: Source Han Sans CN, Source Han Sans CN; diff --git a/pages.json b/pages.json index f433742..fd97ee6 100644 --- a/pages.json +++ b/pages.json @@ -1365,7 +1365,38 @@ "style": { "navigationBarTitleText": "查看详情" } - }] + }, { + "pageId": "PAGES_SUPPLIER", + "path": "supplier", + "style": { + "navigationBarTitleText": "供应商列表" + } + }, { + "pageId": "PAGES_ADD_SUPPLIER", + "path": "addsupplier", + "style": { + "navigationBarTitleText": "添加供应商" + } + }, { + "pageId": "PAGES_EDIT_SUPPLIER", + "path": "editsupplier", + "style": { + "navigationBarTitleText": "编辑供应商" + } + }, { + "pageId": "PAGES_PAYMENT_SETTLEMENT", + "path": "paymentSettlement", + "style": { + "navigationBarTitleText": "结款记录" + } + }, { + "pageId": "PAGES_BILL_PAYMENT", + "path": "billPayment", + "style": { + "navigationBarTitleText": "账单付款记录" + } + } + ] }, { diff --git a/pages/login/index.vue b/pages/login/index.vue index 674e8a7..1651131 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -213,10 +213,10 @@ }) // #ifdef H5 - vdata.formData.username = '18049104914' - vdata.formData.pwd = '123456' - // vdata.formData.username = '19502966242' - // vdata.formData.pwd = '11280923' + // vdata.formData.username = '18049104914' + // vdata.formData.pwd = '123456' + vdata.formData.username = '15699991111' + vdata.formData.pwd = 'qwer1234' // #endif // #ifdef MP-WEIXIN vdata.formData.username = '15699991111' diff --git a/开发文档.md b/开发文档.md index 4cca566..3f47d69 100644 --- a/开发文档.md +++ b/开发文档.md @@ -32,3 +32,21 @@ H5, 不影响。 * 证书私钥密码 * 小程序AppID * 高德Key +### 代码 +```javascript +export function tbShopPurveyorTransact(params) { + return request({ + url: '/api/tbShopPurveyorTransact', + method: 'get', + params + }) +} +// 删除\编辑、添加 +export function tbShopPurveyordelete(data) { + return request({ + url: `/api/tbShopPurveyor`, + method: "delete-post-put", + data + }); +} +```