| | |
| | | </view> |
| | | </view> |
| | | <view class="mains"> |
| | | <view v-if="!canEdit" :hidden="item.hidden" class="box" v-for="(item,index) in itemData" :key="index" |
| | | <view v-if="!canEdit" :hidden="item.hidden||!item.id" class="box" v-for="(item,index) in itemData" :key="index" |
| | | @tap="toUrl(item)"> |
| | | <image :src="item.img" mode=""></image> |
| | | <view class="texts"> |
| | | {{item.text}} |
| | | </view> |
| | | </view> |
| | | <view :enable-hidden="item.hidden" v-if="canEdit" class="box edit" v-for="(item,index) in itemData" |
| | | <view :enable-hidden="item.hidden" :hidden="!item.id" v-if="canEdit" class="box edit" v-for="(item,index) in itemData" |
| | | :key="index" @tap="switchHidden(index)"> |
| | | <uni-icons class="edit-mark" color="red" type="closeempty"></uni-icons> |
| | | <image :src="item.img" mode=""></image> |
| | |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "采购入库暂存列表", |
| | | "url": "/pages/caigouruku/table", |
| | | "url": "/pages/caigouruku/POStockInBillList", |
| | | "id": 1, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon18.png", |
| | | "text": "采购退料暂存列表", |
| | | "url": "/pages/caigoutuiliao/table", |
| | | "url": "/pages/caigoutuiliao/POStockInBackBillList", |
| | | "id": 2, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon30.png", |
| | | "text": "采购入库校验暂存列表", |
| | | "url": "/pages/caigourukujiaoyan/table", |
| | | "url": "/pages/caigourukujiaoyan/POStockInCheckBillList", |
| | | "id": 3, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon18.png", |
| | | "text": "销售出库暂存列表", |
| | | "url": "/pages/xiaoshouchuku/table", |
| | | "url": "/pages/xiaoshouchuku/SellOutBillList", |
| | | "id": 4, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon20.png", |
| | | "text": "销售退货暂存列表", |
| | | "url": "/pages/xiaoshoutuihuo/table", |
| | | "url": "/pages/xiaoshoutuihuo/ICStockBillMainList", |
| | | "id": 5, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon18.png", |
| | | "text": "销售出库校验暂存列表", |
| | | "url": "/pages/xiaoshouchukujiaoyan/table", |
| | | "url": "/pages/xiaoshouchukujiaoyan/SellOutCheckBillList", |
| | | "id": 6, |
| | | "hidden": false |
| | | }, |
| | |
| | | { |
| | | "img": "../../static/icon/icon30.png", |
| | | "text": "生产领料暂存列表", |
| | | "url": "/pages/shengchanlingliaoshengdan/table", |
| | | "url": "/pages/shengchanlingliaoshengdan/Kf_MateOutBillList", |
| | | "id": 7, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon31.png", |
| | | "text": "生产补料暂存列表", |
| | | "url": "/pages/shengchanbuliao/table", |
| | | "url": "/pages/shengchanbuliao/MateReplenishOutBillList", |
| | | "id": 8, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "生产入库暂存列表", |
| | | "url": "/pages/shengchanrukushengdan/table", |
| | | "url": "/pages/shengchanrukushengdan/Kf_ProductInBillList", |
| | | "id": 9, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "生产退料单暂存列表", |
| | | "url": "/pages/shengchantuiliao/table", |
| | | "url": "/pages/shengchantuiliao/MateOutBackBillList", |
| | | "id": 10, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon30.png", |
| | | "text": "生产领料校验暂存列表", |
| | | "url": "/pages/shengchanlingliao/table", |
| | | "url": "/pages/shengchanlingliao/PPickingCheckBillList", |
| | | "id": 11, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon31.png", |
| | | "text": "生产补料校验暂存列表", |
| | | "url": "/pages/shengchanbuliaojiaoyan/CacheList", |
| | | "url": "/pages/shengchanbuliaojiaoyan/MateReplenishOutCheckBillList", |
| | | "id": 12, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "生产入库校验暂存列表", |
| | | "url": "/pages/shengchanruku/table", |
| | | "url": "/pages/shengchanruku/ProductInCheckBillList", |
| | | "id": 13, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon32.png", |
| | | "text": "生产调拨校验暂存列表", |
| | | "url": "/pages/shengchandiaobo/table", |
| | | "url": "/pages/shengchandiaobo/MoveStockBillList", |
| | | "id": 14, |
| | | "hidden": false |
| | | }, |
| | |
| | | { |
| | | "img": "../../static/icon/icon30.png", |
| | | "text": "委外领料暂存列表", |
| | | "url": "/pages/weiwailingliao/table", |
| | | "url": "/pages/weiwailingliao/Kf_EntrustOutBillList", |
| | | "id": 15, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon20.png", |
| | | "text": "委外入库暂存列表", |
| | | "url": "/pages/weiwairuku/table", |
| | | "url": "/pages/weiwairuku/EntrustInBillList", |
| | | "id": 16, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon30.png", |
| | | "text": "委外领料校验暂存列表", |
| | | "url": "/pages/weiwailingliaojiaoyan/table", |
| | | "url": "/pages/weiwailingliaojiaoyan/EntrustOutCheckBillList", |
| | | "id": 17, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon30.png", |
| | | "text": "销售出库校验暂存列表", |
| | | "url": "/pages/xiaoshouchukujiaoyan/table", |
| | | "url": "/pages/xiaoshouchukujiaoyan/SellOutCheckBillList", |
| | | "id": 18, |
| | | "hidden": false |
| | | }, |
| | |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "其他入库暂存列表", |
| | | "url": "/pages/qitaruku_v2/table", |
| | | "url": "/pages/qitaruku_v2/OtherInBillList", |
| | | "id": 19, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon18.png", |
| | | "text": "其他出库暂存列表", |
| | | "url": "/pages/qitachuku_v2/table", |
| | | "url": "/pages/qitachuku_v2/OtherOutBillList", |
| | | "id": 20, |
| | | "hidden": false |
| | | }, |
| | |
| | | { |
| | | "img": "../../static/icon/icon32.png", |
| | | "text": "直接调拨暂存列表", |
| | | "url": "/pages/zhijiediaobo/table", |
| | | "url": "/pages/zhijiediaobo/MoveStockBillList", |
| | | "id": 22, |
| | | "hidden": false |
| | | }, |
| | |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "组托单暂存列表", |
| | | "url": "/pages/zutuosaoma/table", |
| | | "url": "/pages/zutuosaoma/PackUnionBillList", |
| | | "id": 23, |
| | | "hidden": false |
| | | }, |
| | | |
| | | { |
| | | img: '../../static/icon/icon16.png', |
| | | text: '分步式调入单缓存', |
| | | url: '/pages/fenbushidiaorudan/table', |
| | | id: 24, |
| | | hidden: false, |
| | | }, |
| | | { |
| | | img: '../../static/icon/icon9.png', |
| | | text: '工序进站接收单列表', |
| | | tip: '查看列表', |
| | | url: '/pages/gongxuIn/Cj_StationInBillList', |
| | | id: 25, |
| | | hidden: false, |
| | | }, |
| | | { |
| | | img: '../../static/icon/icon10.png', |
| | | text: '工序出站汇报单列表', |
| | | tip: '查看列表', |
| | | url: '/pages/gongxuOut/Cj_StationOutBillList', |
| | | id: 26, |
| | | hidden: false, |
| | | }, |
| | | { |
| | | img: '../../static/icon/icon11.png', |
| | | text: '工序委外发出单列表', |
| | | tip: '查看列表', |
| | | url: '/pages/weiwaigxIn/Cj_StationEntrustInBillList', |
| | | id: 27, |
| | | hidden: false, |
| | | }, |
| | | { |
| | | img: '../../static/icon/icon12.png', |
| | | text: '工序委外接收单列表', |
| | | tip: '查看列表', |
| | | url: '/pages/weiwaigxOut/Cj_StationEntrustOutBillList', |
| | | id: 28, |
| | | hidden: false, |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "模具报废出库单列表", |
| | | "url": "/pages/MJGL/MouldScrapOutBill/MouldScrapOutBillList", |
| | | "id": 29, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "模具调拨单列表", |
| | | "url": "/pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBillList", |
| | | "id": 30, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "模具领用出库单列表", |
| | | "url": "/pages/MJGL/mujulingliaochukudan/MouldProdOutBillList", |
| | | "id": 31, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "模具领用退库单列表", |
| | | "url": "/pages/MJGL/mujulingliaotuikudan/Sc_MouldProdBackBillList", |
| | | "id": 32, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "上模单列表", |
| | | "url": "/pages/MJGL/shangmudan/MouldUpperBillList", |
| | | "id": 33, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "下模单列表", |
| | | "url": "/pages/MJGL/xiamodan/MouldLowerBillList", |
| | | "id": 34, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon5.png", |
| | | "text": "模具点检记录单列表", |
| | | "url": "/pages/MJGL/mujudianjianjiludan/Sc_MouldDotCheckBillList", |
| | | "id": 35, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon5.png", |
| | | "text": "模具保养记录单列表", |
| | | "url": "/pages/MJGL/mujubaoyangjiludan/Sc_MouldMaintainBillList", |
| | | "id": 36, |
| | | "hidden": false |
| | | }, |
| | | |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "模具维修记录列表", |
| | | "url": "/pages/weixiujilu/mouldRepairRecordBillList", |
| | | "id": 37, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "模具故障登记列表", |
| | | "url": "/pages/qijvguzhangdengji/mouldMistake", |
| | | "id": 38, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "首件检验单列表", |
| | | "url": "/pages/ZLGL/shoujianjianyan/firstCheckBillList", |
| | | "id": 39, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "巡检检验单列表", |
| | | "url": "/pages/ZLGL/xunjianjianyan/PatrolProcCheckBillList", |
| | | "id": 40, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "末件检验单列表", |
| | | "url": "/pages/ZLGL/mojianjianyan/lastPieceCheckBillList", |
| | | "id": 41, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "来料检验列表", |
| | | "url": "/pages/ZLGL/lailiaojianyan/POStockInCheckBillList", |
| | | "id": 42, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "全检检验单列表", |
| | | "url": "/pages/ZLGL/QualityReportStep/QualityReportStepBillList", |
| | | "id": 43, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "车间自检单列表", |
| | | "url": "/pages/ZLGL/WorkSelfCheckBill/WorkSelfCheckBillList", |
| | | "id": 44, |
| | | "hidden": false |
| | | }, |
| | | // 标签条码相关 |
| | | { |
| | | "img": "../../static/icon/icon21.png", |
| | | "text": "标签打印", |
| | | "url": "/pages/labelPrinter/index", |
| | | "id": 24, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon21.png", |
| | | "text": "条码拆码", |
| | | "url": "/pages/tiaomachaima/tiaomachaima", |
| | | "id": 25, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon21.png", |
| | | "text": "条码拆码2", |
| | | "url": "/pages/tiaomachaima/tiaomachaima2", |
| | | "id": 26, |
| | | "hidden": false |
| | | }, |
| | | |
| | | |
| | | // 设备相关 |
| | | { |
| | | "img": "../../static/icon/icon3.png", |
| | | "text": "设备保养记录单", |
| | | "url": "/pages/baoyangjilu/table", |
| | | "id": 27, |
| | | "text": "设备保养记录单列表", |
| | | "url": "/pages/baoyangjilu/Sb_EquipMaintainRuleList", |
| | | "id": 45, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon6.png", |
| | | "text": "设备故障登记表", |
| | | "url": "/pages/guzhangdengji/table", |
| | | "id": 28, |
| | | "text": "设备故障登记表列表", |
| | | "url": "/pages/guzhangdengji/EqpConkBookBillList", |
| | | "id":46, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon7.png", |
| | | "text": "设备维修记录单", |
| | | "url": "/pages/shebeiweixiu/table", |
| | | "id": 29, |
| | | "text": "设备维修记录单列表", |
| | | "url": "/pages/shebeiweixiu/SbEqpMaintenanceBillList", |
| | | "id": 47, |
| | | "hidden": false |
| | | }, |
| | | |
| | | // 异常相关 |
| | | { |
| | | "img": "../../static/icon/icon15.png", |
| | | "text": "异常反馈单", |
| | | "url": "/pages/yichang/table", |
| | | "id": 30, |
| | | "text": "异常反馈单列表", |
| | | "url": "/pages/yichang/ErrMsgBackHandleBillList", |
| | | "id": 48, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon16.png", |
| | | "text": "异常反馈处理单", |
| | | "url": "/pages/yichang/list", |
| | | "id": 31, |
| | | "text": "异常反馈处理单列表", |
| | | "url": "/pages/yichang/ErrMsgBackHandleBillList", |
| | | "id": 49, |
| | | "hidden": false |
| | | }, |
| | | |
| | | // 库存查询相关 |
| | | { |
| | | "img": "../../static/icon/icon18.png", |
| | | "text": "ERP及时库存查询", |
| | | "url": "/pages/jishikucunchaxun/table", |
| | | "id": 32, |
| | | "hidden": false |
| | | }, |
| | | |
| | | |
| | | // 取样还样相关 |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "取样单", |
| | | "url": "/pages/quyangdan/table", |
| | | "id": 33, |
| | | "text": "取样单列表", |
| | | "url": "/pages/quyangdan/TakeSampleCheckBillList", |
| | | "id": 50, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "还样单", |
| | | "url": "/pages/huanyangdan/table", |
| | | "id": 34, |
| | | "text": "还样单列表", |
| | | "url": "/pages/huanyangdan/BackSampleCheckBillList", |
| | | "id": 51, |
| | | "hidden": false |
| | | }, |
| | | |
| | | // 模具相关 |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "上模单列表", |
| | | "url": "/pages/MJGL/shangmudan/table", |
| | | "id": 35, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "下模单列表", |
| | | "url": "/pages/MJGL/xiamodan/table", |
| | | "id": 36, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "模具故障登记列表", |
| | | "url": "/pages/qijvguzhangdengji/table", |
| | | "id": 37, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "模具故障登记单", |
| | | "url": "/pages/qijvguzhangdengji/form?operationType=1", |
| | | "id": 38, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "模具维修记录列表", |
| | | "url": "/pages/weixiujilu/table", |
| | | "id": 39, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "模具维修记录单", |
| | | "url": "/pages/weixiujilu/form", |
| | | "id": 40, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "首件检验单缓存", |
| | | "url": "/pages/ZLGL/shoujianjianyan/table", |
| | | "id": 41, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon13.png", |
| | | "text": "首件检验单", |
| | | "url": "/pages/ZLGL/shoujianjianyan/form?operationType=1", |
| | | "id": 42, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon5.png", |
| | | "text": "模具点检记录单列表", |
| | | "url": "/pages/MJGL/mujudianjianjiludan/table", |
| | | "id": 43, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon5.png", |
| | | "text": "模具保养记录单列表", |
| | | "url": "/pages/MJGL/mujubaoyangjiludan/table", |
| | | "id": 44, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "模具领料出库单列表", |
| | | "url": "/pages/MJGL/mujulingliaochukudan/table", |
| | | "id": 45, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "模具领料退库单列表", |
| | | "url": "/pages/MJGL/mujulingliaotuikudan/table", |
| | | "id": 46, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "模具调拨单列表", |
| | | "url": "/pages/MJGL/qijudiaobodan/table", |
| | | "id": 47, |
| | | "hidden": false |
| | | }, |
| | | |
| | | |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "装箱单暂存列表", |
| | | "url": "/pages/zhuangxiangdan/table", |
| | | "id": 48, |
| | | "id": 52, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "巡检单暂存列表", |
| | | "url": "/pages/ZLGL/xunjianjianyan/table", |
| | | "id": 49, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "巡检单", |
| | | "url": "/pages/ZLGL/xunjianjianyan/form?operationType=1", |
| | | "id": 50, |
| | | "hidden": false |
| | | } |
| | | |
| | | { |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "在库检验单缓存", |
| | | "url": "/pages/ZLGL/zaikujianyandan/InStockCheckBillList", |
| | | "id": 53, |
| | | "hidden": false |
| | | } |
| | | |
| | | ] |
| | | } |
| | | }, |
| | |
| | | }) |
| | | Array.from(data).forEach(e => { |
| | | this.itemData[e["HIndex"]].hidden = !CommonUtils.stringToBoolean(e["HShowMode"]) |
| | | this.itemData[e["HIndex"]].id = e["HEntryID"];//id为0强制隐藏 |
| | | }) |
| | | }, |
| | | switchHidden(index) { |
| | | this.updateCount++; |
| | | this.itemData[index].hidden = !this.itemData[index].hidden |
| | | |
| | | }, |
| | | switchIconsModeHandler() { |
| | | this.canEdit = !this.canEdit |