diff --git a/common/style/layout.styl b/common/style/layout.styl index be041bb..720a921 100644 --- a/common/style/layout.styl +++ b/common/style/layout.styl @@ -482,4 +482,15 @@ uni-button[size=mini] { width 70% height 4rpx background-color #fff +} +// 开关 +uni-switch .uni-switch-input { + width: 60px !important; + height: 32px !important; +} +uni-switch .uni-switch-input:before { + width: 58px !important; +} +uni-switch .uni-switch-input.uni-switch-input-checked:after { + transform: translateX(30px) !important; } \ No newline at end of file diff --git a/pages.json b/pages.json index 2e82ed8..06306f9 100644 --- a/pages.json +++ b/pages.json @@ -104,6 +104,14 @@ } } + ,{ + "path" : "pages/task/ddrw", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/home/home.vue b/pages/home/home.vue index fad2064..a57b559 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -41,7 +41,8 @@ {title: '任务管理', icon: 'RF6', path: '/pages/task/rwgl'}, {title: '手工组盘', icon: 'RF8', path: '/pages/task/sgzp'}, {title: '空托盘入库', icon: 'RF9', path: '/pages/task/ktprk'}, - {title: '空托盘出库', icon: 'RF10', path: '/pages/task/ktpck'} + {title: '空托盘出库', icon: 'RF10', path: '/pages/task/ktpck'}, + {title: '点对点任务', icon: 'RF11', path: '/pages/task/ddrw'} ], show: false, secM: [] diff --git a/pages/task/ddrw.vue b/pages/task/ddrw.vue new file mode 100644 index 0000000..b00bbce --- /dev/null +++ b/pages/task/ddrw.vue @@ -0,0 +1,120 @@ + + + + + diff --git a/static/image/menu/RF11.png b/static/image/menu/RF11.png new file mode 100644 index 0000000..df4e2f4 Binary files /dev/null and b/static/image/menu/RF11.png differ diff --git a/static/image/menu/RF4.png b/static/image/menu/RF4.png index 7eb0396..37d9a44 100644 Binary files a/static/image/menu/RF4.png and b/static/image/menu/RF4.png differ diff --git a/utils/getData.js b/utils/getData.js index 7051ae4..9a48741 100644 --- a/utils/getData.js +++ b/utils/getData.js @@ -152,3 +152,8 @@ export const empVehicleOut = (code, type) => request({ url:'api/pda/empVehicle/out', data: {point_code: code, storagevehicle_type: type} }) +// 点对点任务 +export const pointToPoint = (code1, code2, vcode, type, is) => request({ + url:'api/pda/schPoint/pointToPoint', + data: {point_code1: code1, point_code2: code2, vehicle_code: vcode, task_type: type, is_vehicle: is} +}) \ No newline at end of file