diff --git a/src/api/pad.js b/src/api/pad.js index 108b245..de4dc2f 100644 --- a/src/api/pad.js +++ b/src/api/pad.js @@ -10,3 +10,8 @@ export const getPartSubPropertiesValueHeaderData = data => createAPI(`pad/getPar export const searchPartData = data => createAPI(`pad/searchPartData`,'post',data) export const getBomDetailData = data => createAPI(`pad/getBomDetailData`,'post',data) export const getRoutingDetailData = data => createAPI(`pad/getRoutingDetailData`,'post',data) + + +export const searchDelHeaderList = data => createAPI(`/pad/searchDelHeaderList`,'get',data) +export const searchDelNotifyDetail = data => createAPI(`/pad/searchDelNotifyDetail`,'get',data) +export const updateDelNotifyDetail = data => createAPI(`/pad/updateDelNotifyDetail`,'post',data) diff --git a/src/router/index.js b/src/router/index.js index 0d672c6..6eee2b6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -31,6 +31,7 @@ const globalRoutes = [ { path: '/padPart', component: _import('modules/pad/padPart1'), name: 'padPart1', meta: { title: '产品搜索' } }, { path: '/padPartAttribute', component: _import('modules/pad/padPartAttribute'), name: 'padPartAttribute', meta: { title: '产品属性' } }, { path: '/padPartPhoto', component: _import('modules/pad/padPartPhoto'), name: 'padPartPhoto', meta: { title: '产品图片' } }, + { path: '/padCODelNotify', component: _import('modules/pad/padCODelNotify'), name: 'padCODelNotify', meta: { title: '发货通知单' } }, { path: '/taskReport', component: _import('modules/taskmanage/taskReport'), name: 'taskReport', meta: { title: '任务看板' } }, { path: '/autoPrintStock', component: _import('modules/autoPrint/autoPrintStock'), name: 'autoPrintStock', meta: { title: '自动打印库存' } }, { path: '/autoPrint', component: _import('modules/autoPrint/autoPrint'), name: 'autoPrint', meta: { title: '自动打印标签' } }, diff --git a/src/store/modules/user.js b/src/store/modules/user.js index a2895d6..fe538c3 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -6,10 +6,10 @@ export default { site: 0, languageDefault: '', userDisplay: '', - padSopUrl:'http://192.168.2.172/upload/', - tvSopUrl:'http://192.168.2.172/sopFile/', - // padSopUrl:'http://192.168.1.83:81/upload/', - // tvSopUrl:'http://192.168.1.83:81/upload/', + // padSopUrl:'http://192.168.2.172/upload/', + // tvSopUrl:'http://192.168.2.172/sopFile/', + padSopUrl:'http://192.168.1.83:81/upload/', + tvSopUrl:'http://192.168.1.83:81/upload/', }, mutations: { updateId (state, id) { diff --git a/src/views/main.vue b/src/views/main.vue index d668a56..da8f0d9 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -97,6 +97,10 @@ this.site = data.user.site this.languageDefault = data.user.languageDefault this.userDisplay = data.user.userDisplay + let match = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i); + if (match) { + this.$router.replace({ name: 'padCODelNotify' }) + } } }) } diff --git a/src/views/modules/pad/padCODelNotify.vue b/src/views/modules/pad/padCODelNotify.vue new file mode 100644 index 0000000..a193c5d --- /dev/null +++ b/src/views/modules/pad/padCODelNotify.vue @@ -0,0 +1,771 @@ + + + + + diff --git a/src/views/modules/pad/padPartAttribute.vue b/src/views/modules/pad/padPartAttribute.vue index eb07e0d..0019644 100644 --- a/src/views/modules/pad/padPartAttribute.vue +++ b/src/views/modules/pad/padPartAttribute.vue @@ -1,7 +1,7 @@