diff --git a/src/pages/dateUpdate/index.vue b/src/pages/dateUpdate/index.vue index a30c1c5..e686ef2 100644 --- a/src/pages/dateUpdate/index.vue +++ b/src/pages/dateUpdate/index.vue @@ -1,201 +1,212 @@ + .content { + padding: 10px; + + .search { + display: flex; + align-items: center; + justify-content: space-between; + } + + .popup { + background: #fff; + margin: 20px 0 30px; + padding: 5px 10px; + } + + .search-item { + line-height: 1.9; + } + } + + .popup-item { + padding: 10px; + border-bottom: 1px solid #c7c9ce; + display: flex; + align-items: center; + justify-content: space-between; + } + + ::v-deep .uni-popup__wrapper { + width: calc(100% - 20px); + /* padding: 10px; */ + } + + ::v-deep .uni-data-checklist { + // 去掉 flex: 1 + flex: none; + } + \ No newline at end of file diff --git a/src/services/wsMaInfo/wsMaInfo.js b/src/services/wsMaInfo/wsMaInfo.js index cad9f50..562ea56 100644 --- a/src/services/wsMaInfo/wsMaInfo.js +++ b/src/services/wsMaInfo/wsMaInfo.js @@ -11,10 +11,11 @@ export function getWsMaInfoById(id) { } // 查询所有机具信息列表 -export function getWsMaInfoList() { +export function getWsMaInfoList(data) { return http({ url: '/material/wsMaInfo/list', method: 'get', + data: data }) } @@ -63,6 +64,18 @@ export const getMaModeData = (parentId) => { } +export const updateCheckTime = (id) => { + return http({ + method: 'POST', + url: '/material/wsMaInfo/updateCheckTime', + data: {id} + }) +} + + + + + export const getSupplier = () => { return http({ method: 'POST',