| | |
| | | module.exports = {
|
| | | // baseUrl: 'http://106.14.20.42/test_hfznzz/',
|
| | | // baseUrl: 'https://hefei.dtkey.cn/test_hfznzz/',
|
| | | baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api/',
|
| | | baseUrl: 'https://dmtest.ahapp.net/doumeeplant_api',
|
| | | phoneRegular: /^1[3456789]\d{9}$/,
|
| | | mailboxRegular: /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,
|
| | | positiveInteger: /^[0-9]*[1-9][0-9]*$/,
|
| | |
| | | {
|
| | | "pages": [
|
| | | {
|
| | | "pages": [{
|
| | | "path": "pages/workbench/workbench",
|
| | | "style": {
|
| | | "navigationBarTitleText": "å·¥ä½å°",
|
| | |
| | | "enablePullDownRefresh": false
|
| | | }
|
| | |
|
| | | }
|
| | | ,{
|
| | | }, {
|
| | | "path" : "pages/plannedProgress/plannedProgress",
|
| | | "style" : |
| | | {
|
| | | "style": {
|
| | | "navigationBarTitleText": "计åè¿åº¦",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | |
|
| | | }
|
| | | ,{
|
| | | }, {
|
| | | "path" : "pages/planDetails/planDetails",
|
| | | "style" : |
| | | {
|
| | | "style": {
|
| | | "navigationBarTitleText": "计å详æ
",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | |
|
| | | }
|
| | | ,{
|
| | | }, {
|
| | | "path" : "pages/plannedDistribution/plannedDistribution",
|
| | | "style" : |
| | | {
|
| | | "style": {
|
| | | "navigationBarTitleText": "计ååé
",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | |
|
| | | }
|
| | | ,{
|
| | | }, {
|
| | | "path" : "pages/allocation/allocation",
|
| | | "style" : |
| | | {
|
| | | "style": {
|
| | | "navigationBarTitleText": "éæ©",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | |
|
| | | }
|
| | | ,{
|
| | | }, {
|
| | | "path" : "pages/inspectComplete/inspectComplete",
|
| | | "style" : |
| | | { |
| | | "style": {
|
| | | "navigationBarTitleText": "å®å·¥æ£", |
| | | "enablePullDownRefresh": false |
| | | } |
| | |
|
| | | }
|
| | | ,{
|
| | | }, {
|
| | | "path" : "pages/selectWorkOrder/selectWorkOrder",
|
| | | "style" : |
| | | { |
| | | "style": {
|
| | | "navigationBarTitleText": "鿩工å", |
| | | "enablePullDownRefresh": false |
| | | } |
| | |
|
| | | }
|
| | | ,{
|
| | | }, {
|
| | | "path" : "pages/inspectPatrol/inspectPatrol",
|
| | | "style" : |
| | | { |
| | | "style": {
|
| | | "navigationBarTitleText": "å·¡æ£", |
| | | "enablePullDownRefresh": false |
| | | } |
| | |
|
| | | }
|
| | | ,{
|
| | | }, {
|
| | | "path" : "pages/linePatrol/linePatrol",
|
| | | "style" : |
| | | { |
| | | "style": {
|
| | | "navigationBarTitleText": "巡线", |
| | | "enablePullDownRefresh": false |
| | | } |
| | |
|
| | | }
|
| | | ],
|
| | | "subPackages": [
|
| | | {
|
| | | "subPackages": [{
|
| | | "root": "pages_adjust",
|
| | | "pages": [
|
| | | {
|
| | | "pages": [{
|
| | | "path": "pages/newOutbound/newOutbound",
|
| | | "style": {
|
| | | "navigationBarTitleText": "æ°å»ºåºåº",
|
| | |
| | | },
|
| | | {
|
| | | "root": "pages_inspect",
|
| | | "pages": [
|
| | | {
|
| | | "pages": [{
|
| | | "path": "pages/InspectionRecords/InspectionRecords",
|
| | | "style": {
|
| | | "navigationBarTitleText": "æ£éªè®°å½",
|
| | |
| | | <u-grid col="2" :border="false">
|
| | | <u-grid-item v-for="item in types" :key="item.id">
|
| | | <view class="ptb20 c9 type-style tc rd10"
|
| | | :class="searchForm.type===item.id?'sbtn_green':'sbtn_gray'"
|
| | | @click="searchForm.type=item.id">{{ item.name }}</view>
|
| | | :class="type===item.id?'sbtn_green':'sbtn_gray'"
|
| | | @click="type=item.id">{{ item.name }}</view>
|
| | | </u-grid-item>
|
| | | </u-grid>
|
| | | </view>
|
| | |
| | | name: '客é/è¿åå忣éª'
|
| | | }
|
| | | ],
|
| | | type: '',
|
| | | searchForm: {
|
| | | name: '',
|
| | | status: 0,
|
| | |
| | | this.show = false
|
| | | },
|
| | | resetType() {
|
| | | this.type = ''
|
| | | this.searchForm.type = ''
|
| | | this.confirm()
|
| | | },
|
| | | confirm() {
|
| | | this.searchForm.type = this.type
|
| | | this.show = false
|
| | | this.scrolltoupper()
|
| | | }
|
¶Ô±ÈÐÂÎļþ |
| | |
| | | const http = uni.$u.http
|
| | | |
| | | // åºå
¥åºè¯¦æ
|
| | | export function getList(params) {
|
| | | return http.get('/ext/wOutboundExt/findById', { params })
|
| | | } |
| | | // export function getList(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/findById', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // åºåº/å
¥åºæ«æç¯®çç - H5 |
| | | export function outScanAppliances(params) {
|
| | | return http.get('/ext/wOutboundExt/outScanAppliances', { params })
|
| | | } |
| | | // export function outScanAppliances(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/outScanAppliances', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®è½¬åºåè·ååºåºä¿¡æ¯ - H5 |
| | | export function getOutByWTransferId(params) {
|
| | | return http.get('/ext/wOutboundExt/getOutByWTransferId', { params })
|
| | | } |
| | | // export function getOutByWTransferId(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/getOutByWTransferId', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // åºåºåä¿å |
| | | export function saveOut(data) {
|
| | | return http.post('/ext/wOutboundExt/saveOut', data)
|
| | | } |
| | | // export function saveOut(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/saveOut', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å
¥åºåä¿å |
| | | export function saveIn(data) {
|
| | | return http.post('/ext/wOutboundExt/saveIn', data)
|
| | | } |
| | | // export function saveIn(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/saveIn', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®è½¬åºåè·åå
¥åºä¿¡æ¯ |
| | | export function getInByWTransferId(params) {
|
| | | return http.get('/ext/wOutboundExt/getInByWTransferId', { params })
|
| | | } |
| | | // export function getInByWTransferId(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/getInByWTransferId', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDæ¥è¯¢è´§ä½ä¿¡æ¯ |
| | | export function getLocationInfo(id) {
|
| | | return http.get(`/ext/warehouseLocationExt/${id}`)
|
| | | } |
| | | // export function getLocationInfo(id: string | number): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/warehouseLocationExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDæ¥è¯¢è´§ä½ä¿¡æ¯ |
| | | export function finishedInBill(params) { |
| | | return http.get('/ext/wOutboundExt/finishedInBill', { params }) |
| | | } |
| | | // export function finishedInBill(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/finishedInBill', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // è·å转åºåä¿¡æ¯ |
| | | export function wTransferForInOut(params) { |
| | | return http.get('/ext/wOutboundExt/wTransferForInOut', { params }) |
| | | } |
| | | // export function wTransferForInOut(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wTransferExt/wTransferForInOut', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // è·ååºå
¥åºåä¿¡æ¯ |
| | | export function wOutBoundForInOut(params) { |
| | | return http.get('/ext/wOutboundExt/wOutBoundForInOut', { params }) |
| | | } |
| | | // export function wOutBoundForInOut(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/wOutBoundForInOut', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // è·å转åºåä¿¡æ¯ |
| | | export function saveOutCK (data) { |
| | | return request.post('/ext/wOutboundExt/saveOut', data) |
| | | } |
| | | // export function saveOutCK(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/saveOut', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æäº¤è½¬åºååºå
¥åº |
| | | export function wTransferForInOutUpload(params) { |
| | | return http.get('/ext/wTransferExt/wTransferForInOutUpload', { params }) |
| | | } |
| | | // export function wTransferForInOutUpload(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wTransferExt/wTransferForInOutUpload', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // è°æ´å
¥åº |
| | | export function wOutBoundForStockUp (data) { |
| | | return request.post('/ext/wOutboundExt/wOutBoundForStockUp', data) |
| | | } |
| | | // export function wOutBoundForStockUp(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/createForStandard', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // åºå
¥åºä¸å¡å¤çæäº¤ |
| | | export function wOutBoundForUpload(params) { |
| | | return http.get('/ext/wOutboundExt/wOutBoundForUpload', { params }) |
| | | } |
| | | // export function wOutBoundForUpload(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/wOutBoundForUpload', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // ç©æåé
ä¿¡æ¯å页æ¥è¯¢ |
| | | export function materialDistributeExt (data) { |
| | | return request.post('/ext/materialDistributeExt/page', data) |
| | | } |
| | | // export function materialDistributeExt(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/materialDistributeExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®ç©æä¸»é®æ¥è¯¢ç©æåé
æ°æ® |
| | | export function getMaterialItem(params) { |
| | | return http.get('/ext/materialDistributeExt/findByMaterialId', { params }) |
| | | } |
| | | // export function getMaterialItem(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/materialDistributeExt/findByMaterialId`, |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®ç©æåé
䏻鮿¥è¯¢ |
| | | export function getListByMaterialId(params) { |
| | | return http.get('/ext/proceduresExt/getListByMaterialId', { params }) |
| | | } |
| | | // export function getListByMaterialId(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/proceduresExt/getListByMaterialId', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®è½¬åºåæ¥è¯¢åºå |
| | | export function choiceStockPageByTransfer (data) { |
| | | return request.post('/ext/wStockExt/choiceStockPageByTransfer', data) |
| | | } |
| | | // export function choiceStockPageByTransfer(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wStockExt/choiceStockPageByTransfer', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // 转åºåºåºä¸å¡ - H5 |
| | | export function transferToOutNew (data) { |
| | | return request.post('/ext/wTransferExt/transferToOutNew', data) |
| | | } |
| | | // export function transferToOutNew(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wTransferExt/transferToOutNew', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // 转åºå
¥åºä¸å¡ - H5 |
| | | export function transferToInNew (data) { |
| | | return request.post('/ext/wTransferExt/transferToInNew', data) |
| | | } |
| | | // export function transferToInNew(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wTransferExt/transferToInNew', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®ä¾éè®¡åæ¥è¯¢å¯ç¨åºå |
| | | export function getStockByPlansForStandard (data) { |
| | | return request.post('/ext/workorderRecordExt/getStockByPlansForStandard', data) |
| | | } |
| | | // export function getStockByPlansForStandard(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/workorderRecordExt/getStockByPlansForStandard', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | const request = uni.$u.http |
| | | |
| | | // ä¿®æ¹å½åç¨æ·å¯ç |
| | | export function updatePwd (data) { |
| | | return request.post('/system/updatePwd', data) |
| | | } |
| | | // export function updatePwd(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'system/updatePwd', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // 忢å½åå
¬å¸çº§ç»ç» |
| | | export function changeCom (id) { |
| | | return request.get(`/ext/departmentExt/changeCom/${id}`) |
| | | } |
| | | // export function changeCom(id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/departmentExt/changeCom/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // æ¡ä»¶æ¥è¯¢ä¼ä¸å
¨é¨é¨é¨ |
| | | export function getDepartmentListByConditon (data) { |
| | | return request.post('/ext/departmentExt/getDepartmentListByConditon', data) |
| | | } |
| | | // export function getDepartmentListByConditon(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/departmentExt/getDepartmentListByConditon', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | const request = uni.$u.http |
| | | |
| | | // å页æ¥è¯¢ |
| | | export function getList (data) { |
| | | return request.post('/ext/plansExt/page', data) |
| | | } |
| | | // export function getList(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/plansExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®idæ¥è¯¢ |
| | | export function queryByID (id) { |
| | | return request.get(`/ext/plansExt/h5/${id}`) |
| | | } |
| | | // export function queryByID(id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `/ext/plansExt/h5/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢ç»è®¡å表æ°é |
| | | export function pageCount (data) { |
| | | return request.post('/ext/plansExt/pageCount', data) |
| | | } |
| | | // export function pageCount(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/plansExt/pageCount', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢å·¥åº(个人) |
| | | export function getWorkingProcedure (data) { |
| | | return request.post('/ext/proceduresExt/page', data) |
| | | } |
| | | // export function getWorkingProcedure(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/proceduresExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDåå¸è®¡å |
| | | export function getWorkingProcedure (data) { |
| | | return request.post('/ext/plansExt/publishById', data) |
| | | } |
| | | // export function publishById(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/plansExt/publishById', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDåé
计å |
| | | export function distributeById (data) { |
| | | return request.post('/ext/plansExt/distributeById', data) |
| | | } |
| | | // export function distributeById(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/plansExt/distributeById', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢å½åç¨æ·å
¨é¨èå´å
çå
¨é¨å·¥åº |
| | | export function getSelfList (data) { |
| | | return request.post('/ext/proceduresExt/getSelfList', data) |
| | | } |
| | | // export function getSelfList(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/proceduresExt/getSelfList', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // ç»æ£å页æ¥è¯¢ |
| | | export function ZJPage (data) { |
| | | return request.post('/ext/endCheckExt/page', data) |
| | | } |
| | | // export function ZJPage(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/endCheckExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // ç»æ£æ ¹æ®IDæ¥è¯¢ |
| | | export function getById (id) { |
| | | return request.get(`/ext/endCheckExt/${id}`) |
| | | } |
| | | // export function getById(id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/endCheckExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢è®¾å¤ |
| | | export function getDeviceByCondition (data) { |
| | | return request.post('/ext/deviceExt/getDeviceByCondition', data) |
| | | } |
| | | // export function getDeviceByCondition(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/deviceExt/getDeviceByCondition', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // 人åç»å®è®¾å¤ä¿¡æ¯ |
| | | export function getFindAll (data) { |
| | | return request.post('/ext/userDeviceExt/findAll', data) |
| | | } |
| | | // export function getFindAll(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/userDeviceExt/findAll', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ¡ä»¶æ¥è¯¢ä¼ä¸å
¨é¨é¨é¨ |
| | | export function deletejy (id) { |
| | | return request.get(`/ext/workorderCheckExt/delete/${id}`) |
| | | } |
| | | // export function deletejy(id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/workorderCheckExt/delete/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®å¯¹è±¡ä¿¡æ¯æ¥è¯¢ |
| | | export function queryOne (data) { |
| | | return request.post('/ext/salaryParam/queryOne', data) |
| | | } |
| | | // export function queryOne (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/salaryParam/queryOne', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®å¯¹è±¡ä¿¡æ¯æ¥è¯¢ |
| | | export function queryList (data) { |
| | | return request.post('/ext/salaryParam/queryList', data) |
| | | } |
| | | // export function queryList (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/salaryParam/queryList', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // ä¸é®æ¥å·¥ |
| | | export function autoWorkReport (data) { |
| | | return request.post('/ext/plansExt/autoWorkReport', data) |
| | | } |
| | | // export function autoWorkReport (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/plansExt/autoWorkReport', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®idæ¥è¯¢ |
| | | export function getIdPlansExt (id) { |
| | | return request.get(`/ext/plansExt/${id}`) |
| | | } |
| | | // export function getIdPlansExt(id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `/ext/plansExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // å表æ¥è¯¢ |
| | | export function categoryExtList (data) { |
| | | return request.post('/ext/categoryExt/list', data) |
| | | } |
| | | // export function categoryExtList (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/categoryExt/list', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢å
¨é¨ |
| | | export function allUser (data) { |
| | | return request.post('/ext/companyUserExt/allUser', data) |
| | | } |
| | | // export function allUser (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/companyUserExt/allUser', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | const request = uni.$u.http |
| | | |
| | | // å页æ¥è¯¢ |
| | | export function page (data) { |
| | | return request.post('/ext/workorderCheckExt/page', data) |
| | | } |
| | | // export function page(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderCheckExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å建æ£éª |
| | | export function createJY (data) { |
| | | return request.post('/ext/workorderCheckExt/create', data) |
| | | } |
| | | // export function createJY(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderCheckExt/create', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å建æ£éª--æ¹ |
| | | export function createStandard (data) { |
| | | return request.post('/ext/workorderCheckExt/createStandard', data) |
| | | } |
| | | // export function createStandard(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderCheckExt/createStandard', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDæ¥è¯¢ |
| | | export function getBYid (id) { |
| | | return request.post(`/ext/workorderCheckExt/${id}`, data) |
| | | } |
| | | // export function getBYid(id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `/ext/workorderCheckExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // è·ååºå
¥åºä¿¡æ¯ |
| | | export function findById (id) { |
| | | return request.post(`/ext/wOutboundExt/findById?id=${id}`, data) |
| | | } |
| | | // export function findById(id: Number): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `/ext/wOutboundExt/findById?id=${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // çäº§ç»æ£æ°æ®æäº¤ |
| | | export function upload (data) { |
| | | return request.post('/ext/endCheckExt/upload', data) |
| | | } |
| | | // export function upload (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/endCheckExt/upload', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // çäº§ç»æ£æ°æ®æäº¤ |
| | | export function uploadTest (data) { |
| | | return request.post('/ext/endCheckExt/uploadEndCheckNew', data) |
| | | } |
| | | // export function uploadTest (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/endCheckExt/uploadEndCheckNew', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å·¡æ£è®°å½å建 |
| | | export function saveBean (data) { |
| | | return request.post('/ext/deviceCheckExt/saveBean', data) |
| | | } |
| | | // export function saveBean (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/deviceCheckExt/saveBean', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // è·åæéèå´å
çè®¾å¤æ°æ® |
| | | export function getDeviceByCondition (data) { |
| | | return request.post('/ext/deviceExt/getDeviceByCondition', data) |
| | | } |
| | | // export function getDeviceByCondition (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/deviceExt/getDeviceByCondition', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDæ¥è¯¢è®¾å¤ |
| | | export function getBYid (id) { |
| | | return request.post(`/ext/deviceExt/${id}`, data) |
| | | } |
| | | // export function getsbInfo (id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/deviceExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | const http = uni.$u.http |
| | | |
| | | // å页æ¥è¯¢ |
| | | export function getList (data) { |
| | | return http.post('/ext/workorderExt/page', data) |
| | | } |
| | | // export function getList(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/workorderExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å·¥åç»è®¡å表æ°é |
| | | export function pageCount (data) { |
| | | return http.post('/ext/workorderExt/pageCount', data) |
| | | } |
| | | // export function pageCount(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/workorderExt/pageCount', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDæ¥è¯¢ |
| | | export function queryById (id) { |
| | | return http.get(`/ext/workorderExt/${id}`) |
| | | } |
| | | // export function queryById(id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/workorderExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // åç±»ç»åæ¥å£2 |
| | | export function checkAllList (data) { |
| | | return http.post('/ext/categoryUnionExt/checkAllList', data) |
| | | } |
| | | // export function checkAllList(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/categoryUnionExt/checkAllList', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®ç¨æ·æ¥è¯¢ - 设å¤å表 |
| | | export function getListByUser () { |
| | | return http.post('/ext/userDeviceExt/getListByUser') |
| | | } |
| | | // export function getListByUser (): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/userDeviceExt/getListByUser', |
| | | // method: 'post' |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢å½åç¨æ·ææä¸»ç»ç»ä¸çå·¥åº |
| | | export function warehouseList (data) { |
| | | return http.post('/ext/warehouseExt/page', data) |
| | | } |
| | | // export function warehouseList(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/warehouseExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å®å·¥å
¥åºè¯¦æ
|
| | | export function finishedDetail(params) { |
| | | return http.get('/ext/workorderExt/finishedDetail', { params }) |
| | | } |
| | | // export function finishedDetail (params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderExt/finishedDetail', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®æ¡ä»¶æ¥è¯¢å·¥è£
|
| | | export function getListByCondition (data) { |
| | | return http.post('/ext/appliancesExt/getListByCondition', data) |
| | | } |
| | | // export function getListByCondition(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/appliancesExt/getListByCondition', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ°å»ºææ |
| | | export function createMaterial (data) { |
| | | return http.post('/ext/workorderRecordExt/createMaterial', data) |
| | | } |
| | | // export function createMaterial(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/createMaterial', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ°å»ºææ - æ åç |
| | | export function createMaterialStandard (data) { |
| | | return http.post('/ext/workorderRecordExt/createMaterialStandard', data) |
| | | } |
| | | // export function createMaterialStandard(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/createMaterialStandard', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // è·åæ«ææ¡ç å
容 |
| | | export function getBarcodeContent(params) { |
| | | return http.get('/ext/barcodeParamExt/getBarcodeContent', { params }) |
| | | } |
| | | // export function getBarcodeContent(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/barcodeParamExt/getBarcodeContent', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢å
¨é¨å·¥åç产è¿ç¨è®°å½ |
| | | export function getOrocessRecord (data) { |
| | | return http.post('/ext/workorderRecordExt/all', data) |
| | | } |
| | | // export function getOrocessRecord(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/all', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å·¥è£
å¨å
·æ ¹æ®IDæ¥è¯¢ |
| | | export function toolingQueryById (data) { |
| | | return http.post('/ext/appliancesExt/getListByCondition', data) |
| | | } |
| | | // export function toolingQueryById(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/appliancesExt/getListByCondition', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ°å»ºäº§åº |
| | | export function createProduce (data) { |
| | | return http.post('/ext/workorderRecordExt/createProduce', data) |
| | | } |
| | | // export function createProduce(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/createProduce', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å é¤äº§åº/ææåæ¡è®°å½ |
| | | export function deleteCT (id) { |
| | | return http.get(`/ext/workorderRecordExt/delete/${id}`) |
| | | } |
| | | // export function deleteCT (id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `/ext/workorderRecordExt/delete/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDä¿®æ¹äº§åº-æææ°é |
| | | export function updateById (data) { |
| | | return http.post('/ext/workorderRecordExt/updateById', data) |
| | | } |
| | | // export function updateById (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/updateById', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®ç¯®çåç»ç»è®¡æ¥åºåä¸è¯æ°é |
| | | export function listGroupByAppliance (data) { |
| | | return http.post('/ext/workorderCheckExt/listGroupByAppliance', data) |
| | | } |
| | | // export function listGroupByAppliance (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderCheckExt/listGroupByAppliance', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // 确认æ¥å·¥ |
| | | export function comfirmDone (data) { |
| | | return http.post('/ext/workorderRecordExt/comfirmDone', data) |
| | | } |
| | | // export function comfirmDone (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/comfirmDone', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // 确认æ¥å·¥ - æ åç |
| | | export function comfirmDoneStandard (data) { |
| | | return http.post('/ext/workorderRecordExt/comfirmDoneStandard', data) |
| | | } |
| | | // export function comfirmDoneStandard (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/comfirmDoneStandard', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®æ¡ä»¶æ¥è¯¢ææçæ£ç¹å±æ§ |
| | | export function getJdList (data) { |
| | | return http.post('/ext/checkAttrExt/getListByCondition', data) |
| | | } |
| | | // export function getJdList (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/checkAttrExt/getListByCondition', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ°å»ºç¹æ£ |
| | | export function createDJ (data) { |
| | | return http.post('/ext/workorderCheckAttrExt/create', data) |
| | | } |
| | | // export function createDJ (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderCheckAttrExt/create', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // ç¹æ£å页æ¥è¯¢ |
| | | export function pageDJ (data) { |
| | | return http.post('/ext/workorderCheckAttrExt/page', data) |
| | | } |
| | | // export function pageDJ (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderCheckAttrExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å®å·¥å
¥åºæäº¤ |
| | | export function finished(params) { |
| | | return http.get('/ext/workorderExt/finished', { params }) |
| | | } |
| | | // export function finished (params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderExt/finished', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // å®å·¥å
¥åºè¯¦æ
è®°å½ |
| | | export function saveFinishRecord (data) { |
| | | return http.post('/ext/workorderExt/saveFinishRecord', data) |
| | | } |
| | | // export function saveFinishRecord (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderExt/saveFinishRecord', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å®å·¥å
¥åºè¯¦æ
è®°å½ --- å¾
åè¿å
¥ |
| | | export function getFinishRecord(params) { |
| | | return http.get('/ext/workorderExt/getFinishRecord', { params }) |
| | | } |
| | | // export function getFinishRecord (params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderExt/getFinishRecord', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDæ¥è¯¢è®¾å¤è¯¦æ
|
| | | export function deleteById (id) { |
| | | return http.get(`/ext/deviceExt/${id}`) |
| | | } |
| | | // export function getSbInfo (id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/deviceExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // æ®å
¥åºè´§ä½çéå
¥åºå - H5 |
| | | export function finishedInBill(params) { |
| | | return http.get('/ext/wOutboundExt/finishedInBill', { params }) |
| | | } |
| | | // export function finishedInBill (params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/finishedInBill', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // ç¨æ·ç»å®è®¾å¤ |
| | | export function bindingDevice (data) { |
| | | return http.post('/ext/userDeviceExt/create', data) |
| | | } |
| | | // export function bindingDevice (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/userDeviceExt/create', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å·¥è£
å页æ¥è¯¢ |
| | | export function toolingList (data) { |
| | | return http.post('/ext/appliancesExt/page', data) |
| | | } |
| | | // export function toolingList (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/appliancesExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ´æ¢ç¯®ç |
| | | export function chageApplicance (data) { |
| | | return http.post('/ext/appliancesExt/chageApplicance', data) |
| | | } |
| | | // export function chageApplicance (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/appliancesExt/chageApplicance', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // ç³è¯·åï¼è¿å·¥è¿ä¿®ç³è¯·ä¸è¯åå |
| | | export function checkFGFXList(params) { |
| | | return http.get('/ext/categoryUnionExt/checkFGFXList', { params }) |
| | | } |
| | | // export function checkFGFXList (params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/categoryUnionExt/checkFGFXList', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢å
¬å¸çº§å
¨é¨ |
| | | export function allData (data) { |
| | | return http.post('/ext/salesorder/allData', data) |
| | | } |
| | | // export function allData (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'business/salesorder/allData', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDæ¥è¯¢å·¥åº |
| | | export function getGXItem (id) { |
| | | return http.get(`/ext/proceduresExt/${id}`) |
| | | } |
| | | // export function getGXItem (id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/proceduresExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // æ°å»ºè¿å·¥è¿ä¿®ç³è¯·å |
| | | export function createSingle (data) { |
| | | return http.post('/business/backorder/create', data) |
| | | } |
| | | // export function createSingle (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'business/backorder/create', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢å½åç¨æ·ææä¸»ç»ç»ä¸çå·¥åº |
| | | export function productesGroup (data) { |
| | | return http.post('/ext/proceduresExt/productesGroup', data) |
| | | } |
| | | // export function productesGroup (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/proceduresExt/productesGroup', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // ç³è¯·åå页æ¥è¯¢ |
| | | export function sqdCage (data) { |
| | | return http.post('/business/backorder/page', data) |
| | | } |
| | | // export function sqdCage (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'business/backorder/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // ç³è¯·åæ ¹æ®idæ¥è¯¢è¯¦ç» |
| | | export function getsqdInfo (id) { |
| | | return http.get(`/business/backorder/${id}`) |
| | | } |
| | | // export function getsqdInfo (id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `business/backorder/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // ç³è¯·å---æ ¹æ®å·¥åidæ¥è¯¢å·¥åº |
| | | export function productesGroups (data) { |
| | | return http.post('/business/proceduresExt/productesGroup', data) |
| | | } |
| | | // export function productesGroups (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/proceduresExt/productesGroup', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // å®å·¥å
¥åºè¯¦æ
- NEW |
| | | export function finishedDetailNew(params) { |
| | | return http.get('/ext/workorderExt/finishedDetailNew', { params }) |
| | | } |
| | | // export function finishedDetailNew (params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderExt/finishedDetailNew', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®å·¥åæ¥è¯¢å·¥èºå¡ |
| | | export function getListByWorkOrderId (data) { |
| | | return http.post('/ext/routeCardExt/getListByWorkOrderId', data) |
| | | } |
| | | // export function getListByWorkOrderId (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/routeCardExt/getListByWorkOrderId', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // ç»æ£å·¥è£
æ«æ |
| | | export function getEndCheckAP(params) { |
| | | return http.get('/ext/workorderRecordExt/getEndCheckAP', { params }) |
| | | } |
| | | // export function getEndCheckAP (params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/getEndCheckAP', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®IDæ¥è¯¢è®¾å¤ |
| | | export function deletedj (id) { |
| | | return http.get(`/ext/workorderCheckAttrExt/delete/${id}`) |
| | | } |
| | | // export function deletedj (id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/workorderCheckAttrExt/delete/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // åºåéæ¥è¯¢ - H5 |
| | | export function pageForH5 (data) { |
| | | return http.post('/ext/wStockExt/pageForH5', data) |
| | | } |
| | | // export function pageForH5 (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wStockExt/pageForH5', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // è´§ä½å页æ¥è¯¢ |
| | | export function pageHW (data) { |
| | | return http.post('/ext/warehouseLocationExt/page', data) |
| | | } |
| | | // export function pageHW (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/warehouseLocationExt/page', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ ¹æ®ä»åºæ¥è¯¢ä»åºä¸è´§ä½ä¿¡æ¯ |
| | | export function getListByWarehouseId(params) { |
| | | return http.get('/ext/warehouseLocationExt/getListByWarehouseId', { params }) |
| | | } |
| | | // export function getListByWarehouseId (params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/warehouseLocationExt/getListByWarehouseId', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æå·¥è½¬åº - H5 |
| | | export function scanTransfer (data) { |
| | | return http.post('/ext/wTransferExt/scanTransfer', data) |
| | | } |
| | | // export function scanTransfer (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wTransferExt/scanTransfer', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢å
¨é¨ - æ å |
| | | export function allForStandard (data) { |
| | | return http.post('/ext/workorderRecordExt/allForStandard', data) |
| | | } |
| | | // export function allForStandard (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/allForStandard', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // çæææè®°å½ - standard |
| | | export function dealWorkorderRecordStandard (data) { |
| | | return http.post('/ext/workorderRecordExt/dealWorkorderRecordStandard', data) |
| | | } |
| | | // export function dealWorkorderRecordStandard (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/dealWorkorderRecordStandard', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æ¥è¯¢äº§åºè®°å½å表 |
| | | export function getWorkorderRecordListStandard(params) { |
| | | return http.get('/ext/workorderRecordExt/getWorkorderRecordListStandard', { params }) |
| | | } |
| | | // export function getWorkorderRecordListStandard (params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/workorderRecordExt/getWorkorderRecordListStandard', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | /*** |
| | | * æ ¹æ®IDæ¥è¯¢å·¥è£
ä¿¡æ¯ |
| | | * @param id |
| | | */ |
| | | export function getGzInfo (id) { |
| | | return http.get(`/ext/appliancesExt/${id}`) |
| | | } |
| | | // export function getGzInfo (id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `ext/appliancesExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | /** |
| | | * ç¡®è®¤å¤æè¯¦æ
|
| | | * @param params id: 转åºid |
| | | * @returns |
| | | */ |
| | | export function wTransferConfirm(params) { |
| | | return http.get('/ext/wTransferExt/wTransferConfirm', { params }) |
| | | } |
| | | // export function wTransferConfirm(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wTransferExt/wTransferConfirm', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | /** |
| | | * æ¥å夿 |
| | | * @param params id: id |
| | | * @returns |
| | | */ |
| | | export function acceptWTransfer(params) { |
| | | return http.get('/ext/wTransferExt/acceptWTransfer', { params }) |
| | | } |
| | | // export function acceptWTransfer(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wTransferExt/acceptWTransfer', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // æ°å¢åºåº |
| | | export function createForStandard (data) { |
| | | return http.post('/ext/wOutboundExt/createForStandard', data) |
| | | } |
| | | // export function createForStandard (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wOutboundExt/createForStandard', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // åºåè°æ´ãéè´å
¥åºå
¥åºåå建 |
| | | export function wOutBoundForStockUp (data) { |
| | | return http.post('/ext/wOutboundExt/wOutBoundForStockUp', data) |
| | | } |
| | | // export function wOutBoundForStockUp (data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wOutboundExt/wOutBoundForStockUp', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | const http = uni.$u.http
|
| | |
|
| | | // å页æ¥è¯¢
|
| | | export function getList(data) {
|
| | | return http.post('/ext/noticesExt/page', data)
|
| | | }
|
| | |
|
| | | // æ¥è¯¢ç»è®¡å表æ°é
|
| | | export function pageCount(data) {
|
| | | return http.post('/ext/noticesExt/pageCount', data)
|
| | | }
|
| | | // export function pageCount(data: any): Promise<any> {
|
| | | // return httpRequest({
|
| | | // url: 'ext/noticesExt/pageCount',
|
| | | // method: 'post',
|
| | | // data
|
| | | // })
|
| | | // }
|
| | |
|
| | | // æ ¹æ®IDæ¥è¯¢
|
| | | export function getDB(id) {
|
| | | return http.get(`/ext/noticesExt/${id}`)
|
| | | }
|
| | | // export function getDB(id: any): Promise<any> {
|
| | | // return httpRequest({
|
| | | // url: `ext/noticesExt/${id}`,
|
| | | // method: 'get'
|
| | | // })
|
| | | // }
|
| | |
|
| | | // æå¨åºå
¥åºä½¿ç¨ - å页æ¥è¯¢
|
| | | export function findListPageForManual(data) {
|
| | | return http.post('/ext/appliancesExt/findListPageForManual', data)
|
| | | }
|
| | | // export function findListPageForManual(data: any): Promise<any> {
|
| | | // return httpRequest({
|
| | | // url: 'ext/appliancesExt/findListPageForManual',
|
| | | // method: 'post',
|
| | | // data
|
| | | // })
|
| | | // }
|
| | |
|
| | | // æ ¹æ®ä»åºæ¥è¯¢åºå
|
| | | export function choiceStockListPage(data) {
|
| | | return http.post('/ext/wStockExt/choiceStockListPage', data)
|
| | | }
|
| | | // export function choiceStockListPage(data: any): Promise<any> {
|
| | | // return httpRequest({
|
| | | // url: '/ext/wStockExt/choiceStockListPage',
|
| | | // method: 'post',
|
| | | // data
|
| | | // })
|
| | | // }
|
| | |
|
| | | // æ ¹æ®ä»åºæ¥è¯¢åºå-æ åç
|
| | | export function choiceStockPageForStandard(data) {
|
| | | return http.post('/ext/workorderRecordExt/choiceStockPageForStandard', data)
|
| | | }
|
| | | // export function choiceStockPageForStandard(data: any): Promise<any> {
|
| | | // return httpRequest({
|
| | | // url: 'ext/workorderRecordExt/choiceStockPageForStandard',
|
| | | // method: 'post',
|
| | | // data
|
| | | // })
|
| | | // }
|
| | |
|
| | | // æå¨æ°å»ºè½¬åºå
|
| | | export function createZK(data) {
|
| | | return http.post('/ext/wTransferExt/create', data)
|
| | | }
|
| | | // export function createZK(data: any): Promise<any> {
|
| | | // return httpRequest({
|
| | | // url: 'ext/wTransferExt/create',
|
| | | // method: 'post',
|
| | | // data
|
| | | // })
|
| | | // } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | const request = uni.$u.http |
| | | |
| | | // 转åºåå表 |
| | | export function getTransferList (data) { |
| | | return request.post('/ext/wTransferExt/pageList', data) |
| | | } |
| | | // export function getTransferList(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wTransferExt/pageList', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // 转åºå详æ
|
| | | export function wTransferExtDetail (id) { |
| | | return request.get(`/ext/wTransferExt/${id}`) |
| | | } |
| | | // export function wTransferExtDetail(id: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: `/ext/wTransferExt/${id}`, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // å页æ¥è¯¢åºå |
| | | export function getwStockExtList (data) { |
| | | return request.post('/ext/wStockExt/pageForH5', data) |
| | | } |
| | | // export function getwStockExtList(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wStockExt/pageForH5', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // åºå
¥åºåå表 |
| | | export function getBoundList (data) { |
| | | return request.post('/ext/wOutboundExt/listPage', data) |
| | | } |
| | | // export function getBoundList(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wOutboundExt/listPage', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // æäº¤è½¬åºååºå
¥åº |
| | | export function inOutSubmit(params) { |
| | | return http.get('/ext/wTransferExt/wTransferForInOutUpload', { params }) |
| | | } |
| | | // export function inOutSubmit(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wTransferExt/wTransferForInOutUpload', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | |
| | | // åºå
¥åºå表ç»è®¡ - H5 |
| | | export function pageCount (data) { |
| | | return request.post('/ext/wOutboundExt/pageCount', data) |
| | | } |
| | | // export function pageCount(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wOutboundExt/pageCount', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | // 转åºå表ç»è®¡ - H5 |
| | | export function ZKPageCount (data) { |
| | | return request.post('/ext/wTransferExt/pageCount', data) |
| | | } |
| | | // export function ZKPageCount(data: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: 'ext/wTransferExt/pageCount', |
| | | // method: 'post', |
| | | // data |
| | | // }) |
| | | // } |
| | | |
| | | /** |
| | | * |
| | | * @param params id åºå
¥åºid |
| | | * @returns |
| | | */ |
| | | export function getBoundDetail(params) { |
| | | return http.get('/ext/wOutboundExt/findById', { params }) |
| | | } |
| | | // export function getBoundDetail(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wOutboundExt/findById', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | | /** |
| | | * åæ¶åºå
¥åºåæ® |
| | | * @param params id åºå
¥åºid |
| | | * @returns |
| | | */ |
| | | export function cancelBound(params) { |
| | | return http.get('/ext/wOutboundExt/cancel', { params }) |
| | | } |
| | | // export function cancelBound(params: any): Promise<any> { |
| | | // return httpRequest({ |
| | | // url: '/ext/wOutboundExt/cancel', |
| | | // method: 'get', |
| | | // params |
| | | // }) |
| | | // } |
| | |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | /** |
| | | // ä¿®æ¹ |
| | | export function updateById (data) { |
| | | return http.post('/ext/workorderExt/updateById', data) |
| | | } |
| | | |
| | | // å é¤ |
| | | export function deleteById (id) { |
| | | return http.get(`/ext/workorderExt/${id}`) |
| | | } |
| | | |
| | | export function outScanAppliances(params) { |
| | | return http.get('/ext/workorderExt/outScanAppliances', { params }) |
| | | } |
| | | */ |
| | | |
| | | |
| | | |