diff --git a/locale/en.json b/locale/en.json
index 834aadd..578480f 100644
--- a/locale/en.json
+++ b/locale/en.json
@@ -7,8 +7,9 @@
"button.confirm": "确定",
"button.cancel": "取消",
"button.clear": "清空",
+ "button.clear-point": "清空点位",
"button.search": "查询",
- "button.confirm-quhuo": "确认取货",
+ "button.clear-col": "清空列",
"button.scan-add": "扫码插入",
"button.add-row": "插入行",
"button.del-row": "删除行",
@@ -22,6 +23,13 @@
"button.force-complete": "强制完成",
"button.enter": "进入",
"button.quit": "退出",
+ "button.scxl": "产线下料",
+ "button.zjps": "质检配送",
+ "button.zjxl": "质检下料",
+ "button.control": "管制",
+ "button.deregulate": "解除管制",
+ "button.pause": "暂停",
+ "button.recover": "恢复",
"login.username": "用户名",
"login.password": "密码",
"login.remember": "记住用户名",
@@ -52,7 +60,8 @@
"menu.task-management": "任务管理",
"menu.work-manage": "作业管理",
"menu.fixedpoint-work": "定点作业",
- "menu.inout-area-mark": "进出区域登记",
+ "menu.area-manage": "区域管制",
+ "menu.agv-manage": "AGV管制",
"filter.area": "区域",
"filter.point": "点位",
"filter.type": "类型",
@@ -67,6 +76,8 @@
"filter.start-area": "起点区域",
"filter.end-area": "终点区域",
"filter.control-area": "管制区域",
+ "filter.col": "列",
+ "filter.carno": "车号",
"grid.number": "序号",
"grid.roll-number": "卷号",
"grid.material-code": "物料编码",
@@ -83,7 +94,8 @@
"grid.enter-time": "进入时间",
"grid.enter-man": "进入人",
"grid.enter-area": "进入区域",
- "filter.wltype": "Material Type",
+ "grid.wltype": "物料类型",
+ "grid.has-task": "是否有任务",
"toast.select-row": "请选择一行",
"toast.device-not-empty": "设备不能为空",
"toast.material-not-empty": "物料不能为空",
diff --git a/locale/jp.json b/locale/jp.json
index 07a245f..cb98f76 100644
--- a/locale/jp.json
+++ b/locale/jp.json
@@ -7,8 +7,9 @@
"button.confirm": "を選択して、",
"button.cancel": "キャンセル",
"button.clear": "クリアランス",
+ "button.clear-point": "ポイントをクリア",
"button.search": "クエリー#クエリー#",
- "button.confirm-quhuo": "引取確認",
+ "button.clear-col": "列を空にする",
"button.scan-add": "スイープコード挿入",
"button.add-row": "行の挿入",
"button.del-row": "行の削除",
@@ -22,6 +23,13 @@
"button.force-complete": "強制完了",
"button.enter": "に入る",
"button.quit": "終了",
+ "button.scxl": "ラインダウン",
+ "button.zjps": "品質検査配送",
+ "button.zjxl": "品質検査で材料を落とす",
+ "button.control": "せいぎょ",
+ "button.deregulate": "規制解除",
+ "button.pause": "一時停止",
+ "button.recover": "回復",
"login.username": "ユーザー名",
"login.password": "パスワード",
"login.remember": "ユーザー名を記憶する",
@@ -52,7 +60,8 @@
"menu.task-management": "タスク管理",
"menu.work-manage": "ジョブ管理",
"menu.fixedpoint-work": "ポインティングジョブ",
- "menu.inout-area-mark": "入退場区域登録",
+ "menu.area-manage": "入退場区域登録",
+ "menu.agv-manage": "AGV せいぎょ",
"filter.area": "領域",
"filter.point": "ポイント",
"filter.type": "を選択してオプションを設定します。",
@@ -67,6 +76,8 @@
"filter.start-area": "始点領域",
"filter.end-area": "終点領域",
"filter.control-area": "管制区域",
+ "filter.col": "列",
+ "filter.carno": "車のナンバー",
"grid.number": "シーケンス番号",
"grid.roll-number": "ボリューム番号",
"grid.material-code": "品目コード",
@@ -84,6 +95,7 @@
"grid.enter-man": "入場者",
"grid.enter-area": "ゾーンに入る",
"grid.wltype": "品目タイプ",
+ "grid.has-task": "タスクの有無",
"toast.select-row": "行を選択してください",
"toast.device-not-empty": "デバイスを空にすることはできません",
"toast.material-not-empty": "品目を空にすることはできません",
diff --git a/locale/zh-Hans.json b/locale/zh-Hans.json
index 2ff6238..578480f 100644
--- a/locale/zh-Hans.json
+++ b/locale/zh-Hans.json
@@ -7,8 +7,9 @@
"button.confirm": "确定",
"button.cancel": "取消",
"button.clear": "清空",
+ "button.clear-point": "清空点位",
"button.search": "查询",
- "button.confirm-quhuo": "确认取货",
+ "button.clear-col": "清空列",
"button.scan-add": "扫码插入",
"button.add-row": "插入行",
"button.del-row": "删除行",
@@ -22,6 +23,13 @@
"button.force-complete": "强制完成",
"button.enter": "进入",
"button.quit": "退出",
+ "button.scxl": "产线下料",
+ "button.zjps": "质检配送",
+ "button.zjxl": "质检下料",
+ "button.control": "管制",
+ "button.deregulate": "解除管制",
+ "button.pause": "暂停",
+ "button.recover": "恢复",
"login.username": "用户名",
"login.password": "密码",
"login.remember": "记住用户名",
@@ -52,7 +60,8 @@
"menu.task-management": "任务管理",
"menu.work-manage": "作业管理",
"menu.fixedpoint-work": "定点作业",
- "menu.inout-area-mark": "进出区域登记",
+ "menu.area-manage": "区域管制",
+ "menu.agv-manage": "AGV管制",
"filter.area": "区域",
"filter.point": "点位",
"filter.type": "类型",
@@ -67,6 +76,8 @@
"filter.start-area": "起点区域",
"filter.end-area": "终点区域",
"filter.control-area": "管制区域",
+ "filter.col": "列",
+ "filter.carno": "车号",
"grid.number": "序号",
"grid.roll-number": "卷号",
"grid.material-code": "物料编码",
@@ -84,6 +95,7 @@
"grid.enter-man": "进入人",
"grid.enter-area": "进入区域",
"grid.wltype": "物料类型",
+ "grid.has-task": "是否有任务",
"toast.select-row": "请选择一行",
"toast.device-not-empty": "设备不能为空",
"toast.material-not-empty": "物料不能为空",
diff --git a/pages.json b/pages.json
index bce5ea8..7132d56 100644
--- a/pages.json
+++ b/pages.json
@@ -499,7 +499,14 @@
}
}
,{
- "path" : "pages/ftdlDTY/inout-area-mark",
+ "path" : "pages/ftdlDTY/area-manage",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+ }
+ ,{
+ "path" : "pages/ftdlDTY/agv-manage",
"style" :
{
"navigationStyle": "custom"
diff --git a/pages/ftdlDTY/agv-manage.vue b/pages/ftdlDTY/agv-manage.vue
new file mode 100644
index 0000000..6b344e9
--- /dev/null
+++ b/pages/ftdlDTY/agv-manage.vue
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+ {{$t('filter.carno')}}
+
+
+
+
+
+
+
+
+
+
+
+
+ | {{$t('grid.number')}} |
+ {{$t('filter.carno')}} |
+ {{$t('grid.status')}} |
+ {{$t('grid.has-task')}} |
+
+
+
+
+ | {{i+1}} |
+ {{e.agv_no}} |
+ {{e.status}} |
+ {{e.hasTask}} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/ftdlDTY/inout-area-mark.vue b/pages/ftdlDTY/area-manage.vue
similarity index 87%
rename from pages/ftdlDTY/inout-area-mark.vue
rename to pages/ftdlDTY/area-manage.vue
index 7a1b4b3..5da1ed1 100644
--- a/pages/ftdlDTY/inout-area-mark.vue
+++ b/pages/ftdlDTY/area-manage.vue
@@ -1,6 +1,6 @@
-
+
@@ -44,11 +44,11 @@
+
+ -->
-
-
+
+
@@ -57,7 +57,7 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import { confirmAction } from '@/utils/utils.js'
- import {getChargeRegions, selectRegionInfo, inArea, outArea} from '@/utils/getData4.js'
+ import {getRegions, selectRegionInfo, chargeArea, releaseArea} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -89,12 +89,12 @@
this.title = options.title
},
created () {
- this._getChargeRegions()
+ this._getRegions()
},
methods: {
- async _getChargeRegions () {
+ async _getRegions () {
try {
- let res = await getChargeRegions()
+ let res = await getRegions()
if (res) {
this.options = res.data
} else {
@@ -159,13 +159,13 @@
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
if (isConfirmed) {
- this._inArea()
+ this._chargeArea()
}
},
- async _inArea () {
+ async _chargeArea () {
this.disabled = true
try {
- let res = await inArea(this.index)
+ let res = await chargeArea(this.index, '1')
uni.showToast({
title: res.message,
icon: 'none'
@@ -177,18 +177,18 @@
}
},
async handleConfirm2() {
- if (!this.pkId) {
+ if (!this.index) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
if (isConfirmed) {
- this._outArea()
+ this._releaseArea()
}
},
- async _outArea () {
+ async _releaseArea () {
this.disabled2 = true
try {
- let res = await outArea(this.pkObj)
+ let res = await releaseArea(this.index, '2')
uni.showToast({
title: res.message,
icon: 'none'
diff --git a/pages/ftdlDTY/line-down-mater.vue b/pages/ftdlDTY/line-down-mater.vue
index f0035d0..4b9877e 100644
--- a/pages/ftdlDTY/line-down-mater.vue
+++ b/pages/ftdlDTY/line-down-mater.vue
@@ -24,12 +24,6 @@
-
-
-
-
-
-
@@ -65,8 +59,10 @@
-
-
+
+
+
+
@@ -75,7 +71,7 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import { confirmAction } from '@/utils/utils.js'
- import {getNextRegions, selectMaterials, blanking} from '@/utils/getData4.js'
+ import {getNextRegionsByPoint, selectMaterials, productBlanking} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -98,26 +94,26 @@
this.title = options.title
},
onShow() {
- if (this.$store.getters.publicObj !== '') {
- this.currentData = this.$store.getters.publicObj
- this.pkId = ''
- this.dataList.map((item) => {
- if (this.pkObj.mid === item.mid) {
- item.material_name = this.currentData.material_name
- item.material_code = this.currentData.material_code
- item.measure_unit_id = this.currentData.measure_unit_id
- }
- })
- this.$store.dispatch('setPublicObj', '')
- }
+ // if (this.$store.getters.publicObj !== '') {
+ // this.currentData = this.$store.getters.publicObj
+ // this.pkId = ''
+ // this.dataList.map((item) => {
+ // if (this.pkObj.mid === item.mid) {
+ // item.material_name = this.currentData.material_name
+ // item.material_code = this.currentData.material_code
+ // item.measure_unit_id = this.currentData.measure_unit_id
+ // }
+ // })
+ // this.$store.dispatch('setPublicObj', '')
+ // }
},
created () {
- this._getNextRegions()
+ this._getNextRegionsByPoint()
},
methods: {
- async _getNextRegions () {
+ async _getNextRegionsByPoint () {
try {
- let res = await getNextRegions()
+ let res = await getNextRegionsByPoint(this.val1)
if (res) {
this.options = res.data
} else {
@@ -127,6 +123,22 @@
this.options = []
}
},
+ async _selectMaterials () {
+ let res = await selectMaterials(this.val1)
+ this.dataList = res.data
+ // this.totalCount = res.totalElements
+ // if (res.totalElements > 0) {
+ // const dataMap = res.data
+ // this.dataList = this.reload ? dataMap : this.dataList.concat(dataMap)
+ // this.reload = false
+ // } else {
+ // this.dataList = []
+ // }
+ // if (this.totalCount == this.dataList.length) {
+ // this.reload = false
+ // this.status = 'noMore'
+ // }
+ },
selectChange (e) {
this.index = e
},
@@ -157,96 +169,6 @@
url: '/pages/ftdlDTY/mater-list0?title=查询物料'
})
},
- toScanAdd () {
- uni.scanCode({
- success: (res) => {
- // console.log('扫码成功:', res.result);
- if (res.result.includes(';')) {
- const parts = res.result.split(';')
- if (parts.length !== 5) {
- uni.showToast({
- title: '二维码格式不正确,请扫描符合格式的二维码',
- icon: 'none'
- })
- return
- }
- let currObj = {
- mid: 'mid_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9),
- container_code: parts[0],
- material_code: parts[1],
- material_name: parts[2],
- qty: parts[3],
- measure_unit_id: parts[4],
- }
- // 检查是否已存在相同卷号
- const exists = this.dataList.some(item => item.container_code === currObj.container_code)
- if (exists) {
- uni.showToast({
- title: '已存在',
- icon: 'none'
- })
- return
- }
- this.dataList.push(currObj)
- } else {
- let currObj = {
- mid: 'mid_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9),
- container_code: res.result,
- material_code: '',
- material_name: '',
- qty: '',
- measure_unit_id: ''
- }
- // 检查是否已存在相同卷号
- const exists = this.dataList.some(item => item.container_code === currObj.container_code)
- if (exists) {
- uni.showToast({
- title: '已存在',
- icon: 'none'
- })
- return
- }
- this.dataList.push(currObj)
- }
- },
- fail: (err) => {
- console.log('扫码失败:', err)
- // uni.showToast({
- // title: err + '扫码失败',
- // icon: 'none'
- // })
- }
- })
- },
- toAdd () {
- let currObj = {
- mid: 'mid_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9),
- container_code: '',
- material_code: '编码',
- material_name: '名称',
- qty: '1',
- measure_unit_id: '单位'
- }
- this.dataList.push(currObj)
- },
- toDel () {
- if (!this.pkId) {
- return
- }
- this.dataList = this.dataList.filter(item => item.mid !== this.pkObj.mid)
- },
- toCopy () {
- if (!this.pkId) {
- return
- }
- // let original = this.dataList.find(item => item.mid === this.pkObj.mid)
- const copy = JSON.parse(JSON.stringify(this.pkObj))
- // 更新mid为新生成的唯一值
- copy.mid = 'mid_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9)
- // 添加到原数组
- this.dataList.push(copy)
- this.pkId = ''
- },
clearUp () {
this.val1 = ''
this.index = ''
@@ -256,19 +178,19 @@
this.currentData = {}
this.disabled = false
},
- async handleConfirm() {
+ async handleConfirm(type) {
if (!this.val1 || !this.dataList.length || !this.index) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
if (isConfirmed) {
- this._blanking()
+ this._productBlanking(type)
}
},
- async _blanking () {
+ async _productBlanking (type) {
this.disabled = true
try {
- let res = await blanking(this.val1, this.dataList, this.index)
+ let res = await productBlanking(this.val1, this.dataList, this.index, type)
uni.showToast({
title: res.message,
icon: 'none'
diff --git a/pages/ftdlDTY/man-get-goods.vue b/pages/ftdlDTY/man-get-goods.vue
index 9abb4ad..926c325 100644
--- a/pages/ftdlDTY/man-get-goods.vue
+++ b/pages/ftdlDTY/man-get-goods.vue
@@ -16,6 +16,15 @@
/>
+
+
+
+ {{$t('filter.col')}}
+
+
+
+
+
@@ -52,12 +61,12 @@
-
-
+ -->
+
-
+
@@ -66,7 +75,7 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import { confirmAction } from '@/utils/utils.js'
- import {getMaterialInfoByPoint, comfirmGetting} from '@/utils/getData4.js'
+ import {getColsByPoint, getMaterialInfoByPoint, cleanPoint, cleanCol} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -76,6 +85,8 @@
return {
title: '',
val1: '',
+ options: [],
+ index: '',
dataList: [],
reload: false,
status: 'more',
@@ -87,20 +98,38 @@
totalCount: 0,
pageNum: 1,
pageSize: 10,
- disabled: false
+ disabled: false,
+ disabled2: false,
};
},
onLoad (options) {
this.title = options.title
},
methods: {
+ async _getColsByPoint () {
+ try {
+ let res = await getColsByPoint(this.val1)
+ if (res) {
+ this.options = res.data
+ } else {
+ this.options =[]
+ }
+ } catch (e) {
+ this.options = []
+ }
+ },
+ selectChange (e) {
+ this.index = e
+ },
clearUp () {
this.val1 = ''
+ this.index = ''
this.dataList = []
this.disabled = false
},
handleChange (e) {
if (e) {
+ this._getColsByPoint()
this.searchList()
}
},
@@ -109,6 +138,25 @@
this.pageNum = 1
this._getMaterialInfoByPoint()
},
+ async _cleanPoint () {
+ this.disabled2 = true
+ if (!this.val1) {
+ this.disabled2 = false
+ return
+ }
+ try {
+ let res = await cleanPoint(this.val1)
+ if (res) {
+ uni.showToast({
+ title: res.message,
+ icon: 'none'
+ })
+ }
+ this.val1 = ''
+ } catch (e) {
+ this.disabled2 = false
+ }
+ },
async _getMaterialInfoByPoint () {
let res = await getMaterialInfoByPoint(this.val1)
if (res.code === '200') {
@@ -139,18 +187,18 @@
}
},
async handleConfirm() {
- if (!this.val1) {
+ if (!this.index) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
if (isConfirmed) {
- this._comfirmGetting()
+ this._cleanCol()
}
},
- async _comfirmGetting () {
+ async _cleanCol () {
this.disabled = true
try {
- let res = await comfirmGetting(this.val1, this.dataList)
+ let res = await cleanCol(this.index)
uni.showToast({
title: res.message,
icon: 'none'
diff --git a/pages/ftdlDTY/man-load-goods.vue b/pages/ftdlDTY/man-load-goods.vue
index 76c6b73..b87f376 100644
--- a/pages/ftdlDTY/man-load-goods.vue
+++ b/pages/ftdlDTY/man-load-goods.vue
@@ -17,10 +17,10 @@
-
-
-
-
+
+
+
+
@@ -58,11 +58,9 @@
-
-
-
+ -->
+
+
@@ -71,7 +69,7 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import { confirmAction } from '@/utils/utils.js'
- import {selectMaterialByPointCode, materialBinding, vehicleBinding} from '@/utils/getData4.js'
+ import {selectMaterialByPointCode, materialBinding} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -301,29 +299,6 @@
} catch (e) {
this.disabled = false
}
- },
- async handleConfirm2() {
- if (!this.val1) {
- return
- }
- const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
- if (isConfirmed) {
- this._vehicleBinding()
- }
- },
- async _vehicleBinding() {
- this.disabled2 = true
- try {
- let res = await vehicleBinding(this.val1)
- uni.showToast({
- title: res.message,
- icon: 'none'
- })
- this.clearUp()
- this.disabled2 = false
- } catch (e) {
- this.disabled2 = false
- }
}
}
}
diff --git a/pages/home/home.1.vue b/pages/home/home.1.vue
index 6b13778..e8cdb88 100644
--- a/pages/home/home.1.vue
+++ b/pages/home/home.1.vue
@@ -48,13 +48,13 @@
// {title: '库位管理', path: 'RF03', sonTree: [{title: '人工取货', path: '/pages/ftdlDTY/man-get-goods'}, {title: '人工放货', path: '/pages/ftdlDTY/man-load-goods'}, {title: '库存锁定/解锁', path: '/pages/ftdlDTY/kc-manage'}]},
// {title: '产线管理', path: 'RF04', sonTree: [{title: '产线叫料', path: '/pages/ftdlDTY/line-call-mater'}, {title: '产线下料', path: '/pages/ftdlDTY/line-down-mater'}]},
// {title: '任务管理', path: 'RF07', sonTree: [{title: '作业管理', path: '/pages/ftdlDTY/work-manage'}, {title: '定点作业', path: '/pages/ftdlDTY/fixedpoint-work'}]},
- // {title: '进出区域登记', path: 'RF01', sonTree: [{title: '进出区域登记', path: '/pages/ftdlDTY/inout-area-mark'}]}
+ // {title: '区域管制', path: 'RF01', sonTree: [{title: '区域管制', path: '/pages/ftdlDTY/area-manage'}]}
// ],
menuList: [
{title: this.$t('menu.kw-management'), path: 'RF03', sonTree: [{title: this.$t('menu.man-get-goods'), path: '/pages/ftdlDTY/man-get-goods'}, {title: this.$t('menu.man-load-goods'), path: '/pages/ftdlDTY/man-load-goods'}, {title: this.$t('menu.kc-manage'), path: '/pages/ftdlDTY/kc-manage'}]},
{title: this.$t('menu.line-management'), path: 'RF04', sonTree: [{title: this.$t('menu.line-call-mater'), path: '/pages/ftdlDTY/line-call-mater'}, {title: this.$t('menu.line-down-mater'), path: '/pages/ftdlDTY/line-down-mater'}]},
{title: this.$t('menu.task-management'), path: 'RF07', sonTree: [{title: this.$t('menu.work-manage'), path: '/pages/ftdlDTY/work-manage'}, {title: this.$t('menu.fixedpoint-work'), path: '/pages/ftdlDTY/fixedpoint-work'}]},
- {title: this.$t('menu.inout-area-mark'), path: 'RF01', sonTree: [{title: this.$t('menu.inout-area-mark'), path: '/pages/ftdlDTY/inout-area-mark'}]}
+ {title: this.$t('menu.area-manage'), path: 'RF01', sonTree: [{title: this.$t('menu.area-manage'), path: '/pages/ftdlDTY/area-manage'}]}
],
// menu: [{title: '叫料搬运', path: 'RF11', sonTree: [{title: '叫料搬运', path: '/pages/carry/call-carry'}]}],
show: false,
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 61b2595..a1da78d 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -48,13 +48,13 @@
// {title: '库位管理', path: 'RF03', sonTree: [{title: '人工取货', path: '/pages/ftdlDTY/man-get-goods'}, {title: '人工放货', path: '/pages/ftdlDTY/man-load-goods'}, {title: '库存锁定/解锁', path: '/pages/ftdlDTY/kc-manage'}]},
// {title: '产线管理', path: 'RF04', sonTree: [{title: '产线叫料', path: '/pages/ftdlDTY/line-call-mater'}, {title: '产线下料', path: '/pages/ftdlDTY/line-down-mater'}]},
// {title: '任务管理', path: 'RF07', sonTree: [{title: '作业管理', path: '/pages/ftdlDTY/work-manage'}, {title: '定点作业', path: '/pages/ftdlDTY/fixedpoint-work'}]},
- // {title: '进出区域登记', path: 'RF01', sonTree: [{title: '进出区域登记', path: '/pages/ftdlDTY/inout-area-mark'}]}
+ // {title: '区域管制', path: 'RF01', sonTree: [{title: '区域管制', path: '/pages/ftdlDTY/area-manage'}]}
// ],
menuList: [
{title: this.$t('menu.kw-management'), path: 'RF03', sonTree: [{title: this.$t('menu.man-get-goods'), path: '/pages/ftdlDTY/man-get-goods'}, {title: this.$t('menu.man-load-goods'), path: '/pages/ftdlDTY/man-load-goods'}, {title: this.$t('menu.kc-manage'), path: '/pages/ftdlDTY/kc-manage'}]},
{title: this.$t('menu.line-management'), path: 'RF04', sonTree: [{title: this.$t('menu.line-call-mater'), path: '/pages/ftdlDTY/line-call-mater'}, {title: this.$t('menu.line-down-mater'), path: '/pages/ftdlDTY/line-down-mater'}]},
{title: this.$t('menu.task-management'), path: 'RF07', sonTree: [{title: this.$t('menu.work-manage'), path: '/pages/ftdlDTY/work-manage'}, {title: this.$t('menu.fixedpoint-work'), path: '/pages/ftdlDTY/fixedpoint-work'}]},
- {title: this.$t('menu.inout-area-mark'), path: 'RF01', sonTree: [{title: this.$t('menu.inout-area-mark'), path: '/pages/ftdlDTY/inout-area-mark'}]}
+ {title: this.$t('menu.area-manage'), path: 'RF01', sonTree: [{title: this.$t('menu.area-manage'), path: '/pages/ftdlDTY/area-manage'}, {title: this.$t('menu.agv-manage'), path: '/pages/ftdlDTY/agv-manage'}]}
],
// menu: [{title: '叫料搬运', path: 'RF11', sonTree: [{title: '叫料搬运', path: '/pages/carry/call-carry'}]}],
show: false,
diff --git a/utils/getData4.js b/utils/getData4.js
index 70b1c6c..309955b 100644
--- a/utils/getData4.js
+++ b/utils/getData4.js
@@ -57,15 +57,15 @@ export const selectMaterials = (blurry, page, size) => request({
url:'api/hand/selectMaterials',
data: {blurry: blurry, page: page, size: size}
})
-// 1.2查询所有区域
-export const getNextRegions = () => request({
- url:'api/hand/getNextRegions',
- data: {}
+// 1.2根据点位查询终点区域
+export const getNextRegionsByPoint = (pcode) => request({
+ url:'api/hand/getNextRegionsByPoint',
+ data: {point_code: pcode}
})
-// 1.3确认下料
-export const blanking = (pcode, arr, rcode) => request({
- url:'api/hand/blanking',
- data: {point_code: pcode, data: arr, region_code: rcode}
+// 1.3生产下料
+export const productBlanking = (pcode, arr, rcode, type) => request({
+ url:'api/hand/productBlanking',
+ data: {point_code: pcode, data: arr, region_code: rcode, type: type}
})
// 人工放货
@@ -79,11 +79,6 @@ export const materialBinding = (pcode, arr) => request({
url:'api/hand/materialBinding',
data: {point_code: pcode, data: arr}
})
-// 1.3空载具绑定
-export const vehicleBinding = (pcode) => request({
- url:'api/hand/vehicleBinding',
- data: {point_code: pcode}
-})
// 1.2查询所有物料类型
export const getMaterialTypes = () => request({
url:'api/hand/getMaterialTypes',
@@ -101,10 +96,20 @@ export const getMaterialInfoByPoint = (pcode) => request({
url:'api/hand/getMaterialInfoByPoint',
data: {point_code: pcode}
})
-// 1.2确认取货
-export const comfirmGetting = (pcode, arr) => request({
- url:'api/hand/comfirmGetting',
- data: {point_code: pcode, data: arr}
+// 1.2清空列
+export const cleanCol = (pcode, col) => request({
+ url:'api/hand/cleanCol',
+ data: {point_code: pcode, col: col}
+})
+// 1.3清空点位
+export const cleanPoint = (pcode) => request({
+ url:'api/hand/cleanPoint',
+ data: {point_code: pcode}
+})
+// 1.4根据点位查询该区域的列信息
+export const getColsByPoint = (pcode) => request({
+ url:'api/hand/getColsByPoint',
+ data: {point_code: pcode}
})
// 库存锁定解锁
@@ -123,11 +128,11 @@ export const unlock = (arr) => request({
url:'api/hand/unlock',
data: {data: arr}
})
-// 1.4查询所有区域
-export const getRegions = () => request({
- url:'api/hand/getRegions',
- data: {}
-})
+// // 1.4查询所有区域
+// export const getRegions = () => request({
+// url:'api/hand/getRegions',
+// data: {}
+// })
// 定点任务
// 1.1根据区域查询点位
@@ -175,18 +180,41 @@ export const selectRegionInfo = (rcode) => request({
url:'api/hand/selectRegionInfo',
data: {region_code: rcode}
})
-// 1.2查询所有管制区域
-export const getChargeRegions = () => request({
- url:'api/hand/getChargeRegions',
+// 1.2查询所有区域
+export const getRegions = () => request({
+ url:'api/hand/getRegions',
data: {}
})
-// 1.3进入
-export const inArea = (rcode) => request({
- url:'api/hand/inArea',
+// 1.3管制
+export const chargeArea = (rcode, option) => request({
+ url:'api/hand/chargeArea',
+ data: {region_code: rcode, option: option}
+})
+// 1.4解除管制
+export const releaseArea = (rcode, option) => request({
+ url:'api/hand/releaseArea',
+ data: {region_code: rcode, option: option}
+})
+
+
+// AGV管制
+// 1.1根据区域查询进出区域信息
+export const selectCarInfo = (rcode) => request({
+ url:'api/hand/selectCarInfo',
data: {region_code: rcode}
})
-// 1.3强制确认
-export const outArea = (obj) => request({
- url:'api/hand/outArea',
- data: obj
+// 1.2查询所有车号
+export const getAgvNos = () => request({
+ url:'api/hand/getAgvNos',
+ data: {}
})
+// 1.3暂停
+export const pause = (agvno, option) => request({
+ url:'api/hand/pause',
+ data: {agv_no: agvno, option: option}
+})
+// 1.4恢复
+export const resume = (agvno, option) => request({
+ url:'api/hand/resume',
+ data: {agv_no: agvno, option: option}
+})
\ No newline at end of file