From dbf3d4e5084215e80e8f4c7758958a4c31885109 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期一, 12 一月 2026 08:47:23 +0800
Subject: [PATCH] 增加异常反馈单、接收单、处理单、签到单、验收单新增列表功能
---
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBillList.vue | 573 ++
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBillList.vue | 570 ++
pages/ZLGL/AanDengHujiao/OA_MyErrMsgBanck/OA_ErrMsgBackMyList.vue | 849 ++++
pages.json | 3063 +++++++-------
pages/index/tab2.vue | 71
pages/index/tab4.vue | 60
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill.vue | 1043 +++++
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBillList.vue | 568 ++
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill.vue | 943 ++++
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill.vue | 908 ++++
/dev/null | 333 -
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBillList.vue | 580 ++
pages/ZLGL/AanDengHujiao/style/OA_ErrMsgStyle.scss | 271 +
pages/ZLGL/AanDengHujiao/style/MJListStyle.scss | 193
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill.vue | 888 ++++
pages/index/tab3.vue | 21
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBillList.vue | 571 ++
pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill.vue | 882 ++++
18 files changed, 10,494 insertions(+), 1,893 deletions(-)
diff --git a/pages.json b/pages.json
index 04d884f..176ad18 100644
--- a/pages.json
+++ b/pages.json
@@ -1,1528 +1,1571 @@
{
- "pages": [ //pages鏁扮粍涓涓�椤硅〃绀哄簲鐢ㄥ惎鍔ㄩ〉锛屽弬鑰冿細https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/index/login",
- "style": {
- "navigationBarTitleText": "鐧诲綍",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "棣栭〉",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/index/tab1",
- "style": {
- "navigationBarTitleText": "杞﹂棿宸ュ簭"
- }
- },
- {
- "path": "pages/index/tab2",
- "style": {
- "navigationBarTitleText": "鍗曟嵁鍒楄〃"
- }
- },
+ "pages": [ //pages鏁扮粍涓涓�椤硅〃绀哄簲鐢ㄥ惎鍔ㄩ〉锛屽弬鑰冿細https://uniapp.dcloud.io/collocation/pages
{
- "path": "pages/index/tab3",
- "style": {
- "navigationBarTitleText": "鍣ㄥ叿绠$悊"
- }
- },
- {
- "path": "pages/index/tab4",
- "style": {
- "navigationBarTitleText": "璐ㄩ噺绠$悊"
- }
- },
- {
- "path": "pages/index/mine",
- "style": {
- "navigationBarTitleText": "涓汉涓績",
- // "navigationStyle": "custom"
- "navigationBarTextStyle": "white",
- "navigationBarBackgroundColor": "#65a2fb"
- }
- },
- {
- "path": "pages/shebeilvli/deviceStatueAnalysis",
- "style": {
- "navigationBarTitleText": "璁惧鐘舵�佸垎鏋�"
- }
- },
- {
- "path": "pages/shebeilvli/EquipFileBillResume",
- "style": {
- "navigationBarTitleText": "璁惧灞ュ巻",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shebeilvli/EquipFileBillResume_son",
- "style": {
- "navigationBarTitleText": "璁惧灞ュ巻瀛愯〃"
- }
- },
- {
- "path": "pages/baoyangjihua/Sb_EquipMaintainPlanEdit",
- "style": {
- "navigationBarTitleText": "璁惧淇濆吇璁″垝鍗�"
- }
- },
- {
- "path": "pages/baoyangjihua/Sb_EquipMaintainPlanList",
- "style": {
- "navigationBarTitleText": "璁惧淇濆吇璁″垝鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/baoyangjihua/Sb_EquipMaintainPlanList_son",
- "style": {
- "navigationBarTitleText": "淇濆吇璁″垝瀛愯〃"
- }
- },
- {
- "path": "pages/baoyangjilu/Sb_EquipMaintainRuleEdit",
- "style": {
- "navigationBarTitleText": "璁惧淇濆吇璁板綍鍗�"
- }
- },
- {
- "path": "pages/baoyangjilu/Sb_EquipMaintainRuleList",
- "style": {
- "navigationBarTitleText": "璁惧淇濆吇璁板綍鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/baoyangjilu/Sb_EquipMaintainRuleList_son",
- "style": {
- "navigationBarTitleText": "淇濆吇璁板綍瀛愯〃"
- }
- },
- {
- "path": "pages/guzhangdengji/EqpConkBookBill",
- "style": {
- "navigationBarTitleText": "璁惧鏁呴殰鐧昏琛�"
- }
- },
- {
- "path": "pages/guzhangdengji/EqpConkBookBillList",
- "style": {
- "navigationBarTitleText": "璁惧鏁呴殰鐧昏琛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shebeidangan/Gy_EquipFileMainBill",
- "style": {
- "navigationBarTitleText": "璁惧妗f"
- }
- },
- {
- "path": "pages/shebeidangan/Gy_EquipFileMainBillList",
- "style": {
- "navigationBarTitleText": "璁惧妗f",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shebeiweixiu/Sb_Add_EqpMaintenanceBillList",
- "style": {
- "navigationBarTitleText": "璁惧缁翠慨璁板綍鍗�"
- }
- },
- {
- "path": "pages/shebeiweixiu/SbEqpMaintenanceBillList",
- "style": {
- "navigationBarTitleText": "璁惧缁翠慨璁板綍鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weiwaigxOut/firstCheck",
- "style": {
- "navigationBarTitleText": "棣栦欢妫�楠屽崟",
- "enablePullDownRefresh": true
- }
- }, {
- "path": "pages/gongxuIn/Cj_StationInBill",
- "style": {
- "navigationBarTitleText": "宸ュ簭杩涚珯鎺ユ敹鍗�"
- }
- },
- {
- "path": "pages/gongxuIn/Cj_StationInBillList",
- "style": {
- "navigationBarTitleText": "宸ュ簭杩涚珯鎺ユ敹鍗�",
- "enablePullDownRefresh": true
- }
- }, {
- "path": "pages/gongxuOut/Cj_StationOutBill",
- "style": {
- "navigationBarTitleText": "宸ュ簭鍑虹珯姹囨姤鍗�"
- }
- },
- {
- "path": "pages/gongxuOut/Cj_StationOutBillList",
- "style": {
- "navigationBarTitleText": "宸ュ簭鍑虹珯姹囨姤鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/gongxuOutSendWork/gongxuOutSendWorkBill",
- "style": {
- "navigationBarTitleText": "宸ュ簭鍑虹珯姹囨姤鍗�(娲惧伐)",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/gongxuOut/moneystatistics",
- "style": {
- "navigationBarTitleText": "鎴戠殑宸ヨ祫(姹囨姤棰勪及)",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shebeiguanli/deviceManage",
- "style": {
- "navigationBarTitleText": "璁惧绠$悊",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shebeiguanli/deviceManageList",
- "style": {
- "navigationBarTitleText": "璁惧绠$悊",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shebeiguanli/ticketList",
- "style": {
- "navigationBarTitleText": "宸ュ崟鍒楄〃",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/baogong/ProductReportStepBillList",
- "style": {
- "navigationBarTitleText": "浜ч噺姹囨姤鍗�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/baogong/IpadIndex",
- "style": {
- "navigationBarTitleText": "鎶ュ伐骞冲彴",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/baogong/DayPlanBillList",
- "style": {
- "navigationBarTitleText": "宸ュ崟鍒楄〃",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/baogong/abnormal",
- "style": {
- "navigationBarTitleText": "寮傚父鍙嶉鍗�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/yichang/MESExecptFeedBackBillList",
- "style": {
- "navigationBarTitleText": "寮傚父鍙嶉鍗曞垪琛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/yichang/MESExecptFeedBackBill",
- "style": {
- "navigationBarTitleText": "寮傚父鍙嶉鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/yichang/ErrMsgBackHandleBillList",
- "style": {
- "navigationBarTitleText": "寮傚父鍙嶉澶勭悊鍗曞垪琛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/caigouruku/POStockInBillList",
- "style": {
- "navigationBarTitleText": "閲囪喘鍏ュ簱鍒楄〃",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/caigouruku/POStockInBill",
- "style": {
- "navigationBarTitleText": "閲囪喘鍏ュ簱鍗�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/caigoutuiliao/POStockInBackBillList",
- "style": {
- "navigationBarTitleText": "閲囪喘閫�鏂欏垪琛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/caigoutuiliao/POStockInBackBill",
- "style": {
- "navigationBarTitleText": "閲囪喘閫�鏂欏崟",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/xiaoshouchuku/SellOutBillList",
- "style": {
- "navigationBarTitleText": "閿�鍞嚭搴撳垪琛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/xiaoshouchuku/SellOutBill",
- "style": {
- "navigationBarTitleText": "閿�鍞嚭搴撳崟",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/xiaoshoutuihuo/ICStockBillMainList",
- "style": {
- "navigationBarTitleText": "閿�鍞��璐у垪琛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/xiaoshoutuihuo/ICStockBillMain",
- "style": {
- "navigationBarTitleText": "閿�鍞��璐у崟",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/shouliaotongzhi/table",
- "style": {
- "navigationBarTitleText": "鏀舵枡閫氱煡鍗�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/shouliaotongzhi/table_son",
- "style": {
- "navigationBarTitleText": "鏉$爜鐢熸垚",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/shengchanlingliao/PPickingCheckBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇棰嗘枡鏍¢獙鍒楄〃",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchanlingliao/PPickingCheckBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇棰嗘枡鍗曟牎楠�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/shengchanruku/ProductInCheckBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇鍏ュ簱鏍¢獙鍒楄〃",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchanruku/ProductInCheckBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇鍏ュ簱鍗曟牎楠�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/shengchandiaobo/MoveStockBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇璋冩嫧鏍¢獙鍒楄〃",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchandiaobo/MoveStockBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇璋冩嫧鍗曟牎楠�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/labelPrinter/index",
- "style": {
- "navigationBarTitleText": "鏍囩鎵撳嵃"
- }
- },
- {
- "path": "pages/shebeiyunxingzhuangtai/shebeiyunxingzhuangtai",
- "style": {
- "navigationBarTitleText": "璁惧杩愯鐘舵��",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shebeiyunxingzhuangtai/detail",
- "style": {
- "navigationBarTitleText": "璁惧杩愯鐘舵�佽鎯�"
- }
- },
- {
- "path": "pages/mujvzhuangtai/mujvzhuangtai",
- "style": {
- "navigationBarTitleText": "妯″叿鐘舵�佸垎甯�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/mujvzhuangtai/detail",
- "style": {
- "navigationBarTitleText": "妯″叿鐘舵�佽鎯�"
- }
- },
- {
- "path": "pages/tiaomachaima/tiaomachaima",
- "style": {
- "navigationBarTitleText": "鏉$爜鎷嗙爜"
- }
- },
- {
- "path": "pages/tiaomachaima/tiaomachaima2",
- "style": {
- "navigationBarTitleText": "鏉$爜鎷嗙爜2"
- }
- },
- {
- "path": "pages/wuliaosaoma/wuliaosaoma",
- "style": {
- "navigationBarTitleText": "鐗╂枡娓呭崟"
- }
- },
- {
- "path": "pages/wuliaosaoma/detail",
- "style": {
- "navigationBarTitleText": "鏉$爜妗f"
- }
- },
- {
- "path": "pages/caigouruku/POStockInBillList",
- "style": {
- "navigationBarTitleText": "閲囪喘鍏ュ簱",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/caigouruku/POStockInBill",
- "style": {
- "navigationBarTitleText": "閲囪喘鍏ュ簱鍗�"
- }
- },
- {
- "path": "pages/caigoutuiliao/POStockInBackBillList",
- "style": {
- "navigationBarTitleText": "閲囪喘閫�鏂�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/caigoutuiliao/POStockInBackBill",
- "style": {
- "navigationBarTitleText": "閲囪喘閫�鏂欏崟"
- }
- },
- {
- "path": "pages/xiaoshouchuku/SellOutBillList",
- "style": {
- "navigationBarTitleText": "閿�鍞嚭搴�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/xiaoshouchuku/SellOutBill",
- "style": {
- "navigationBarTitleText": "閿�鍞嚭搴撳崟"
- }
- },
- {
- "path": "pages/xiaoshoutuihuo/ICStockBillMainList",
- "style": {
- "navigationBarTitleText": "閿�鍞��璐�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/xiaoshoutuihuo/ICStockBillMain",
- "style": {
- "navigationBarTitleText": "閿�鍞��璐у崟"
- }
- },
- {
- "path": "pages/qitachuku/qitachuku",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍑哄簱",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/qitachuku/qitachukudan",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍑哄簱鍗�"
- }
- },
- {
- "path": "pages/qitaruku/qitaruku",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/qitaruku/qitarukudan",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗�"
- }
- },
- {
- "path": "pages/tiaomadaying/tiaomadaying",
- "style": {
- "navigationBarTitleText": "閲囪喘鏉$爜鎵撳嵃"
- }
- },
- {
- "path": "pages/caigoudingdan/generate",
- "style": {
- "navigationBarTitleText": "鏉$爜鐢熸垚"
- }
- },
- {
- "path": "pages/caigoudingdan/caigoudingdan",
- "style": {
- "navigationBarTitleText": "閲囪喘璁㈠崟"
- }
- },
- {
- "path": "pages/MJGL/shangmudan/MouldUpperBillList",
- "style": {
- "navigationBarTitleText": "涓婃ā鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/shangmudan/MouldUpperBill",
- "style": {
- "navigationBarTitleText": "涓婃ā鍗�"
- }
- },
- {
- "path": "pages/MJGL/xiamodan/MouldLowerBillList",
- "style": {
- "navigationBarTitleText": "涓嬫ā鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/xiamodan/MouldLowerBill",
- "style": {
- "navigationBarTitleText": "涓嬫ā鍗�"
- }
- },
- {
- "path": "pages/MJGL/mujudianjianjiludan/Sc_MouldDotCheckBillList",
- "style": {
- "navigationBarTitleText": "妯″叿鐐规璁板綍鍗曞垪琛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/mujudianjianjiludan/Sc_MouldDotCheckBill",
- "style": {
- "navigationBarTitleText": "妯″叿鐐规璁板綍鍗�"
- }
- },
- {
- "path": "pages/MJGL/mujudianjianjiludan/Sc_MouldDotCheckRuleBillList",
- "style": {
- "navigationBarTitleText": "妯″叿鐐规瑙勭▼"
- }
- },
- {
- "path": "pages/MJGL/mujubaoyangjiludan/Sc_MouldMaintainBillList",
- "style": {
- "navigationBarTitleText": "妯″叿淇濆吇璁板綍鍗曞垪琛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/mujubaoyangjiludan/Sc_MouldMaintainBill",
- "style": {
- "navigationBarTitleText": "妯″叿淇濆吇璁板綍鍗�"
- }
- },
- {
- "path": "pages/MJGL/mujubaoyangjiludan/Sc_MouldMaintainRuleBillList",
- "style": {
- "navigationBarTitleText": "妯″叿淇濆吇瑙勭▼"
- }
+ "path": "pages/index/login",
+ "style": {
+ "navigationBarTitleText": "鐧诲綍",
+ "navigationStyle": "custom"
+ }
},
{
- "path": "pages/shengchanbuliaojiaoyan/MateReplenishOutCheckBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇琛ユ枡鍗曟牎楠�"
- }
- },
- {
- "path": "pages/qitachukujiaoyan/qitachukujiaoyan",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍑哄簱鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/qitachukujiaoyan/qitachukujiaoyan",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍑哄簱鏍¢獙",
- "enablePullDownRefresh": true
- }
+ "path": "pages/index/index",
+ "style": {
+ "navigationBarTitleText": "棣栭〉",
+ "navigationStyle": "custom"
+ }
},
- {
- "path": "pages/qitachukujiaoyan/qitachukudanjiaoyan",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍑哄簱鍗曟牎楠�"
- }
- },
- {
- "path": "pages/shengchanbuliaojiaoyan/MateReplenishOutCheckBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇琛ユ枡鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchanbuliaojiaoyan/MateReplenishOutCheckBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇琛ユ枡鍗曟牎楠�"
- }
- },
- {
- "path": "pages/xiaoshouchukujiaoyan/SellOutCheckBillList",
- "style": {
- "navigationBarTitleText": "閿�鍞嚭搴撴牎楠�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/xiaoshouchukujiaoyan/SellOutCheckBill",
- "style": {
- "navigationBarTitleText": "閿�鍞嚭搴撳崟鏍¢獙"
- }
- },
- {
- "path": "pages/weiwailingliaojiaoyan/EntrustOutCheckBillList",
- "style": {
- "navigationBarTitleText": "濮斿棰嗘枡鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weiwailingliaojiaoyan/EntrustOutCheckBill",
- "style": {
- "navigationBarTitleText": "濮斿棰嗘枡鍗曟牎楠�"
- }
- },
- {
- "path": "pages/caigourukujiaoyan/POStockInCheckBillList",
- "style": {
- "navigationBarTitleText": "閲囪喘鍏ュ簱鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/caigourukujiaoyan/POStockInCheckBill",
- "style": {
- "navigationBarTitleText": "閲囪喘鍏ュ簱鍗曟牎楠�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/qitarukujiaoyan/Kf_OtherInBillCheckList",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/qitarukujiaoyan/Kf_OtherInBillCheck",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗曟牎楠�"
- }
- },
- {
- "path": "pages/weiwaibuliaojiaoyan/Kf_EntrustReplenishOutBill_CheckList",
- "style": {
- "navigationBarTitleText": "濮斿琛ユ枡鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weiwaibuliaojiaoyan/Kf_EntrustReplenishOutBill_Check",
- "style": {
- "navigationBarTitleText": "濮斿琛ユ枡鍗曟牎楠�"
- }
- },
- {
- "path": "pages/shengchanlingliaoshengdan/Kf_MateOutBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇棰嗘枡",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchanlingliaoshengdan/Kf_MateOutBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇棰嗘枡鍗�"
- }
- },
- {
- "path": "pages/weiwailingliao/Kf_EntrustOutBillList",
- "style": {
- "navigationBarTitleText": "濮斿棰嗘枡",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weiwailingliao/Kf_EntrustOutBill",
- "style": {
- "navigationBarTitleText": "濮斿棰嗘枡鍗�"
- }
- },
- {
- "path": "pages/shengchanrukushengdan/Kf_ProductInBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇鍏ュ簱",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchanrukushengdan/Kf_ProductInBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇鍏ュ簱鍗�"
- }
- },
- {
- "path": "pages/xiaoshouchukujiaoyan/SellOutCheckBill",
- "style": {
- "navigationBarTitleText": "閿�鍞嚭搴撳崟鏍¢獙"
- }
- },
- {
- "path": "pages/weiwailingliaojiaoyan/EntrustOutCheckBillList",
- "style": {
- "navigationBarTitleText": "濮斿棰嗘枡鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weiwailingliaojiaoyan/EntrustOutCheckBill",
- "style": {
- "navigationBarTitleText": "濮斿棰嗘枡鍗曟牎楠�"
- }
- },
- {
- "path": "pages/caigourukujiaoyan/POStockInCheckBillList",
- "style": {
- "navigationBarTitleText": "閲囪喘鍏ュ簱鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/caigourukujiaoyan/POStockInCheckBill",
- "style": {
- "navigationBarTitleText": "閲囪喘鍏ュ簱鍗曟牎楠�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/qitarukujiaoyan/Kf_OtherInBillCheckList",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/qitarukujiaoyan/Kf_OtherInBillCheck",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗曟牎楠�"
- }
- },
- {
- "path": "pages/weiwaibuliaojiaoyan/Kf_EntrustReplenishOutBill_CheckList",
- "style": {
- "navigationBarTitleText": "濮斿琛ユ枡鏍¢獙",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weiwaibuliaojiaoyan/Kf_EntrustReplenishOutBill_Check",
- "style": {
- "navigationBarTitleText": "濮斿琛ユ枡鍗曟牎楠�"
- }
- },
- {
- "path": "pages/shengchanlingliaoshengdan/Kf_MateOutBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇棰嗘枡",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchanlingliaoshengdan/Kf_MateOutBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇棰嗘枡鍗�"
- }
- },
- {
- "path": "pages/weiwailingliao/Kf_EntrustOutBillList",
- "style": {
- "navigationBarTitleText": "濮斿棰嗘枡",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weiwailingliao/Kf_EntrustOutBill",
- "style": {
- "navigationBarTitleText": "濮斿棰嗘枡鍗�"
- }
- },
- {
- "path": "pages/shengchanrukushengdan/Kf_ProductInBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇鍏ュ簱",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchanrukushengdan/Kf_ProductInBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇鍏ュ簱鍗�"
- }
- },
- {
- "path": "pages/shengchanbuliao/MateReplenishOutBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇琛ユ枡",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchanbuliao/MateReplenishOutBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇琛ユ枡鍗�"
- }
- },
- {
- "path": "pages/qitaruku_v2/OtherInBillList",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱",
- "enablePullDownRefresh": true
- }
- }, {
- "path": "pages/qitaruku_v2/OtherInBill",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗�"
- }
- },
- {
- "path": "pages/qitachuku_v2/OtherOutBillList",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍑哄簱",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/qitachuku_v2/OtherOutBill",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍑哄簱鍗�"
- }
- },
- {
- "path": "pages/shengchanbuliao/MateReplenishOutBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇琛ユ枡",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shengchanbuliao/MateReplenishOutBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇琛ユ枡鍗�"
- }
- },
- {
- "path": "pages/qitaruku_v2/OtherInBillList",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/qitaruku_v2/OtherInBill",
- "style": {
- "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗�"
- }
- },
- {
- "path": "pages/tiaomaguanli/table_son",
- "style": {
- "navigationBarTitleText": "鏉$爜鐢熸垚"
- }
- },
- {
- "path": "pages/tiaomaguanli/table",
- "style": {
- "navigationBarTitleText": "鏉$爜绠$悊"
- }
- }, {
- "path": "pages/weiwairuku/EntrustInBillList",
- "style": {
- "navigationBarTitleText": "濮斿鍏ュ簱",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weiwairuku/EntrustInBill",
- "style": {
- "navigationBarTitleText": "濮斿鍏ュ簱鍗�"
- }
- },
- {
- "path": "pages/zhijiediaobo/MoveStockBillList",
- "style": {
- "navigationBarTitleText": "鐩存帴璋冩嫧",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/zhijiediaobo/MoveStockBill",
- "style": {
- "navigationBarTitleText": "鐩存帴璋冩嫧鍗�"
- }
- },
- {
- "path": "pages/xiugaimima/index",
- "style": {
- "navigationBarTitleText": "淇敼瀵嗙爜"
- }
- },
- {
- "path": "pages/tiaomaguanli/table",
- "style": {
- "navigationBarTitleText": "鏉$爜绠$悊"
- }
- }, {
- "path": "pages/weiwairuku/EntrustInBillList",
- "style": {
- "navigationBarTitleText": "濮斿鍏ュ簱",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/quyangdan/TakeSampleCheckBillList",
- "style": {
- "navigationBarTitleText": "鍙栨牱鍗�"
- }
- },
- {
- "path": "pages/quyangdan/TakeSampleCheckBill",
- "style": {
- "navigationBarTitleText": "鍙栨牱鍗�"
- }
- },
- {
- "path": "pages/huanyangdan/BackSampleCheckBillList",
- "style": {
- "navigationBarTitleText": "杩樻牱鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/huanyangdan/BackSampleCheckBill",
- "style": {
- "navigationBarTitleText": "杩樻牱鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/InnerHtmlPage/index",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/white/white",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/zutuosaoma/PackUnionBill",
- "style": {
- "navigationBarTitleText": "缁勬墭鎵爜"
- }
- },
- {
- "path": "pages/zutuosaoma/PackUnionBillList",
- "style": {
- "navigationBarTitleText": "缁勬墭鎵爜缂撳瓨"
- }
- },
- {
- "path": "pages/chaituosaoma/UnPackUnionBill",
- "style": {
- "navigationBarTitleText": "鎷嗘墭鎵爜"
- }
- },
- {
- "path": "pages/shengchantuiliao/MateOutBackBillList",
- "style": {
- "navigationBarTitleText": "鐢熶骇閫�鏂�"
- }
- },
- {
- "path": "pages/shengchantuiliao/MateOutBackBill",
- "style": {
- "navigationBarTitleText": "鐢熶骇閫�鏂欏崟"
- }
- },
- {
- "path": "pages/ZLGL/shoujianjianyan/firstCheckBillList",
- "style": {
- "navigationBarTitleText": "棣栦欢妫�楠屽崟缁存姢"
- }
- },
- {
- "path": "pages/ZLGL/shoujianjianyan/firstCheckBill",
- "style": {
- "navigationBarTitleText": "棣栦欢妫�楠屽崟"
- }
- },
- {
- "path": "pages/shoujishouming/table",
- "style": {
- "navigationBarTitleText": "鎵嬫満瀵垮懡鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shoujishouming/form",
- "style": {
- "navigationBarTitleText": "鎵嬫満瀵垮懡鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/mujulingliaochukudan/MouldProdOutBill",
- "style": {
- "navigationBarTitleText": "妯″叿棰嗘枡鍑哄簱鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/mujulingliaochukudan/MouldProdOutBillList",
- "style": {
- "navigationBarTitleText": "妯″叿棰嗘枡鍑哄簱鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/mujulingliaotuikudan/Sc_MouldProdBackBillList",
- "style": {
- "navigationBarTitleText": "妯″叿棰嗘枡閫�搴撳崟",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBillList",
- "style": {
- "navigationBarTitleText": "鍣ㄥ叿璋冩嫧鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBill",
- "style": {
- "navigationBarTitleText": "鍣ㄥ叿璋冩嫧鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/fenbushidiaorudan/form_test",
- "style": {
- "navigationBarTitleText": "鍒嗘璋冨叆鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/fenbushidiaorudan/table",
- "style": {
- "navigationBarTitleText": "鍒嗘璋冨叆鍗曠紦瀛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/fenbushidiaochudan/form_out",
- "style": {
- "navigationBarTitleText": "鍒嗘璋冨嚭鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/ZLGL/shoujianjianyan/firstCheckBillList",
- "style": {
- "navigationBarTitleText": "棣栦欢妫�楠屽崟缁存姢"
- }
- },
- {
- "path": "pages/ZLGL/shoujianjianyan/firstCheckBill",
- "style": {
- "navigationBarTitleText": "棣栦欢妫�楠屽崟"
- }
- },
- {
- "path": "pages/shoujishouming/table",
- "style": {
- "navigationBarTitleText": "妯″叿瀵垮懡璋冩暣鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/shoujishouming/form",
- "style": {
- "navigationBarTitleText": "妯″叿瀵垮懡璋冩暣鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/mujulingliaochukudan/MouldProdOutBill",
- "style": {
- "navigationBarTitleText": "妯″叿棰嗘枡鍑哄簱鍗�"
- }
- },
- {
- "path": "pages/MJGL/mujulingliaochukudan/MouldProdOutBillList",
- "style": {
- "navigationBarTitleText": "妯″叿棰嗘枡鍑哄簱鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/mujulingliaotuikudan/Sc_MouldProdBackBillList",
- "style": {
- "navigationBarTitleText": "妯″叿棰嗘枡閫�搴撳崟",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/mujulingliaotuikudan/Sc_MouldProdBackBill",
- "style": {
- "navigationBarTitleText": "妯″叿棰嗘枡閫�搴撳崟"
- }
- },
- {
- "path": "pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBillList",
- "style": {
- "navigationBarTitleText": "妯″叿璋冩嫧鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBill",
- "style": {
- "navigationBarTitleText": "妯″叿璋冩嫧鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/fenbushidiaorudan/form_test",
- "style": {
- "navigationBarTitleText": "鍒嗘璋冨叆鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/fenbushidiaorudan/table",
- "style": {
- "navigationBarTitleText": "鍒嗘璋冨叆鍗曠紦瀛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/fenbushidiaochudan/form_out",
- "style": {
- "navigationBarTitleText": "鍒嗘璋冨嚭鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weixiujilu/mouldRepairRecordBillList",
- "style": {
- "navigationBarTitleText": "妯″叿缁翠慨璁板綍",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/weixiujilu/mouldRepairRecordBill",
- "style": {
- "navigationBarTitleText": "妯″叿缁翠慨璁板綍鍗�"
- }
- },
- {
- "path": "pages/qijvguzhangdengji/mouldMistake",
- "style": {
- "navigationBarTitleText": "妯″叿鏁呴殰鐧昏"
+ {
+ "path": "pages/index/tab1",
+ "style": {
+ "navigationBarTitleText": "杞﹂棿宸ュ簭"
+ }
+ },
+ {
+ "path": "pages/index/tab2",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁鍒楄〃"
+ }
+ },
+ {
+ "path": "pages/index/tab3",
+ "style": {
+ "navigationBarTitleText": "鍣ㄥ叿绠$悊"
+ }
+ },
+ {
+ "path": "pages/index/tab4",
+ "style": {
+ "navigationBarTitleText": "璐ㄩ噺绠$悊"
+ }
+ },
+ {
+ "path": "pages/index/mine",
+ "style": {
+ "navigationBarTitleText": "涓汉涓績",
+ // "navigationStyle": "custom"
+ "navigationBarTextStyle": "white",
+ "navigationBarBackgroundColor": "#65a2fb"
+ }
+ },
+ {
+ "path": "pages/shebeilvli/deviceStatueAnalysis",
+ "style": {
+ "navigationBarTitleText": "璁惧鐘舵�佸垎鏋�"
+ }
+ },
+ {
+ "path": "pages/shebeilvli/EquipFileBillResume",
+ "style": {
+ "navigationBarTitleText": "璁惧灞ュ巻",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shebeilvli/EquipFileBillResume_son",
+ "style": {
+ "navigationBarTitleText": "璁惧灞ュ巻瀛愯〃"
+ }
+ },
+ {
+ "path": "pages/baoyangjihua/Sb_EquipMaintainPlanEdit",
+ "style": {
+ "navigationBarTitleText": "璁惧淇濆吇璁″垝鍗�"
+ }
+ },
+ {
+ "path": "pages/baoyangjihua/Sb_EquipMaintainPlanList",
+ "style": {
+ "navigationBarTitleText": "璁惧淇濆吇璁″垝鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/baoyangjihua/Sb_EquipMaintainPlanList_son",
+ "style": {
+ "navigationBarTitleText": "淇濆吇璁″垝瀛愯〃"
+ }
+ },
+ {
+ "path": "pages/baoyangjilu/Sb_EquipMaintainRuleEdit",
+ "style": {
+ "navigationBarTitleText": "璁惧淇濆吇璁板綍鍗�"
+ }
+ },
+ {
+ "path": "pages/baoyangjilu/Sb_EquipMaintainRuleList",
+ "style": {
+ "navigationBarTitleText": "璁惧淇濆吇璁板綍鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/baoyangjilu/Sb_EquipMaintainRuleList_son",
+ "style": {
+ "navigationBarTitleText": "淇濆吇璁板綍瀛愯〃"
+ }
+ },
+ {
+ "path": "pages/guzhangdengji/EqpConkBookBill",
+ "style": {
+ "navigationBarTitleText": "璁惧鏁呴殰鐧昏琛�"
+ }
+ },
+ {
+ "path": "pages/guzhangdengji/EqpConkBookBillList",
+ "style": {
+ "navigationBarTitleText": "璁惧鏁呴殰鐧昏琛�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shebeidangan/Gy_EquipFileMainBill",
+ "style": {
+ "navigationBarTitleText": "璁惧妗f"
+ }
+ },
+ {
+ "path": "pages/shebeidangan/Gy_EquipFileMainBillList",
+ "style": {
+ "navigationBarTitleText": "璁惧妗f",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shebeiweixiu/Sb_Add_EqpMaintenanceBillList",
+ "style": {
+ "navigationBarTitleText": "璁惧缁翠慨璁板綍鍗�"
+ }
+ },
+ {
+ "path": "pages/shebeiweixiu/SbEqpMaintenanceBillList",
+ "style": {
+ "navigationBarTitleText": "璁惧缁翠慨璁板綍鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weiwaigxOut/firstCheck",
+ "style": {
+ "navigationBarTitleText": "棣栦欢妫�楠屽崟",
+ "enablePullDownRefresh": true
+ }
+ }, {
+ "path": "pages/gongxuIn/Cj_StationInBill",
+ "style": {
+ "navigationBarTitleText": "宸ュ簭杩涚珯鎺ユ敹鍗�"
+ }
+ },
+ {
+ "path": "pages/gongxuIn/Cj_StationInBillList",
+ "style": {
+ "navigationBarTitleText": "宸ュ簭杩涚珯鎺ユ敹鍗�",
+ "enablePullDownRefresh": true
+ }
+ }, {
+ "path": "pages/gongxuOut/Cj_StationOutBill",
+ "style": {
+ "navigationBarTitleText": "宸ュ簭鍑虹珯姹囨姤鍗�"
+ }
+ },
+ {
+ "path": "pages/gongxuOut/Cj_StationOutBillList",
+ "style": {
+ "navigationBarTitleText": "宸ュ簭鍑虹珯姹囨姤鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/gongxuOutSendWork/gongxuOutSendWorkBill",
+ "style": {
+ "navigationBarTitleText": "宸ュ簭鍑虹珯姹囨姤鍗�(娲惧伐)",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/gongxuOut/moneystatistics",
+ "style": {
+ "navigationBarTitleText": "鎴戠殑宸ヨ祫(姹囨姤棰勪及)",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shebeiguanli/deviceManage",
+ "style": {
+ "navigationBarTitleText": "璁惧绠$悊",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shebeiguanli/deviceManageList",
+ "style": {
+ "navigationBarTitleText": "璁惧绠$悊",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shebeiguanli/ticketList",
+ "style": {
+ "navigationBarTitleText": "宸ュ崟鍒楄〃",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/baogong/ProductReportStepBillList",
+ "style": {
+ "navigationBarTitleText": "浜ч噺姹囨姤鍗�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/baogong/IpadIndex",
+ "style": {
+ "navigationBarTitleText": "鎶ュ伐骞冲彴",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/baogong/DayPlanBillList",
+ "style": {
+ "navigationBarTitleText": "宸ュ崟鍒楄〃",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/baogong/abnormal",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉鍗�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBillList",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉鍗曞垪琛�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉鍗�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBillList",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉鎺ユ敹鍗曞垪琛�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉鎺ユ敹鍗�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBillList",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉绛惧埌鍗曞垪琛�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉绛惧埌鍗�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBillList",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉澶勭悊鍗曞垪琛�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉澶勭悊鍗�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBillList",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉楠屾敹鍗曞垪琛�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉楠屾敹鍗�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/ZLGL/AanDengHujiao/OA_MyErrMsgBanck/OA_ErrMsgBackMyList",
+ "style": {
+ "navigationBarTitleText": "寮傚父鍙嶉寰呭鐞嗗垪琛�",
+ "enablePullDownRefresh": false
+ }
+ },
- }
- },
- {
- "path": "pages/qijvguzhangdengji/mouldMistakeBill",
- "style": {
- "navigationBarTitleText": "妯″叿鏁呴殰鐧昏鍗�"
- }
- },
- {
- "path": "pages/chaixiang/form",
- "style": {
- "navigationBarTitleText": "鎷嗙"
- }
- },
- {
- "path": "pages/zhuangxiang/form_mix",
- "style": {
- "navigationBarTitleText": "瑁呯"
- }
- },
- {
- "path": "pages/zutuo_xiaowei/form_xiaowei",
- "style": {
- "navigationBarTitleText": "缁勬墭-灏忓崼"
- }
- },
- {
- "path": "pages/zhuangxiangdan/table",
- "style": {
- "navigationBarTitleText": "瑁呯鍗曠紦瀛�"
- }
- },
- {
- "path": "pages/zhuangxiangdan/form",
- "style": {
- "navigationBarTitleText": "瑁呯鍗�"
- }
- },
- {
- "path": "pages/ZLGL/xunjianjianyan/PatrolProcCheckBillList",
- "style": {
- "navigationBarTitleText": "宸℃鍗曠紦瀛�"
- }
- },
- {
- "path": "pages/ZLGL/xunjianjianyan/PatrolProcCheckBill",
- "style": {
- "navigationBarTitleText": "宸℃鍗�"
- }
- },
- {
- "path": "pages/ZLGL/mojianjianyan/lastPieceCheckBillList",
- "style": {
- "navigationBarTitleText": "鏈欢妫�楠屽崟缁存姢"
- }
- },
- {
- "path": "pages/ZLGL/lailiaojianyan/POStockInCheckBill",
- "style": {
- "navigationBarTitleText": "鏉ユ枡妫�楠屽崟"
- }
- },
- {
- "path": "pages/ZLGL/lailiaojianyan/POStockInCheckBillList",
- "style": {
- "navigationBarTitleText": "鏉ユ枡妫�楠屽崟缁存姢"
- }
- },
- {
- "path": "pages/ZLGL/mojianjianyan/lastPieceCheckBill",
- "style": {
- "navigationBarTitleText": "鏈欢妫�楠屽崟"
- }
- },
- {
- "path": "pages/chaituosaoma-xiaowei/UnpackPallet",
- "style": {
- "navigationBarTitleText": "鎷嗘墭鎵爜锛堝皬鍗級"
- }
- },
- {
- "path": "pages/sanmaheyi/BarCodeCheck",
- "style": {
- "navigationBarTitleText": "涓夌爜鍚堜竴"
- }
- },
{
- "path": "pages/simaheyi/BarCodeCheck_SN",
- "style": {
- "navigationBarTitleText": "鍥涚爜鍚堜竴"
- }
- },
- {
- "path": "pages/ZLGL/shengchanrukujiaoyan/QC_LastPieceCheckBill_v2",
- "style": {
- "navigationBarTitleText": "鐢熶骇鍏ュ簱鏍¢獙"
- }
- },
- {
- "path": "pages/ZLGL/chuchangjiaoyandan/QC_OutCompCheckBill",
- "style": {
- "navigationBarTitleText": "鍑哄巶鏍¢獙"
- }
- },
- {
- "path": "pages/weiwaigxIn/Cj_StationEntrustInBill",
- "style": {
- "navigationBarTitleText": "宸ュ簭濮斿鍙戝嚭鍗�"
- }
- },
- {
- "path": "pages/weiwaigxIn/Cj_StationEntrustInBillList",
- "style": {
- "navigationBarTitleText": "宸ュ簭濮斿鍙戝嚭鍗曠紦瀛�"
- }
- },
- {
- "path": "pages/weiwaigxOut/Cj_StationEntrustOutBill",
- "style": {
- "navigationBarTitleText": "宸ュ簭濮斿鎺ユ敹鍗�"
- }
- },
- {
- "path": "pages/weiwaigxOut/Cj_StationEntrustOutBillList",
- "style": {
- "navigationBarTitleText": "宸ュ簭濮斿鎺ユ敹鍗曠紦瀛�"
- }
- },
- {
- "path": "pages/jishikucunchaxun/table",
- "style": {
- "navigationBarTitleText": "鍗虫椂搴撳瓨鏌ヨ"
- }
- },
- {
- "path" : "pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast",
- "style" :
- {
- "navigationBarTitleText" : "鏉ユ枡妫�楠屽崟"
- }
- },
- {
- "path" : "pages/ZLGL/checkFlowList/QC_CheckBillflowList",
- "style" :
- {
- "navigationBarTitleText" : "寰呮垜瀹℃牳",
+ "path": "pages/caigouruku/POStockInBillList",
+ "style": {
+ "navigationBarTitleText": "閲囪喘鍏ュ簱鍒楄〃",
"enablePullDownRefresh": true
- }
- },
+ }
+ },
{
- "path" : "pages/ZLGL/checkFlowList/QC_CheckedBillflowList",
- "style" :
- {
- "navigationBarTitleText" : "宸插鏍�",
- "enablePullDownRefresh": true
- }
+ "path": "pages/caigouruku/POStockInBill",
+ "style": {
+ "navigationBarTitleText": "閲囪喘鍏ュ簱鍗�",
+ "enablePullDownRefresh": false
+ }
},
- {
- "path" : "pages/MJGL/Gy_MouldFile/Gy_MouldFileList",
- "style" :
- {
- "navigationBarTitleText" : "妯″叿妗f鏌ヨ",
+ {
+ "path": "pages/caigoutuiliao/POStockInBackBillList",
+ "style": {
+ "navigationBarTitleText": "閲囪喘閫�鏂欏垪琛�",
"enablePullDownRefresh": true
- }
- },
- {
- "path" : "pages/ZLGL/QualityReportStep/QualityReportStepBill",
- "style" :
- {
- "navigationBarTitleText" : "鍏ㄦ妫�楠屽崟(涓嶈壇姹囨姤)",
+ }
+ },
+ {
+ "path": "pages/caigoutuiliao/POStockInBackBill",
+ "style": {
+ "navigationBarTitleText": "閲囪喘閫�鏂欏崟",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/xiaoshouchuku/SellOutBillList",
+ "style": {
+ "navigationBarTitleText": "閿�鍞嚭搴撳垪琛�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/xiaoshouchuku/SellOutBill",
+ "style": {
+ "navigationBarTitleText": "閿�鍞嚭搴撳崟",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/xiaoshoutuihuo/ICStockBillMainList",
+ "style": {
+ "navigationBarTitleText": "閿�鍞��璐у垪琛�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/xiaoshoutuihuo/ICStockBillMain",
+ "style": {
+ "navigationBarTitleText": "閿�鍞��璐у崟",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/shouliaotongzhi/table",
+ "style": {
+ "navigationBarTitleText": "鏀舵枡閫氱煡鍗�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/shouliaotongzhi/table_son",
+ "style": {
+ "navigationBarTitleText": "鏉$爜鐢熸垚",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/shengchanlingliao/PPickingCheckBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇棰嗘枡鏍¢獙鍒楄〃",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchanlingliao/PPickingCheckBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇棰嗘枡鍗曟牎楠�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/shengchanruku/ProductInCheckBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇鍏ュ簱鏍¢獙鍒楄〃",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchanruku/ProductInCheckBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇鍏ュ簱鍗曟牎楠�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/shengchandiaobo/MoveStockBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇璋冩嫧鏍¢獙鍒楄〃",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchandiaobo/MoveStockBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇璋冩嫧鍗曟牎楠�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/labelPrinter/index",
+ "style": {
+ "navigationBarTitleText": "鏍囩鎵撳嵃"
+ }
+ },
+ {
+ "path": "pages/shebeiyunxingzhuangtai/shebeiyunxingzhuangtai",
+ "style": {
+ "navigationBarTitleText": "璁惧杩愯鐘舵��",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shebeiyunxingzhuangtai/detail",
+ "style": {
+ "navigationBarTitleText": "璁惧杩愯鐘舵�佽鎯�"
+ }
+ },
+ {
+ "path": "pages/mujvzhuangtai/mujvzhuangtai",
+ "style": {
+ "navigationBarTitleText": "妯″叿鐘舵�佸垎甯�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/mujvzhuangtai/detail",
+ "style": {
+ "navigationBarTitleText": "妯″叿鐘舵�佽鎯�"
+ }
+ },
+ {
+ "path": "pages/tiaomachaima/tiaomachaima",
+ "style": {
+ "navigationBarTitleText": "鏉$爜鎷嗙爜"
+ }
+ },
+ {
+ "path": "pages/tiaomachaima/tiaomachaima2",
+ "style": {
+ "navigationBarTitleText": "鏉$爜鎷嗙爜2"
+ }
+ },
+ {
+ "path": "pages/wuliaosaoma/wuliaosaoma",
+ "style": {
+ "navigationBarTitleText": "鐗╂枡娓呭崟"
+ }
+ },
+ {
+ "path": "pages/wuliaosaoma/detail",
+ "style": {
+ "navigationBarTitleText": "鏉$爜妗f"
+ }
+ },
+ {
+ "path": "pages/caigouruku/POStockInBillList",
+ "style": {
+ "navigationBarTitleText": "閲囪喘鍏ュ簱",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/caigouruku/POStockInBill",
+ "style": {
+ "navigationBarTitleText": "閲囪喘鍏ュ簱鍗�"
+ }
+ },
+ {
+ "path": "pages/caigoutuiliao/POStockInBackBillList",
+ "style": {
+ "navigationBarTitleText": "閲囪喘閫�鏂�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/caigoutuiliao/POStockInBackBill",
+ "style": {
+ "navigationBarTitleText": "閲囪喘閫�鏂欏崟"
+ }
+ },
+ {
+ "path": "pages/xiaoshouchuku/SellOutBillList",
+ "style": {
+ "navigationBarTitleText": "閿�鍞嚭搴�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/xiaoshouchuku/SellOutBill",
+ "style": {
+ "navigationBarTitleText": "閿�鍞嚭搴撳崟"
+ }
+ },
+ {
+ "path": "pages/xiaoshoutuihuo/ICStockBillMainList",
+ "style": {
+ "navigationBarTitleText": "閿�鍞��璐�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/xiaoshoutuihuo/ICStockBillMain",
+ "style": {
+ "navigationBarTitleText": "閿�鍞��璐у崟"
+ }
+ },
+ {
+ "path": "pages/qitachuku/qitachuku",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍑哄簱",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/qitachuku/qitachukudan",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍑哄簱鍗�"
+ }
+ },
+ {
+ "path": "pages/qitaruku/qitaruku",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/qitaruku/qitarukudan",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗�"
+ }
+ },
+ {
+ "path": "pages/tiaomadaying/tiaomadaying",
+ "style": {
+ "navigationBarTitleText": "閲囪喘鏉$爜鎵撳嵃"
+ }
+ },
+ {
+ "path": "pages/caigoudingdan/generate",
+ "style": {
+ "navigationBarTitleText": "鏉$爜鐢熸垚"
+ }
+ },
+ {
+ "path": "pages/caigoudingdan/caigoudingdan",
+ "style": {
+ "navigationBarTitleText": "閲囪喘璁㈠崟"
+ }
+ },
+ {
+ "path": "pages/MJGL/shangmudan/MouldUpperBillList",
+ "style": {
+ "navigationBarTitleText": "涓婃ā鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/shangmudan/MouldUpperBill",
+ "style": {
+ "navigationBarTitleText": "涓婃ā鍗�"
+ }
+ },
+ {
+ "path": "pages/MJGL/xiamodan/MouldLowerBillList",
+ "style": {
+ "navigationBarTitleText": "涓嬫ā鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/xiamodan/MouldLowerBill",
+ "style": {
+ "navigationBarTitleText": "涓嬫ā鍗�"
+ }
+ },
+ {
+ "path": "pages/MJGL/mujudianjianjiludan/Sc_MouldDotCheckBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿鐐规璁板綍鍗曞垪琛�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/mujudianjianjiludan/Sc_MouldDotCheckBill",
+ "style": {
+ "navigationBarTitleText": "妯″叿鐐规璁板綍鍗�"
+ }
+ },
+ {
+ "path": "pages/MJGL/mujudianjianjiludan/Sc_MouldDotCheckRuleBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿鐐规瑙勭▼"
+ }
+ },
+ {
+ "path": "pages/MJGL/mujubaoyangjiludan/Sc_MouldMaintainBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿淇濆吇璁板綍鍗曞垪琛�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/mujubaoyangjiludan/Sc_MouldMaintainBill",
+ "style": {
+ "navigationBarTitleText": "妯″叿淇濆吇璁板綍鍗�"
+ }
+ },
+ {
+ "path": "pages/MJGL/mujubaoyangjiludan/Sc_MouldMaintainRuleBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿淇濆吇瑙勭▼"
+ }
+ },
+ {
+ "path": "pages/shengchanbuliaojiaoyan/MateReplenishOutCheckBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇琛ユ枡鍗曟牎楠�"
+ }
+ },
+ {
+ "path": "pages/qitachukujiaoyan/qitachukujiaoyan",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍑哄簱鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/qitachukujiaoyan/qitachukujiaoyan",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍑哄簱鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/qitachukujiaoyan/qitachukudanjiaoyan",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍑哄簱鍗曟牎楠�"
+ }
+ },
+ {
+ "path": "pages/shengchanbuliaojiaoyan/MateReplenishOutCheckBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇琛ユ枡鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchanbuliaojiaoyan/MateReplenishOutCheckBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇琛ユ枡鍗曟牎楠�"
+ }
+ },
+ {
+ "path": "pages/xiaoshouchukujiaoyan/SellOutCheckBillList",
+ "style": {
+ "navigationBarTitleText": "閿�鍞嚭搴撴牎楠�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/xiaoshouchukujiaoyan/SellOutCheckBill",
+ "style": {
+ "navigationBarTitleText": "閿�鍞嚭搴撳崟鏍¢獙"
+ }
+ },
+ {
+ "path": "pages/weiwailingliaojiaoyan/EntrustOutCheckBillList",
+ "style": {
+ "navigationBarTitleText": "濮斿棰嗘枡鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weiwailingliaojiaoyan/EntrustOutCheckBill",
+ "style": {
+ "navigationBarTitleText": "濮斿棰嗘枡鍗曟牎楠�"
+ }
+ },
+ {
+ "path": "pages/caigourukujiaoyan/POStockInCheckBillList",
+ "style": {
+ "navigationBarTitleText": "閲囪喘鍏ュ簱鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/caigourukujiaoyan/POStockInCheckBill",
+ "style": {
+ "navigationBarTitleText": "閲囪喘鍏ュ簱鍗曟牎楠�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/qitarukujiaoyan/Kf_OtherInBillCheckList",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/qitarukujiaoyan/Kf_OtherInBillCheck",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗曟牎楠�"
+ }
+ },
+ {
+ "path": "pages/weiwaibuliaojiaoyan/Kf_EntrustReplenishOutBill_CheckList",
+ "style": {
+ "navigationBarTitleText": "濮斿琛ユ枡鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weiwaibuliaojiaoyan/Kf_EntrustReplenishOutBill_Check",
+ "style": {
+ "navigationBarTitleText": "濮斿琛ユ枡鍗曟牎楠�"
+ }
+ },
+ {
+ "path": "pages/shengchanlingliaoshengdan/Kf_MateOutBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇棰嗘枡",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchanlingliaoshengdan/Kf_MateOutBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇棰嗘枡鍗�"
+ }
+ },
+ {
+ "path": "pages/weiwailingliao/Kf_EntrustOutBillList",
+ "style": {
+ "navigationBarTitleText": "濮斿棰嗘枡",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weiwailingliao/Kf_EntrustOutBill",
+ "style": {
+ "navigationBarTitleText": "濮斿棰嗘枡鍗�"
+ }
+ },
+ {
+ "path": "pages/shengchanrukushengdan/Kf_ProductInBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇鍏ュ簱",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchanrukushengdan/Kf_ProductInBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇鍏ュ簱鍗�"
+ }
+ },
+ {
+ "path": "pages/xiaoshouchukujiaoyan/SellOutCheckBill",
+ "style": {
+ "navigationBarTitleText": "閿�鍞嚭搴撳崟鏍¢獙"
+ }
+ },
+ {
+ "path": "pages/weiwailingliaojiaoyan/EntrustOutCheckBillList",
+ "style": {
+ "navigationBarTitleText": "濮斿棰嗘枡鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weiwailingliaojiaoyan/EntrustOutCheckBill",
+ "style": {
+ "navigationBarTitleText": "濮斿棰嗘枡鍗曟牎楠�"
+ }
+ },
+ {
+ "path": "pages/caigourukujiaoyan/POStockInCheckBillList",
+ "style": {
+ "navigationBarTitleText": "閲囪喘鍏ュ簱鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/caigourukujiaoyan/POStockInCheckBill",
+ "style": {
+ "navigationBarTitleText": "閲囪喘鍏ュ簱鍗曟牎楠�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/qitarukujiaoyan/Kf_OtherInBillCheckList",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/qitarukujiaoyan/Kf_OtherInBillCheck",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗曟牎楠�"
+ }
+ },
+ {
+ "path": "pages/weiwaibuliaojiaoyan/Kf_EntrustReplenishOutBill_CheckList",
+ "style": {
+ "navigationBarTitleText": "濮斿琛ユ枡鏍¢獙",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weiwaibuliaojiaoyan/Kf_EntrustReplenishOutBill_Check",
+ "style": {
+ "navigationBarTitleText": "濮斿琛ユ枡鍗曟牎楠�"
+ }
+ },
+ {
+ "path": "pages/shengchanlingliaoshengdan/Kf_MateOutBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇棰嗘枡",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchanlingliaoshengdan/Kf_MateOutBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇棰嗘枡鍗�"
+ }
+ },
+ {
+ "path": "pages/weiwailingliao/Kf_EntrustOutBillList",
+ "style": {
+ "navigationBarTitleText": "濮斿棰嗘枡",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weiwailingliao/Kf_EntrustOutBill",
+ "style": {
+ "navigationBarTitleText": "濮斿棰嗘枡鍗�"
+ }
+ },
+ {
+ "path": "pages/shengchanrukushengdan/Kf_ProductInBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇鍏ュ簱",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchanrukushengdan/Kf_ProductInBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇鍏ュ簱鍗�"
+ }
+ },
+ {
+ "path": "pages/shengchanbuliao/MateReplenishOutBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇琛ユ枡",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchanbuliao/MateReplenishOutBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇琛ユ枡鍗�"
+ }
+ },
+ {
+ "path": "pages/qitaruku_v2/OtherInBillList",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱",
+ "enablePullDownRefresh": true
+ }
+ }, {
+ "path": "pages/qitaruku_v2/OtherInBill",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗�"
+ }
+ },
+ {
+ "path": "pages/qitachuku_v2/OtherOutBillList",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍑哄簱",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/qitachuku_v2/OtherOutBill",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍑哄簱鍗�"
+ }
+ },
+ {
+ "path": "pages/shengchanbuliao/MateReplenishOutBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇琛ユ枡",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shengchanbuliao/MateReplenishOutBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇琛ユ枡鍗�"
+ }
+ },
+ {
+ "path": "pages/qitaruku_v2/OtherInBillList",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/qitaruku_v2/OtherInBill",
+ "style": {
+ "navigationBarTitleText": "鍏朵粬鍏ュ簱鍗�"
+ }
+ },
+ {
+ "path": "pages/tiaomaguanli/table_son",
+ "style": {
+ "navigationBarTitleText": "鏉$爜鐢熸垚"
+ }
+ },
+ {
+ "path": "pages/tiaomaguanli/table",
+ "style": {
+ "navigationBarTitleText": "鏉$爜绠$悊"
+ }
+ }, {
+ "path": "pages/weiwairuku/EntrustInBillList",
+ "style": {
+ "navigationBarTitleText": "濮斿鍏ュ簱",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weiwairuku/EntrustInBill",
+ "style": {
+ "navigationBarTitleText": "濮斿鍏ュ簱鍗�"
+ }
+ },
+ {
+ "path": "pages/zhijiediaobo/MoveStockBillList",
+ "style": {
+ "navigationBarTitleText": "鐩存帴璋冩嫧",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/zhijiediaobo/MoveStockBill",
+ "style": {
+ "navigationBarTitleText": "鐩存帴璋冩嫧鍗�"
+ }
+ },
+ {
+ "path": "pages/xiugaimima/index",
+ "style": {
+ "navigationBarTitleText": "淇敼瀵嗙爜"
+ }
+ },
+ {
+ "path": "pages/tiaomaguanli/table",
+ "style": {
+ "navigationBarTitleText": "鏉$爜绠$悊"
+ }
+ }, {
+ "path": "pages/weiwairuku/EntrustInBillList",
+ "style": {
+ "navigationBarTitleText": "濮斿鍏ュ簱",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/quyangdan/TakeSampleCheckBillList",
+ "style": {
+ "navigationBarTitleText": "鍙栨牱鍗�"
+ }
+ },
+ {
+ "path": "pages/quyangdan/TakeSampleCheckBill",
+ "style": {
+ "navigationBarTitleText": "鍙栨牱鍗�"
+ }
+ },
+ {
+ "path": "pages/huanyangdan/BackSampleCheckBillList",
+ "style": {
+ "navigationBarTitleText": "杩樻牱鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/huanyangdan/BackSampleCheckBill",
+ "style": {
+ "navigationBarTitleText": "杩樻牱鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/InnerHtmlPage/index",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/white/white",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/zutuosaoma/PackUnionBill",
+ "style": {
+ "navigationBarTitleText": "缁勬墭鎵爜"
+ }
+ },
+ {
+ "path": "pages/zutuosaoma/PackUnionBillList",
+ "style": {
+ "navigationBarTitleText": "缁勬墭鎵爜缂撳瓨"
+ }
+ },
+ {
+ "path": "pages/chaituosaoma/UnPackUnionBill",
+ "style": {
+ "navigationBarTitleText": "鎷嗘墭鎵爜"
+ }
+ },
+ {
+ "path": "pages/shengchantuiliao/MateOutBackBillList",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇閫�鏂�"
+ }
+ },
+ {
+ "path": "pages/shengchantuiliao/MateOutBackBill",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇閫�鏂欏崟"
+ }
+ },
+ {
+ "path": "pages/ZLGL/shoujianjianyan/firstCheckBillList",
+ "style": {
+ "navigationBarTitleText": "棣栦欢妫�楠屽崟缁存姢"
+ }
+ },
+ {
+ "path": "pages/ZLGL/shoujianjianyan/firstCheckBill",
+ "style": {
+ "navigationBarTitleText": "棣栦欢妫�楠屽崟"
+ }
+ },
+ {
+ "path": "pages/shoujishouming/table",
+ "style": {
+ "navigationBarTitleText": "鎵嬫満瀵垮懡鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shoujishouming/form",
+ "style": {
+ "navigationBarTitleText": "鎵嬫満瀵垮懡鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/mujulingliaochukudan/MouldProdOutBill",
+ "style": {
+ "navigationBarTitleText": "妯″叿棰嗘枡鍑哄簱鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/mujulingliaochukudan/MouldProdOutBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿棰嗘枡鍑哄簱鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/mujulingliaotuikudan/Sc_MouldProdBackBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿棰嗘枡閫�搴撳崟",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBillList",
+ "style": {
+ "navigationBarTitleText": "鍣ㄥ叿璋冩嫧鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBill",
+ "style": {
+ "navigationBarTitleText": "鍣ㄥ叿璋冩嫧鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/fenbushidiaorudan/form_test",
+ "style": {
+ "navigationBarTitleText": "鍒嗘璋冨叆鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/fenbushidiaorudan/table",
+ "style": {
+ "navigationBarTitleText": "鍒嗘璋冨叆鍗曠紦瀛�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/fenbushidiaochudan/form_out",
+ "style": {
+ "navigationBarTitleText": "鍒嗘璋冨嚭鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/ZLGL/shoujianjianyan/firstCheckBillList",
+ "style": {
+ "navigationBarTitleText": "棣栦欢妫�楠屽崟缁存姢"
+ }
+ },
+ {
+ "path": "pages/ZLGL/shoujianjianyan/firstCheckBill",
+ "style": {
+ "navigationBarTitleText": "棣栦欢妫�楠屽崟"
+ }
+ },
+ {
+ "path": "pages/shoujishouming/table",
+ "style": {
+ "navigationBarTitleText": "妯″叿瀵垮懡璋冩暣鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/shoujishouming/form",
+ "style": {
+ "navigationBarTitleText": "妯″叿瀵垮懡璋冩暣鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/mujulingliaochukudan/MouldProdOutBill",
+ "style": {
+ "navigationBarTitleText": "妯″叿棰嗘枡鍑哄簱鍗�"
+ }
+ },
+ {
+ "path": "pages/MJGL/mujulingliaochukudan/MouldProdOutBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿棰嗘枡鍑哄簱鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/mujulingliaotuikudan/Sc_MouldProdBackBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿棰嗘枡閫�搴撳崟",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/mujulingliaotuikudan/Sc_MouldProdBackBill",
+ "style": {
+ "navigationBarTitleText": "妯″叿棰嗘枡閫�搴撳崟"
+ }
+ },
+ {
+ "path": "pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿璋冩嫧鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBill",
+ "style": {
+ "navigationBarTitleText": "妯″叿璋冩嫧鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/fenbushidiaorudan/form_test",
+ "style": {
+ "navigationBarTitleText": "鍒嗘璋冨叆鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/fenbushidiaorudan/table",
+ "style": {
+ "navigationBarTitleText": "鍒嗘璋冨叆鍗曠紦瀛�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/fenbushidiaochudan/form_out",
+ "style": {
+ "navigationBarTitleText": "鍒嗘璋冨嚭鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weixiujilu/mouldRepairRecordBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿缁翠慨璁板綍",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/weixiujilu/mouldRepairRecordBill",
+ "style": {
+ "navigationBarTitleText": "妯″叿缁翠慨璁板綍鍗�"
+ }
+ },
+ {
+ "path": "pages/qijvguzhangdengji/mouldMistake",
+ "style": {
+ "navigationBarTitleText": "妯″叿鏁呴殰鐧昏"
+
+ }
+ },
+ {
+ "path": "pages/qijvguzhangdengji/mouldMistakeBill",
+ "style": {
+ "navigationBarTitleText": "妯″叿鏁呴殰鐧昏鍗�"
+ }
+ },
+ {
+ "path": "pages/chaixiang/form",
+ "style": {
+ "navigationBarTitleText": "鎷嗙"
+ }
+ },
+ {
+ "path": "pages/zhuangxiang/form_mix",
+ "style": {
+ "navigationBarTitleText": "瑁呯"
+ }
+ },
+ {
+ "path": "pages/zutuo_xiaowei/form_xiaowei",
+ "style": {
+ "navigationBarTitleText": "缁勬墭-灏忓崼"
+ }
+ },
+ {
+ "path": "pages/zhuangxiangdan/table",
+ "style": {
+ "navigationBarTitleText": "瑁呯鍗曠紦瀛�"
+ }
+ },
+ {
+ "path": "pages/zhuangxiangdan/form",
+ "style": {
+ "navigationBarTitleText": "瑁呯鍗�"
+ }
+ },
+ {
+ "path": "pages/ZLGL/xunjianjianyan/PatrolProcCheckBillList",
+ "style": {
+ "navigationBarTitleText": "宸℃鍗曠紦瀛�"
+ }
+ },
+ {
+ "path": "pages/ZLGL/xunjianjianyan/PatrolProcCheckBill",
+ "style": {
+ "navigationBarTitleText": "宸℃鍗�"
+ }
+ },
+ {
+ "path": "pages/ZLGL/mojianjianyan/lastPieceCheckBillList",
+ "style": {
+ "navigationBarTitleText": "鏈欢妫�楠屽崟缁存姢"
+ }
+ },
+ {
+ "path": "pages/ZLGL/lailiaojianyan/POStockInCheckBill",
+ "style": {
+ "navigationBarTitleText": "鏉ユ枡妫�楠屽崟"
+ }
+ },
+ {
+ "path": "pages/ZLGL/lailiaojianyan/POStockInCheckBillList",
+ "style": {
+ "navigationBarTitleText": "鏉ユ枡妫�楠屽崟缁存姢"
+ }
+ },
+ {
+ "path": "pages/ZLGL/mojianjianyan/lastPieceCheckBill",
+ "style": {
+ "navigationBarTitleText": "鏈欢妫�楠屽崟"
+ }
+ },
+ {
+ "path": "pages/chaituosaoma-xiaowei/UnpackPallet",
+ "style": {
+ "navigationBarTitleText": "鎷嗘墭鎵爜锛堝皬鍗級"
+ }
+ },
+ {
+ "path": "pages/sanmaheyi/BarCodeCheck",
+ "style": {
+ "navigationBarTitleText": "涓夌爜鍚堜竴"
+ }
+ },
+ {
+ "path": "pages/simaheyi/BarCodeCheck_SN",
+ "style": {
+ "navigationBarTitleText": "鍥涚爜鍚堜竴"
+ }
+ },
+ {
+ "path": "pages/ZLGL/shengchanrukujiaoyan/QC_LastPieceCheckBill_v2",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇鍏ュ簱鏍¢獙"
+ }
+ },
+ {
+ "path": "pages/ZLGL/chuchangjiaoyandan/QC_OutCompCheckBill",
+ "style": {
+ "navigationBarTitleText": "鍑哄巶鏍¢獙"
+ }
+ },
+ {
+ "path": "pages/weiwaigxIn/Cj_StationEntrustInBill",
+ "style": {
+ "navigationBarTitleText": "宸ュ簭濮斿鍙戝嚭鍗�"
+ }
+ },
+ {
+ "path": "pages/weiwaigxIn/Cj_StationEntrustInBillList",
+ "style": {
+ "navigationBarTitleText": "宸ュ簭濮斿鍙戝嚭鍗曠紦瀛�"
+ }
+ },
+ {
+ "path": "pages/weiwaigxOut/Cj_StationEntrustOutBill",
+ "style": {
+ "navigationBarTitleText": "宸ュ簭濮斿鎺ユ敹鍗�"
+ }
+ },
+ {
+ "path": "pages/weiwaigxOut/Cj_StationEntrustOutBillList",
+ "style": {
+ "navigationBarTitleText": "宸ュ簭濮斿鎺ユ敹鍗曠紦瀛�"
+ }
+ },
+ {
+ "path": "pages/jishikucunchaxun/table",
+ "style": {
+ "navigationBarTitleText": "鍗虫椂搴撳瓨鏌ヨ"
+ }
+ },
+ {
+ "path": "pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast",
+ "style": {
+ "navigationBarTitleText": "鏉ユ枡妫�楠屽崟"
+ }
+ },
+ {
+ "path": "pages/ZLGL/checkFlowList/QC_CheckBillflowList",
+ "style": {
+ "navigationBarTitleText": "寰呮垜瀹℃牳",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/ZLGL/checkFlowList/QC_CheckedBillflowList",
+ "style": {
+ "navigationBarTitleText": "宸插鏍�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/MJGL/Gy_MouldFile/Gy_MouldFileList",
+ "style": {
+ "navigationBarTitleText": "妯″叿妗f鏌ヨ",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/ZLGL/QualityReportStep/QualityReportStepBill",
+ "style": {
+ "navigationBarTitleText": "鍏ㄦ妫�楠屽崟(涓嶈壇姹囨姤)",
"pageOrientation": "auto" // 鏀寔妯睆
- }
- },
- {
- "path" : "pages/ZLGL/QualityReportStep/QualityReportStepBillList",
- "style" :
- {
- "navigationBarTitleText" : "鍏ㄦ妫�楠屽崟(涓嶈壇姹囨姤)鏌ヨ"
- }
- },
- {
- "path": "pages/MJGL/MouldScrapOutBill/MouldScrapOutBillList",
- "style": {
- "navigationBarTitleText": "妯″叿鎶ュ簾鍑哄簱鍗曞垪琛�"
- }
- },
- {
- "path": "pages/MJGL/MouldScrapOutBill/MouldScrapOutBill",
- "style": {
- "navigationBarTitleText": "妯″叿鎶ュ簾鍑哄簱鍗�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/ZLGL/WorkSelfCheckBill/WorkSelfCheckBill",
- "style": {
- "navigationBarTitleText": "杞﹂棿鑷鍗�"
- }
- },
- {
- "path": "pages/ZLGL/WorkSelfCheckBill/WorkSelfCheckBillList",
- "style": {
- "navigationBarTitleText": "杞﹂棿鑷鍗曞垪琛�",
- "enablePullDownRefresh": true
- }
- },
- {
- "path" : "pages/ZLGL/zaikujianyandan/InStockCheckBill",
- "style" :
- {
- "navigationBarTitleText" : "鍦ㄥ簱妫�楠屽崟"
- }
- },
- {
- "path" : "pages/MJGL/Sb_EquipMaintainBill/Sb_EquipMaintainBill",
- "style" :
- {
- "navigationBarTitleText" : "璁惧淇濆吇璁板綍鍗�"
- }
- },
- {
- "path" : "pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBill",
- "style" :
- {
- "navigationBarTitleText" : "璁惧鐐规璁板綍鍗�"
- }
- },
- {
- "path" : "pages/ZLGL/zaikujianyandan/InStockCheckBillList",
- "style" :
- {
- "navigationBarTitleText" : "鍦ㄥ簱妫�楠屽崟鍒楄〃"
- }
- },
- {
- "path" : "pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBillList",
- "style" :
- {
- "navigationBarTitleText" : "璁惧鐐规璁板綍鍗曠紦瀛�"
- }
- },
- {
- "path" : "pages/MJGL/Sb_EquipMaintainBill/Sb_EquipMaintainBillList",
- "style" :
- {
- "navigationBarTitleText" : "璁惧淇濆吇璁板綍鍗曠紦瀛�"
- }
- },
- {
- "path" : "pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBill",
- "style" :
- {
- "navigationBarTitleText" : "璁惧缁翠慨楠屾敹鍗�"
- }
- },
- {
- "path" : "pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBillList",
- "style" :
- {
- "navigationBarTitleText" : "璁惧缁翠慨楠屾敹鍗曠紦瀛�"
- }
- }
-
- ],
- "tabBar": {
- "color": "#888888", //tab 涓婄殑鏂囧瓧榛樿棰滆壊锛屼粎鏀寔鍗佸叚杩涘埗棰滆壊
- "selectedColor": "#2d7dee", //tab 涓婄殑鏂囧瓧閫変腑鏃剁殑棰滆壊锛屼粎鏀寔鍗佸叚杩涘埗棰滆壊
- "borderStyle": "black", //tabbar涓婅竟妗嗙殑棰滆壊锛� 浠呮敮鎸� black / white
- "backgroundColor": "#ffffff", //tab 鐨勮儗鏅壊锛屼粎鏀寔鍗佸叚杩涘埗棰滆壊
- "list": [{
- "pagePath": "pages/index/index",
- "iconPath": "static/tabBar/home.png",
- "selectedIconPath": "static/tabBar/home-default.png",
- "text": "浠撳偍绠$悊"
- },
- {
- "pagePath": "pages/index/tab1",
- "iconPath": "static/tabBar/icon1.png",
- "selectedIconPath": "static/tabBar/icon1-default.png",
- "text": "杞﹂棿绠$悊"
- },
- {
- "pagePath": "pages/index/tab3",
- "iconPath": "static/tabBar/icon4.png",
- "selectedIconPath": "static/tabBar/icon4-default.png",
- "text": "璁惧绠$悊"
+ }
+ },
+ {
+ "path": "pages/ZLGL/QualityReportStep/QualityReportStepBillList",
+ "style": {
+ "navigationBarTitleText": "鍏ㄦ妫�楠屽崟(涓嶈壇姹囨姤)鏌ヨ"
+ }
+ },
+ {
+ "path": "pages/MJGL/MouldScrapOutBill/MouldScrapOutBillList",
+ "style": {
+ "navigationBarTitleText": "妯″叿鎶ュ簾鍑哄簱鍗曞垪琛�"
+ }
+ },
+ {
+ "path": "pages/MJGL/MouldScrapOutBill/MouldScrapOutBill",
+ "style": {
+ "navigationBarTitleText": "妯″叿鎶ュ簾鍑哄簱鍗�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/ZLGL/WorkSelfCheckBill/WorkSelfCheckBill",
+ "style": {
+ "navigationBarTitleText": "杞﹂棿鑷鍗�"
+ }
+ },
+ {
+ "path": "pages/ZLGL/WorkSelfCheckBill/WorkSelfCheckBillList",
+ "style": {
+ "navigationBarTitleText": "杞﹂棿鑷鍗曞垪琛�",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/ZLGL/zaikujianyandan/InStockCheckBill",
+ "style": {
+ "navigationBarTitleText": "鍦ㄥ簱妫�楠屽崟"
+ }
+ },
+ {
+ "path": "pages/MJGL/Sb_EquipMaintainBill/Sb_EquipMaintainBill",
+ "style": {
+ "navigationBarTitleText": "璁惧淇濆吇璁板綍鍗�"
+ }
+ },
+ {
+ "path": "pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBill",
+ "style": {
+ "navigationBarTitleText": "璁惧鐐规璁板綍鍗�"
+ }
+ },
+ {
+ "path": "pages/ZLGL/zaikujianyandan/InStockCheckBillList",
+ "style": {
+ "navigationBarTitleText": "鍦ㄥ簱妫�楠屽崟鍒楄〃"
+ }
+ },
+ {
+ "path": "pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBillList",
+ "style": {
+ "navigationBarTitleText": "璁惧鐐规璁板綍鍗曠紦瀛�"
+ }
+ },
+ {
+ "path": "pages/MJGL/Sb_EquipMaintainBill/Sb_EquipMaintainBillList",
+ "style": {
+ "navigationBarTitleText": "璁惧淇濆吇璁板綍鍗曠紦瀛�"
+ }
+ },
+ {
+ "path": "pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBill",
+ "style": {
+ "navigationBarTitleText": "璁惧缁翠慨楠屾敹鍗�"
+ }
+ },
+ {
+ "path": "pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBillList",
+ "style": {
+ "navigationBarTitleText": "璁惧缁翠慨楠屾敹鍗曠紦瀛�"
+ }
+ }
+
+ ],
+ "tabBar": {
+ "color": "#888888", //tab 涓婄殑鏂囧瓧榛樿棰滆壊锛屼粎鏀寔鍗佸叚杩涘埗棰滆壊
+ "selectedColor": "#2d7dee", //tab 涓婄殑鏂囧瓧閫変腑鏃剁殑棰滆壊锛屼粎鏀寔鍗佸叚杩涘埗棰滆壊
+ "borderStyle": "black", //tabbar涓婅竟妗嗙殑棰滆壊锛� 浠呮敮鎸� black / white
+ "backgroundColor": "#ffffff", //tab 鐨勮儗鏅壊锛屼粎鏀寔鍗佸叚杩涘埗棰滆壊
+ "list": [{
+ "pagePath": "pages/index/index",
+ "iconPath": "static/tabBar/home.png",
+ "selectedIconPath": "static/tabBar/home-default.png",
+ "text": "浠撳偍绠$悊"
},
{
- "pagePath": "pages/index/tab4",
- "iconPath": "static/tabBar/icon3.png",
- "selectedIconPath": "static/tabBar/icon3-default.png",
- "text": "璐ㄩ噺绠$悊"
+ "pagePath": "pages/index/tab1",
+ "iconPath": "static/tabBar/icon1.png",
+ "selectedIconPath": "static/tabBar/icon1-default.png",
+ "text": "杞﹂棿绠$悊"
},
{
- "pagePath": "pages/index/tab2",
- "iconPath": "static/tabBar/icon2.png",
- "selectedIconPath": "static/tabBar/icon2-default.png",
- "text": "鍗曟嵁鍒楄〃"
+ "pagePath": "pages/index/tab3",
+ "iconPath": "static/tabBar/icon4.png",
+ "selectedIconPath": "static/tabBar/icon4-default.png",
+ "text": "璁惧绠$悊"
},
- {
- "pagePath": "pages/index/mine",
- "iconPath": "static/tabBar/user.png",
- "selectedIconPath": "static/tabBar/user-default.png",
- "text": "鎴戠殑"
- }
- ]
- },
- "globalStyle": {
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "璁惧绠$悊",
- "navigationBarBackgroundColor": "#3A78FF",
- "backgroundColor": "#F8F8F8",
- "pageOrientation": "default"
- },
- "uniIdRouter": {},
- "condition": { //妯″紡閰嶇疆锛屼粎寮�鍙戞湡闂寸敓鏁�
- "current": 0, //褰撳墠婵�娲荤殑妯″紡(list 鐨勭储寮曢」)
- "list": [{
- "name": "", //妯″紡鍚嶇О
- "path": "", //鍚姩椤甸潰锛屽繀閫�
- "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌
- }]
- }
+ {
+ "pagePath": "pages/index/tab4",
+ "iconPath": "static/tabBar/icon3.png",
+ "selectedIconPath": "static/tabBar/icon3-default.png",
+ "text": "璐ㄩ噺绠$悊"
+ },
+ {
+ "pagePath": "pages/index/tab2",
+ "iconPath": "static/tabBar/icon2.png",
+ "selectedIconPath": "static/tabBar/icon2-default.png",
+ "text": "鍗曟嵁鍒楄〃"
+ },
+ {
+ "pagePath": "pages/index/mine",
+ "iconPath": "static/tabBar/user.png",
+ "selectedIconPath": "static/tabBar/user-default.png",
+ "text": "鎴戠殑"
+ }
+ ]
+ },
+ "globalStyle": {
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "璁惧绠$悊",
+ "navigationBarBackgroundColor": "#3A78FF",
+ "backgroundColor": "#F8F8F8",
+ "pageOrientation": "default"
+ },
+ "uniIdRouter": {},
+ "condition": { //妯″紡閰嶇疆锛屼粎寮�鍙戞湡闂寸敓鏁�
+ "current": 0, //褰撳墠婵�娲荤殑妯″紡(list 鐨勭储寮曢」)
+ "list": [{
+ "name": "", //妯″紡鍚嶇О
+ "path": "", //鍚姩椤甸潰锛屽繀閫�
+ "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌
+ }]
+ }
}
\ No newline at end of file
diff --git a/pages/MJGL/mujubaoyangjiludan/MouldMaintainBill.vue b/pages/MJGL/mujubaoyangjiludan/MouldMaintainBill.vue
deleted file mode 100644
index 39935b7..0000000
--- a/pages/MJGL/mujubaoyangjiludan/MouldMaintainBill.vue
+++ /dev/null
@@ -1,772 +0,0 @@
-<template>
- <view>
- <view class="form">
- <view class="form-item">
- <view class="title">鍗曟嵁鍙�:</view>
- <view class="righton">
- <input name="HBillNo" v-model="hform.HBillNo" disabled placeholder="璇疯緭鍏ュ崟鎹彿" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">鏃ユ湡:</view>
- <view class="righton">
- <input name="HDate" disabled v-model="hform.HDate" placeholder="璇烽�夋嫨鏃ユ湡" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">鍐呴儴鍗曟嵁鍙�:</view>
- <view class="right">
- <input name="HInnerBillNo" v-model="hform.HInnerBillNo" placeholder="璇疯緭鍏ュ唴閮ㄥ崟鎹彿" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">妯″叿缂栫爜:</view>
- <view class="righton">
- <input name="HMouldNumber" disabled v-model="hform.HMouldNumber" placeholder="璇疯緭鍏ユā鍏风紪鐮�" />
- </view>
- </view>
- <view class="form-item">
- <view class="title"><text>*</text>妯″叿:</view>
- <view class="right" style="width: 380rpx;">
- <input name="HMouldName" v-model="hform.HMouldName" @blur="getHBarCodeData(hform.HMouldName)"
- placeholder="璇锋壂鎻忔ā鍏锋潯鐮�" />
- </view>
- <uni-icons type="scan"
- style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;font-weight: 500;"
- size="20" @click="toScanCode"></uni-icons>
- </view>
-
-
- <view class="tab_area"></view>
-
- <view class="form-item">
- <view class="title">淇濆吇寮�濮�:</view>
- <view class="right">
- <picker mode="date" v-model="hform.HBeginDate" @change="HBeginDateChange">
- <view class="picker-overlay"></view>
- <input name="HBeginDate" disabled v-model="hform.HBeginDate" placeholder="璇烽�夋嫨淇濆吇寮�濮嬫棩鏈�" />
- </picker>
- </view>
- </view>
- <view class="form-item">
- <view class="title">淇濆吇缁撴潫:</view>
- <view class="right">
- <picker mode="date" v-model="hform.HEndDate" @change="HEndDateChange">
- <view class="picker-overlay"></view>
- <input name="HEndDate" disabled v-model="hform.HEndDate" placeholder="璇烽�夋嫨淇濆吇缁撴潫鏃ユ湡" />
- </picker>
- </view>
- </view>
- <view class="form-item">
- <view class="title">淇濆吇璁″垝缂栧彿:</view>
- <view class="right" style="width: 380rpx;" @tap="showPlan=true">
- <input name="HPlanName" disabled v-model="hform.HPlanName" placeholder="璇烽�夋嫨淇濆吇璁″垝缂栧彿" />
- </view>
- <uni-icons type="list"
- style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;font-weight: 500;"
- size="20" @click="showPlan=true"></uni-icons>
- </view>
- <view class="form-item">
- <view class="title"><text>*</text>妯″叿淇濆吇瑙勭▼:</view>
- <view class="right">
- <uni-combox :candidates="arrayHMouldMaintainRuleInterNo" placeholder="璇烽�夋嫨妯″叿淇濆吇瑙勭▼"
- v-model="hform.HMouldMaintainRuleInterNo" @input="HMouldMaintainRuleInterNoChange"></uni-combox>
- </view>
- </view>
- <view class="form-item">
- <view class="title"><text>*</text>妯″叿淇濆吇绾у埆:</view>
- <view class="right">
- <uni-combox :candidates="arrayHMaintainLev" placeholder="璇烽�夋嫨妯″叿淇濆吇绾у埆" v-model="hform.HMaintainLevName"
- @input="HMaintainLevChange"></uni-combox>
- </view>
- </view>
- <view class="form-item">
- <view class="title"><text>*</text>缁撴灉鍒ゅ畾:</view>
- <view class="right" style="display: flex; align-items: center; padding: 0 20rpx; border: none;">
- <view style="display: flex; align-items: center;">
- <checkbox-group @change="onLastResultChange">
- <checkbox :value="'true'" :checked="hform.HLastResult"></checkbox>
- </checkbox-group>
- <text style="margin-left: 10rpx;">鍚堟牸</text>
-
- </view>
- </view>
- </view>
-
- <view class="tab_area"></view>
-
- <view class="form-item" style="align-items: flex-start;">
- <view class="title">鎽樿:</view>
- <view class="right" style="min-height: 150rpx;">
- <textarea name="HExplanation" v-model="hform.HExplanation" auto-height maxlength="-1"
- placeholder="璇疯緭鍏ユ憳瑕�"></textarea>
- </view>
- </view>
-
- <view class="tab_area"></view>
-
- <view class="form-item" style="align-items: flex-start;">
- <view class="title">澶囨敞:</view>
- <view class="right" style="min-height: 150rpx;">
- <textarea name="HRemark" v-model="hform.HRemark" auto-height maxlength="-1"
- placeholder="璇疯緭鍏ュ娉�"></textarea>
- </view>
- </view>
-
- <view class="tab_area"></view>
-
- <view v-if="showmore">
- <view class="form-item">
- <view class="title">鍒跺崟浜�:</view>
- <view class="righton">
- <input v-model="hform.HMaker" disabled />
- </view>
- </view>
- <view class="form-item">
- <view class="title">鍒跺崟鏃ユ湡:</view>
- <view class="righton">
- <input v-if="hform.HMakeDate" v-model="hform.HMakeDate.substr(0,10)" disabled />
- <input v-else v-model="hform.HMakeDate" disabled />
- </view>
- </view>
- <view class="form-item">
- <view class="title">淇敼浜�:</view>
- <view class="righton">
- <input v-model="hform.HUpDater" disabled />
- </view>
- </view>
- <view class="form-item">
- <view class="title">淇敼鏃ユ湡:</view>
- <view class="righton">
- <input v-if="hform.HUpDateDate" v-model="hform.HUpDateDate.substr(0,10)" disabled />
- <input v-else v-model="hform.HUpDateDate" disabled />
- </view>
- </view>
- <view class="form-item">
- <view class="title">瀹℃牳浜�:</view>
- <view class="righton">
- <input v-model="hform.HChecker" disabled />
- </view>
- </view>
- <view class="form-item">
- <view class="title">瀹℃牳鏃ユ湡:</view>
- <view class="righton">
- <input v-if="hform.HCheckDate" v-model="hform.HCheckDate.substr(0,10)" disabled />
- <input v-else v-model="hform.HCheckDate" disabled />
- </view>
- </view>
- </view>
- <view class="other">
- <view v-if="!showmore" @tap="showmore = true">
- 灞曞紑鍏朵粬淇℃伅<uni-icons color="#1890FF" style="margin-left: 8rpx;" type="bottom"></uni-icons>
- </view>
- <view v-if="showmore" @tap="showmore = false">
- 鎶樺彔鍏朵粬淇℃伅<uni-icons color="#1890FF" style="margin-left: 8rpx;" type="top"></uni-icons>
- </view>
- </view>
- <view class="form-item">
- <view class="tip"><text>*</text>娉�: 璇风偣鍑讳笅鏂圭豢鑹叉柊澧炴寜閽坊鍔犱繚鍏婚」淇℃伅锛堝繀濉級</view>
- </view>
-
- <view class="bottom-btn">
- <button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
- <button class="btn-b" size="mini" @tap="showMask = true">鏂板</button>
- <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
- </view>
- </view>
-
- <plan @planData="getPlanData" @close="closeMask" v-if="showPlan"></plan>
- <formDetail :form1List='form1List' @hformList='hformList' v-if="showMask"></formDetail>
- </view>
-</template>
-<script>
- import getDateTime from '@/utils/getdateTime.js';
- import plan from './plan.vue';
- import formDetail from './formDetail.vue';
- import {
- getUserInfo
- } from '../../../utils/auth'
- export default {
- components: {
- plan,
- formDetail
- },
- data() {
- return {
- serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
- arrayHMouldName: [],
- showPlan: false,
- showmore: false,
- arrayHMouldMaintainRuleInterNo: [], //瑙勭▼
- HMouldMaintainRuleInterNoList: [],
- arrayHMaintainLev: [], //绾у埆
- HMaintainLevList: [],
- hform: {
- HInterID: 0,
- HBillNo: '',
- HDate: getDateTime.dateTimeStr('y-m-d'),
- HInnerBillNo: '',
- HMouldID: '',
- HMouldName: '',
- HMouldNumber: '',
- HQty: 0,
- HLastResult: 'true',
- HPlanNo: '',
- HPlanInterID: '',
- HMouldMaintainPlanInterID: '',
- HMouldMaintainPlanEntryID: '1',
- HMainSourceInterID: '',
- HMainSourceEntryID: '0',
- HMainSourceBillNo: '',
- HMaintainLevID: '',
- HMaintainLevName: '',
- HBeginDate: '',
- HEndDate: '',
- HMouldMaintainRuleInterID: '',
- HMouldMaintainRuleInterNo: '',
- HExplanation: '',
- HRemark: '',
- HMaker: getUserInfo().Czymc,
- HMakeDate: '',
- HUpDater: '',
- HUpDateDate: '',
- HChecker: '',
- HCheckDate: '',
- HCloseMan: '',
- HCloseDate: '',
- HDeleteMan: '',
- HDeleteDate: '',
- },
-
- showMask: false,
- form1List: [],
- form2List: [],
- }
- },
- onLoad(e) {
- this.getHMouldMaintainRuleInterList()
- this.getHMaintainLevList()
- if (e.hmainid) {
- this.getEditData(e.hmainid)
- } else {
- this.getNewData()
- }
-
- },
- methods: {
- //鐩戝惉澶嶉�夋
- onLastResultChange(e) {
- // 閫氳繃 value 鍒ゆ柇鐘舵��
- this.hform.HLastResult = e.detail.value.includes('true');
- },
- //鎵爜
- toScanCode() {
- var mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module")
- mpaasScanModule.mpaasScan({
- 'hideAlbum': true,
- 'timeoutInterval': '10', //瓒呮椂鏃堕棿
- 'timeoutText': '鏈瘑鍒埌浜岀淮鐮�' //瓒呮椂鎻愰啋
- }, (ret) => {
- console.log(ret.resp_result)
- this.hform.HMouldName = ret.resp_result
- this.getHBarCodeData(ret.resp_result)
- })
- },
- getHBarCodeData(HBarCode) {
- uni.request({
- url: this.serverUrl + '/QJ_PDA_MouldDotCheckBill/txtHBarCode_KeyDown',
- data: {
- HBarCode: this.hform.HMouldName
- },
- success: (res) => {
- console.log(res.data);
- if (res.data.count == 1) {
- var data = res.data.data[0]
- this.hform.HMouldID = data.HInterID
- this.hform.HMouldName = data.HName
- this.hform.HMouldNumber = data.HMouldNo
- }
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- },
- //淇濆吇寮�濮嬮�夋嫨
- HBeginDateChange(e) {
- console.log(e.detail.value)
- this.hform.HBeginDate = e.detail.value
- },
- //淇濆吇缁撴潫閫夋嫨
- HEndDateChange(e) {
- console.log(e.detail.value)
- this.hform.HEndDate = e.detail.value
- },
-
- //閫夋嫨淇濆吇璁″垝缂栧彿
- getPlanData(e) {
- console.log(e)
- this.hform.HPlanNo = e.HPlanName
- this.hform.HPlanName = e.HPlanName
- this.hform.HPlanInterID = e.HInterID
- this.hform.HMouldMaintainPlanInterID = e.HInterID
- this.hform.HMainSourceInterID = e.HInterID
- this.hform.HMainSourceBillNo = e.HPlanName
- this.showPlan = false
- //瀛愯〃
- uni.request({
- url: this.serverUrl + '/Sb_EquipMaintainPlanBill/Sb_EquipMaintainPlanBillListProjectDetaiNew',
- data: {
- HInterID: e.HPlanNo
- },
- success: (res) => {
- if (res.data.count == 1) {
- this.form1List = res.data.list[0];
- console.log(2, res.data.list[0]);
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- },
- closeMask(e) {
- this.showPlan = false
- },
- //鑾峰彇妯″叿淇濆吇绾у埆
- getHMaintainLevList() {
- uni.request({
- url: this.serverUrl + '/Gy_BadReason/Gy_MaintainLevList',
- data: {
- sWhere: '',
- user: uni.getStorageSync('HUserName')
- },
- success: (res) => {
- if (res.data.count == 1) {
- this.arrayHMaintainLevList = res.data.data
- for (var i = 0; i < res.data.data.length; i++) {
- this.arrayHMaintainLev[i] = res.data.data[i].淇濆吇绾у埆鍚嶇О
- }
- this.$forceUpdate();
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- },
- // 閫夋嫨妯″叿淇濆吇绾у埆
- HMaintainLevChange(e) {
- for (var i = 0; i < this.arrayHMaintainLevList.length; i++) {
- if (this.arrayHMaintainLevList[i].淇濆吇绾у埆鍚嶇О == e) {
- this.hform.HMaintainLevID = this.arrayHMaintainLevList[i].HItemID;
- this.hform.HMaintainLevName = this.arrayHMaintainLevList[i].淇濆吇绾у埆鍚嶇О;
- }
- }
- },
- //鑾峰彇妯″叿淇濆吇瑙勭▼鍒楄〃鏁版嵁
- getHMouldMaintainRuleInterList() {
- uni.request({
- url: this.serverUrl + '/Sc_MouldMaintainRuleBill/GetMouldMaintainRuleList',
- data: {
- sWhere: '',
- user: uni.getStorageSync('HUserName')
- },
- success: (res) => {
- if (res.data.count == 1) {
- this.HMouldMaintainRuleInterNoList = res.data.data
- for (var i = 0; i < res.data.data.length; i++) {
- this.arrayHMouldMaintainRuleInterNo[i] = res.data.data[i].鍗曟嵁鍙�
- }
- this.$forceUpdate();
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- },
- //閫夋嫨妯″叿淇濆吇瑙勭▼
- HMouldMaintainRuleInterNoChange(e) {
- for (var i = 0; i < this.HMouldMaintainRuleInterNoList.length; i++) {
- if (this.HMouldMaintainRuleInterNoList[i].鍗曟嵁鍙� == e) {
- this.hform.HMouldMaintainRuleInterID = this.HMouldMaintainRuleInterNoList[i].hmainid
- this.hform.HMouldMaintainRuleInterNo = this.HMouldMaintainRuleInterNoList[i].鍗曟嵁鍙�
- //瀛愯〃
- uni.request({
- url: this.serverUrl +
- '/Sc_MouldMaintainRuleBill/GetMouldRuleSubList-Detail',
- data: {
- HInterID: this.hform.HMouldMaintainRuleInterID,
- HBillType: '3819'
- },
- success: (res) => {
- if (res.data.count == 1) {
- this.form1List = res.data.list[0];
- console.log(2, res.data.list[0]);
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- }
- }
- },
-
- hformList(e) {
- console.log(e)
- this.form1List = e
- this.showMask = false
- },
-
- //缂栬緫
- getEditData(hmainid) {
- //涓昏〃
- uni.request({
- url: this.serverUrl + '/Sc_MouldMaintainBill/Sc_MouldMaintainBillListCheckDetai',
- data: {
- HID: hmainid
- },
- success: (res) => {
- console.log(1, res.data.data.h_v_Sc_MouldMaintain);
- if (res.data.code == 1) {
- var data = res.data.data.h_v_Sc_MouldMaintain[0]
- this.hform = {
- HInterID: hmainid,
- HBillNo: data.鍗曟嵁鍙�,
- HDate: data.鏃ユ湡.substr(0, 10),
- HInnerBillNo: data.鍐呴儴鍗曟嵁鍙�,
- HMouldID: data.HMouldID,
- HMouldNumber: data.浜у搧妯″叿缂栧彿,
- HMouldName: data.浜у搧妯″叿,
- HPlanNo: data.淇濆吇璁″垝缂栧彿,
- HPlanName: data.淇濆吇璁″垝缂栧彿,
- HPlanInterID: data.淇濆吇璁″垝鍐呯爜,
- HBeginDate: data.淇濆吇寮�濮嬫棩鏈�.substr(0, 10),
- HEndDate: data.淇濆吇缁撴潫鏃ユ湡.substr(0, 10),
- HMouldMaintainRuleInterID: data.HMouldMaintainRuleInterID,
- HMouldMaintainRuleInterNo: data.鍣ㄥ叿淇濆吇瑙勭▼,
- HMaintainLevID: data.HMaintainLevID,
- HMaintainLevName: data.淇濆吇绾у埆鍚嶇О,
- HExplanation: data.鎽樿,
- HRemark: data.琛ㄥご澶囨敞,
- HLastResult: data.鏈�缁堢粨璁� === '鍚堟牸',
-
- HMaker: data.鍒跺崟浜�,
- HMakeDate: data.鍒跺崟鏃ユ湡,
- HUpDater: data.淇敼浜�,
- HUpDateDate: data.淇敼鏃ユ湡,
- HChecker: data.瀹℃牳浜�,
- HCheckDate: data.瀹℃牳鏃ユ湡,
- HDeleteMan: data.浣滃簾浜�,
- HDeleteDate: data.浣滃簾鏃ユ湡,
- }
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- //瀛愯〃
- uni.request({
- url: this.serverUrl + '/Sc_MouldMaintainBill/Sc_MouldMaintainBillListProjectDetaiNew',
- data: {
- HInterID: hmainid
- },
- success: (res) => {
- if (res.data.count == 1) {
- this.form1List = res.data.list[0];
- console.log(2, res.data.list[0]);
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- },
- //鏂板
- getNewData() {
- uni.request({
- url: this.serverUrl + '/Web/GetMAXNum',
- data: {
- HBillType: '3819'
- },
- success: (res) => {
- console.log(res.data)
- if (res.data.count == 1) {
- this.hform.HInterID = 0
- this.hform.HBillNo = res.data.data[0].HBillNo
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- },
-
- submit() {
- if (!this.hform.HDate) {
- uni.showToast({
- title: '璇烽�夋嫨鏃ユ湡',
- icon: 'none'
- })
- } else if (!this.hform.HMouldID) {
- uni.showToast({
- title: '璇烽�夋嫨妯″叿',
- icon: 'none'
- })
- } else if (!this.hform.HBeginDate) {
- uni.showToast({
- title: '璇烽�夋嫨淇濆吇寮�濮嬫棩鏈�',
- icon: 'none'
- })
- } else if (!this.hform.HEndDate) {
- uni.showToast({
- title: '璇烽�夋嫨淇濆吇缁撴潫鏃ユ湡',
- icon: 'none'
- })
- } else if (!this.hform.HMouldMaintainRuleInterID) {
- uni.showToast({
- title: '璇烽�夋嫨妯″叿淇濆吇瑙勭▼',
- icon: 'none'
- })
- } else if (this.form1List.length == 0) {
- uni.showToast({
- title: '璇锋柊澧炰繚鍏婚」淇℃伅锛屼繚鍏婚」涓嶅彲涓虹┖',
- icon: 'none'
- })
- } else {
- uni.showLoading({
- title: '璇风◢鍊�'
- })
- var sMainStr = JSON.stringify(this.hform);
- var sSubStr = JSON.stringify(this.form1List);
- this.form2List = [{
- HManagerID: 0,
- HManagerName: '',
- HManagerNumber: '',
- HMaterID: 0,
- HMaterName: '',
- HMaterNumber: '',
- HQty: 0,
- HQtyMust: 0,
- HRemark: "",
- HUnitID: 0,
- HUnitName: '',
- HUnitNumber: '',
- }]
- var sSubStr1 = JSON.stringify(this.form2List);
- //PDA鐩墠鍙兘鏀寔涓�涓瓙琛�
- //var sMainSub = sMainStr + ';' + sSubStr + ";" + sSubStr1 + ";" + uni.getStorageSync('HUserName');
- var sMainSub = sMainStr + ';' + sSubStr + ";" + uni.getStorageSync('HUserName');
- console.log(sMainSub);
- uni.request({
- url: this.serverUrl + '/Sc_MouldMaintainBill/SaveGetMouldMaintainBillListPDA',
- method: 'POST',
- dataType: "json",
- data: {
- msg: sMainSub
- },
- success: (res) => {
- console.log(1, res);
- uni.hideLoading()
- if (res.data.count == 1) {
-
- }
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- }
- },
- goBack() {
- uni.navigateBack()
- }
- }
- }
-</script>
-
-<style lang="scss" scoped>
- .form {
- width: 668rpx;
- margin: 20rpx auto;
- padding-bottom: 240rpx;
- }
-
- .tab_area {
- width: 100%;
- height: 50rpx;
- }
-
- .form-item {
- display: flex;
- align-items: center;
- font-size: 30rpx;
- padding: 6rpx 0;
-
- .title {
- width: 208rpx;
- }
-
- .right {
- width: 450rpx;
- border-radius: 22rpx;
- border: 1px solid #acacac;
- }
-
- .righton {
- width: 450rpx;
- border-radius: 22rpx;
- border: 1px solid #e4e4e4;
- background-color: #e4e4e4;
- }
-
- text {
- color: red;
- font-weight: bold;
- }
-
- input {
- width: 100%;
- padding: 8rpx 20rpx;
- font-size: 30rpx;
- }
-
- textarea {
- width: 98%;
- padding: 8rpx 20rpx;
- font-size: 30rpx;
- }
-
- .tip {
- color: #da9100;
- margin-top: 20rpx;
- }
- }
-
- .other {
- margin-top: 8rpx;
- text-align: center;
- font-size: 28rpx;
- padding: 4rpx 18rpx;
- color: #1890FF;
- }
-
- .bottom-btn {
- width: 100%;
- // height: 120rpx;
- position: fixed;
- bottom: 0;
- left: 0;
- background-color: #fff;
- box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.4);
- padding: 30rpx 40rpx 40rpx 40rpx;
-
- button {
- border-radius: 50rpx;
- width: 180rpx;
- height: 66rpx;
- line-height: 66rpx;
- font-size: 28rpx;
- }
-
- .btn-a {
- background-color: #3A78FF;
- color: #fff;
- }
-
- .btn-b {
- background-color: #41a863;
- color: #fff;
- margin-left: 30rpx;
- }
-
- .btn-c {
- background-color: #acacac;
- color: #fff;
- position: absolute;
- right: 120rpx;
- }
- }
-</style>
\ No newline at end of file
diff --git a/pages/MJGL/mujubaoyangjiludan/formDetail.vue b/pages/MJGL/mujubaoyangjiludan/formDetail.vue
deleted file mode 100644
index 560c08f..0000000
--- a/pages/MJGL/mujubaoyangjiludan/formDetail.vue
+++ /dev/null
@@ -1,463 +0,0 @@
-<template>
- <view class="content">
- <view class="mains" v-if="num==1">
- <!-- 淇濆吇椤逛俊鎭儴鍒嗕繚鎸佷笉鍙� -->
- <view class="title">淇濆吇椤逛俊鎭�</view>
- <view class="table">
- <uni-collapse accordion>
- <uni-collapse-item v-for="(item,index) in hformList" :key="index">
- <template v-slot:title>
- <view class="table-line">
- <view class="line">
- <view class="font">
- <text>淇濆吇椤圭洰锛�</text>{{item.HMaintainItem}}
- </view>
- <view>
- <text>淇濆吇閮ㄤ綅锛�</text>{{item.HMaintainPart}}
- </view>
- </view>
- <view class="line">
- <text>璐熻矗浜猴細</text>{{item.HManagerName}}
- </view>
- </view>
- </template>
- <view class="table-detail">
- <view class="detail">
- <text>鍏蜂綋瑕佹眰锛�</text>{{item.HClaim?item.HClaim:'鏆傛棤鍏蜂綋瑕佹眰'}}
- </view>
- <view class="detail">
- <text>鏄惁鍚堟牸锛�</text>{{ item.HMaintainResult ? '鍚堟牸' : '涓嶅悎鏍�' }}
- </view>
- <view class="detail" v-if="item.HRemark">
- <text>澶囨敞锛�</text>{{item.HRemark}}
- </view>
- <view class="btns">
- <button class="btnd" size="mini" @tap="edit(index)">缂栬緫</button>
- <button class="btne" size="mini" @tap="del(index)">鍒犻櫎</button>
- </view>
- </view>
- </uni-collapse-item>
- </uni-collapse>
- </view>
- <view class="foot">
- <button class="btna" size="mini" @tap="creat">鏂板</button>
- <button class="btnb" size="mini" @tap="over">纭</button>
- </view>
- </view>
-
- <view class="mains" v-if="num == 2">
- <view class="title">淇濆吇椤圭紪杈�</view>
- <view class="form">
- <view class="form-item">
- <view class="item-title">淇濆吇椤圭洰:</view>
- <view class="item-right">
- <uni-combox :candidates="arrayHMaintainItem" placeholder="璇烽�夋嫨淇濆吇椤圭洰" v-model="hform.HMaintainItem"
- @input="HMaintainItemInput"></uni-combox>
- </view>
- </view>
- <view class="form-item">
- <view class="item-title">淇濆吇閮ㄤ綅:</view>
- <view class="item-right">
- <input v-model="hform.HMaintainPart" placeholder="璇疯緭鍏ヤ繚鍏婚儴浣�" />
- </view>
- </view>
- <view class="form-item">
- <view class="item-title">璐熻矗浜�:</view>
- <view class="item-right">
- <uni-combox :candidates="arrayHManagerName" placeholder="璇烽�夋嫨璐熻矗浜�" v-model="hform.HManagerName"
- @input="HManagerNameInput"></uni-combox>
- </view>
- </view>
- <view class="form-item" style="align-items: flex-start;">
- <view class="item-title">鍏蜂綋瑕佹眰:</view>
- <view class="item-right" style="min-height: 150rpx;">
- <textarea v-model="hform.HClaim" auto-height maxlength="-1" placeholder="璇疯緭鍏ュ叿浣撹姹�"></textarea>
- </view>
- </view>
- <view class="form-item">
- <view class="item-title">缁撴灉:</view>
- <view class="right" style="display: flex; align-items: center; padding: 0 20rpx; border: none;">
- <view style="display: flex; align-items: center;">
- <checkbox-group @change="onResultChange">
- <checkbox :value="'true'" :checked="hform.HMaintainResult"></checkbox>
- </checkbox-group>
- <text style="margin-left: 10rpx;">鍚堟牸</text>
- </view>
- </view>
- </view>
- <view class="form-item">
- <view class="item-title">澶囨敞:</view>
- <view class="item-right">
- <input v-model="hform.HRemark" placeholder="璇疯緭鍏ュ娉�" />
- </view>
- </view>
- </view>
- <view class="foot">
- <button class="btnc" size="mini" @tap="back">杩斿洖</button>
- <button class="btnb" size="mini" @tap="add">纭</button>
- </view>
- </view>
- </view>
-</template>
-
-<script>
- export default {
- data() {
- return {
- serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
- num: 1,
- editIndex: -1,
-
- HMaintainItemList: [],
- arrayHMaintainItem: [],
-
- HManagerNameList: [],
- arrayHManagerName: [],
-
- hformList: [],
- hform: {},
- }
- },
- props: {
- form1List: {
- type: Array,
- default () {
- return []
- }
- },
- },
- created() {
- this.getHMaintainItemList()
- this.getHManagerNameList()
- this.hformList = this.form1List
- },
- methods: {
- // 鏂板锛氬鐞嗗閫夋鍙樺寲浜嬩欢
- onResultChange(e) {
- this.hform.HMaintainResult = e.detail.value.includes('true');
- },
-
- //淇濆吇椤圭洰
- getHMaintainItemList() {
- uni.request({
- url: this.serverUrl + '/PublicPageMethod/MaintainList',
- data: {
- sWhere: "where HStopFlag=0 and HEndFlag=1"
- },
- success: (res) => {
- console.log(1, res.data.data);
- if (res.data.count == 1) {
- this.HMaintainItemList = res.data.data
- for (var i = 0; i < res.data.data.length; i++) {
- this.arrayHMaintainItem[i] = res.data.data[i].HName
- }
- this.$forceUpdate();
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- },
- HMaintainItemInput(e) {
- console.log(e)
- for (var i = 0; i < this.HMaintainItemList.length; i++) {
- if (this.HMaintainItemList[i].HName == e) {
- this.hform.HMaintainItemID = this.HMaintainItemList[i].HItemID
- this.hform.HMaintainItemNumber = this.HMaintainItemList[i].HNumber
- this.hform.HMaintainItem = this.HMaintainItemList[i].HName
- }
- }
- },
-
- //璐熻矗浜�
- getHManagerNameList() {
- uni.request({
- url: this.serverUrl + '/PublicPageMethod/UserList',
- data: {
- sWhere: ''
- },
- success: (res) => {
- console.log(2, res.data.data);
- if (res.data.count == 1) {
- this.HManagerNameList = res.data.data
- for (var i = 0; i < res.data.data.length; i++) {
- this.arrayHManagerName[i] = res.data.data[i].HName
- }
- } else {
- uni.showToast({
- title: res.data.Message,
- icon: 'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title: '鎺ュ彛璇锋眰澶辫触',
- icon: 'none'
- })
- },
- });
- },
- HManagerNameInput(e) {
- console.log(e)
- for (var i = 0; i < this.HManagerNameList.length; i++) {
- if (this.HManagerNameList[i].HName == e) {
- this.hform.HManagerID = this.HManagerNameList[i].HItemID
- this.hform.HManagerNumber = this.HManagerNameList[i].HNumber
- this.hform.HManagerName = this.HManagerNameList[i].HName
- }
- }
- },
-
- creat() {
- this.hform = {
- HMaintainItemID: '',
- HMaintainItemNumber: '',
- HMaintainItem: '',
- HMaintainPart: '',
- HClaim: '',
- HManagerID: '',
- HManagerNumber: '',
- HManagerName: '',
- HMaintainResult: true, // 榛樿璁句负true锛屽嵆榛樿鍕鹃��
- HRemark: '',
- },
- this.num = 2
- },
- back() {
- this.hformList[this.editIndex] = uni.getStorageSync('hform')
- uni.removeStorageSync('hform')
- this.editIndex = -1
- this.num = 1
- },
- edit(index) {
- this.hform = this.hformList[index]
- uni.setStorageSync('hform', this.hformList[index]);
- this.editIndex = index
- this.num = 2
- },
- del(index) {
- this.hformList.splice(index, 1);
- },
- add() {
- if (!this.hform.HMaintainItemID) {
- uni.showToast({
- title: '璇烽�夋嫨淇濆吇椤圭洰淇℃伅',
- icon: 'none'
- })
- } else if (!this.hform.HMaintainPart) {
- uni.showToast({
- title: '璇疯緭鍏ヤ繚鍏婚儴浣嶄俊鎭�',
- icon: 'none'
- })
- } else if (!this.hform.HManagerID) {
- uni.showToast({
- title: '璇烽�夋嫨璐熻矗浜�',
- icon: 'none'
- })
- } else {
- uni.showModal({
- title: '鎻愮ず',
- content: '鏄惁纭鎻愪氦淇濆吇椤圭洰鍐呭锛屾槸鐨勮瘽灏嗘坊鍔犲埌淇濆吇椤逛俊鎭腑銆�',
- success: (res) => {
- if (res.confirm) {
- if (this.editIndex > -1) {
- this.hformList.splice(this.editIndex, 1);
- this.editIndex = -1
-
- uni.showToast({
- title: '淇敼瀹屾垚',
- icon: 'none'
- })
- }
- this.num = 1
- this.hformList.unshift(this.hform)
- }
- }
- });
- }
- },
-
- over() {
- this.$emit('hformList', this.hformList)
- },
- }
- }
-</script>
-
-<!-- 鏍峰紡閮ㄥ垎淇濇寔涓嶅彉 -->
-<style lang="scss" scoped>
- .content {
- width: 100%;
- height: 100%;
- position: fixed;
- z-index: 999;
- top: 0;
- left: 0;
- background-color: rgba(0, 0, 0, 0.5);
- }
-
- .mains {
- width: 88%;
- height: 88%;
- background-color: #f5f5f5;
- margin: 12% auto;
- border-radius: 14rpx;
-
- .title {
- width: 100%;
- height: 6%;
- background-color: #fff;
- border-bottom: 1px solid #acacac;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 14rpx 14rpx 0 0;
- }
-
- .foot {
- padding: 0 40rpx;
- height: 8%;
- background-color: #fff;
- border-top: 1px solid #eee;
- display: flex;
- align-items: center;
- border-radius: 0 0 14rpx 14rpx;
-
- button {
- width: 180rpx;
- }
- }
-
- .table {
- width: 100%;
- height: 86%;
- overflow: hidden;
- overflow-y: auto;
-
- .table-line {
- padding: 18rpx 10rpx 18rpx 20rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
-
- .line {
- font-size: 30rpx;
- color: #555;
-
- text {
- color: #999;
- font-size: 27rpx;
- }
-
- .font {
- color: #333;
- line-height: 150%;
- }
- }
- }
-
- .table-detail {
- font-size: 30rpx;
- color: #555;
- padding: 0 10rpx 24rpx 20rpx;
-
- text {
- color: #999;
- font-size: 27rpx;
- }
-
- .detail {}
-
- .btns {
- text-align: right;
- margin-top: 14rpx;
-
- button {
- width: 150rpx;
- margin-right: 30rpx;
- }
- }
- }
- }
-
- .form {
- height: 82%;
- padding: 4%;
- overflow: hidden;
- overflow-y: auto;
-
- .form-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- font-size: 30rpx;
- padding: 10rpx 0;
-
- .item-title {
- width: 140rpx;
-
- text {
- color: red;
- font-weight: bold;
- }
- }
-
- .item-right {
- width: 450rpx;
- border-radius: 22rpx;
- border: 1px solid #acacac;
- background-color: #fff;
- }
-
- input {
- width: 100%;
- padding: 8rpx 20rpx;
- font-size: 30rpx;
- }
-
- textarea {
- width: 98%;
- padding: 8rpx 20rpx;
- font-size: 30rpx;
- }
- }
- }
- }
-
- .btna {
- background-color: #41a863;
- color: #fff;
- }
-
- .btnb {
- background-color: #3A78FF;
- color: #fff;
- }
-
- .btnc {
- background-color: #acacac;
- color: #fff;
- }
-
- .btnd {
- background-color: #d98d00;
- color: #fff;
- }
-
- .btne {
- background-color: #da0000;
- color: #fff;
- }
-</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill.vue
new file mode 100644
index 0000000..5b4afdd
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill.vue
@@ -0,0 +1,1043 @@
+<template>
+ <view>
+ <!-- 椤电鍖哄煙 -->
+ <view class="tabs" id="tabs">
+ <view class="tabs">
+ <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">鍩烘湰淇℃伅</view>
+ <view :class="tabs == 1 ? 'on':''" @tap="tabs = 1">鍏朵粬淇℃伅</view>
+ <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">鍒跺崟淇℃伅</view>
+ </view>
+ </view>
+ <!-- 鍩烘湰淇℃伅 -->
+ <template v-if="tabs == 0">
+ <view class="form" :style="{height: containerHeight + 'px',overflow: 'auto' }">
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙�:</view>
+ <view class="righton">
+ <input name="HBillNo" disabled v-model="hform.HBillNo" placeholder="璇疯緭鍏ュ崟鎹彿" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDate" disabled v-model="hform.HDate" placeholder="璇烽�夋嫨" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">涓婚:</view>
+ <view class="right">
+ <input name="HContext" v-model="hform.HContext" placeholder="璇疯緭鍏ヤ富棰�" />
+ </view>
+ </view>
+ <view class="form-item" style="align-items: flex-start;">
+ <view class="title"><text>*</text>璇︾粏鍐呭:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <textarea name="HDescription" v-model="hform.HDescription" auto-height maxlength="-1"
+ placeholder="璇疯緭鍏ヨ缁嗗唴瀹�"></textarea>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">寮傚父绫诲瀷:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHErrMsgBackTypeName" placeholder="璇烽�夋嫨"
+ v-model="hform.HErrMsgBackTypeName" @input="HErrMsgBackTypeNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�侀儴闂�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HDeptName"
+ @input="HDeptNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鍙戦�佷汉" v-model="hform.HSendMan"
+ @input="HSendManChange"></uni-combox>
+ </view>
+ </view>
+
+ <view class="form-item">
+ <view class="title"><text>*</text>鎺ユ敹浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎺ユ敹浜�" v-model="hform.HReceiveMan"
+ @input="HReceiveManChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶勭悊浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨澶勭悊浜�" v-model="hform.HHandleEmpName"
+ @input="HHandleEmpNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">璐d换浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨璐d换浜�" v-model="hform.HBadProcManName"
+ @input="HBadProcManNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">闂鏉ユ簮:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHForm" placeholder="璇烽�夋嫨闂鏉ユ簮" v-model="hform.HForm"
+ @input="HFormChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐢熶骇璧勬簮:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHSourceName" placeholder="璇烽�夋嫨" v-model="hform.HSourceName"
+ @input="HSourceNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">杞﹂棿:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHCenterName" placeholder="璇烽�夋嫨" v-model="hform.HCenterName"
+ @input="HCenterNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浜у搧缂栫爜:</view>
+ <view class="right">
+ <input name="HMaterNumber" v-model="hform.HMaterNumber" placeholder="璇疯緭鍏ヤ骇鍝佺紪鐮�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浜у搧鍚嶇О:</view>
+ <view class="right">
+ <input name="HMaterName" v-model="hform.HMaterName" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瑙勬牸鍨嬪彿:</view>
+ <view class="right">
+ <input name="HMaterModel" v-model="hform.HMaterModel" placeholder="璇疯緭鍏ヨ鏍煎瀷鍙�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">娑夊強鏁伴噺:</view>
+ <view class="right">
+ <input name="HQty" type="number" v-model="hform.HQty" placeholder="璇疯緭鍏ユ暟閲�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐢熶骇鐝:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHShiftsName" placeholder="璇烽�夋嫨" v-model="hform.HShiftsName"
+ @input="HShiftsNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">褰卞搷闈㈢▼搴�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEffect" placeholder="璇烽�夋嫨褰卞搷闈㈢▼搴�" v-model="hform.HErrLev"
+ @input="HEffectChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶囨敞:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <input name="HRemark" v-model="hform.HRemark" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍏朵粬淇℃伅 -->
+ <template v-if="tabs == 1">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鎺ユ敹閮ㄩ棬:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HRecDeptName"
+ @input="HRecDeptChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鎶勯�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎶勯�佷汉" v-model="hform.HCopyMan"
+ @input="HCopyManChange" multiple></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">QE璐d换浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨QE璐d换浜�" v-model="hform.HQEManName"
+ @input="HQEManNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">绱ф�ョ▼搴�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHLevel" placeholder="璇烽�夋嫨绱ф�ョ▼搴�" v-model="hform.HLevel"
+ @input="HLevelChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�佺被鍨�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHSendType" placeholder="璇烽�夋嫨鍙戦�佺被鍨�" v-model="hform.HSendType"
+ @input="HSendTypeChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍌績娆℃暟:</view>
+ <view class="right">
+ <input name="HHasten" type="number" v-model="hform.HHasten" placeholder="璇疯緭鍏ュ偓淇冩鏁�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙樺寲鐐�:</view>
+ <view class="right">
+ <input name="HChangeNote" v-model="hform.HChangeNote" placeholder="璇疯緭鍏ュ彉鍖栫偣" />
+ </view>
+ </view>
+
+ <view class="form-item">
+ <view class="title">鍗曟嵁绫诲瀷:</view>
+ <view class="righton">
+ <input name="HBillTypeName" disabled v-model="hform.HBillTypeName" placeholder="璇疯緭鍏ュ崟鎹被鍨�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙风爜:</view>
+ <view class="righton">
+ <input name="HPlanBillNo" disabled v-model="hform.HPlanBillNo" placeholder="璇疯緭鍏ュ崟鎹彿鐮�" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍒跺崟淇℃伅 -->
+ <template v-if="tabs == 2">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鍒跺崟浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HMaker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍒跺崟鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HMakeDate" disabled v-model="hform.HMakeDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HUpDater" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HUpDateDate" disabled v-model="hform.HUpDateDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HChecker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HCheckDate" disabled v-model="hform.HCheckDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HDeleteMan" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDeleteDate" disabled v-model="hform.HDeleteDate" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <view class="buttons" id="buttons">
+ <button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+ <view style="flex: 1;"></view>
+ <button class="btn-a" size="mini" @tap="addNew">鏂板</button>
+ <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
+ </view>
+ </view>
+</template>
+<script>
+ import dayjs from "dayjs";
+ import {CommonUtils} from "@/utils/common";
+ import getDateTime from '@/utils/getdateTime.js';
+ import {getUserInfo} from "../../../../utils/auth";
+ import "@/pages/ZLGL/AanDengHujiao/style/OA_ErrMsgStyle.scss"
+ export default {
+ data() {
+ return {
+ tabs: 0,
+ tabsBottom: 0,
+ userInfo: getUserInfo(),
+ serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
+ OperationType: 1,
+ refSav: "",
+
+ arrayHLevel: ['鏅��', '绱ф��'],
+ arrayHForm: ['浜�', '鏈�', '鏂�', '娉�', '鐜�', '娴�'],
+ arrayHEffect: ['鍋滅嚎', '鎵归噺涓嶈壇', '鍋跺彂涓嶈壇', '鏃犳硶鍒ゆ柇'],
+ arrayHSendType: ['鍏叡', '涓汉'],
+
+ // 浜哄憳鐩稿叧鏁扮粍
+ arrayHEmpName: [], // 鎺ユ敹浜� 鍙戦�佷汉 澶勭悊浜� 璐d换浜� 鎶勯�佷汉 QE璐d换浜�
+ HEmpNameList: [],
+
+
+ // 鍏朵粬鏁扮粍
+ arrayHDeptName: [], // 鎺ユ敹銆佸彂閫侀儴闂�
+ HDeptNameList: [],
+ arrayHErrMsgBackTypeName: [], // 寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameList: [],
+ arrayHSourceName: [], //鐢熶骇璧勬簮
+ HSourceNameList: [],
+ arrayHCenterName: [], //宸ヤ綔涓績
+ HCenterNameList: [],
+ arrayHShiftsName: [], //鐢熶骇鐝
+ HShiftsNameList: [],
+
+ isEdit: false,
+
+ hform: {
+ HBillNo: '',
+ HInterID: '',
+ HDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HContext: '',
+ HDescription: '',
+ HRemark: '',
+
+ HErrMsgBackTypeName: '',
+ HErrMsgBackTypeID: '0',
+ HDeptName: getUserInfo().HDeptName,
+ HDeptID: getUserInfo().HDeptID,
+ HSendMan: getUserInfo().Czymc,
+ HReceiveMan: '',
+ HHandleEmpName: '',
+ HHandleEmpID: '0',
+ HCopyMan: '',
+ HBadProcManName: '',
+ HBadProcMan: '0',
+ HQEManName: '',
+ HQEMan: '0',
+ HRecDeptName: getUserInfo().HDeptName,
+ HRecDeptID: getUserInfo().HDeptID,
+
+ HLevel: '鏅��',
+ HBillTypeName: '',
+ HPlanBillNo: '',
+ HMaterNumber: '',
+ HMaterName: '',
+ HMaterModel: '',
+
+ // 鏂版坊鍔犵殑瀛楁
+ HHasten: 0, // 鍌績娆℃暟
+ HChangeNote: '', // 鍙樺寲鐐�
+ HShiftsName: '', // 鐢熶骇鐝
+ HShiftsID: '0', // 鐢熶骇鐝ID
+ HErrLev: '', // 褰卞搷闈㈢▼搴�
+ HForm: '浜�', // 闂鏉ユ簮
+ HSendType: '鍏叡', // 鍙戦�佺被鍨�
+ HReTransmitMan: '', // 杞彂鑷�
+ HSourceName: '', // 鐢熶骇璧勬簮
+ HSourceID: '0', // 鐢熶骇璧勬簮ID
+ HCenterName: '', // 杞﹂棿
+ HCenterID: '0', // 杞﹂棿ID
+ HQty: 0, // 鏁伴噺
+ HDeleteMan: '', // 浣滃簾浜�
+ HDeleteDate: '', // 浣滃簾鏃ユ湡
+
+ HMainSourceBillNo: '',
+ HMainSourceInterID: '0',
+ HMainSourceEntryID: '0',
+ HMainSourceBillType: '',
+
+ HMaker: getUserInfo().Czymc,
+ HMakeDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HUpDater: '',
+ HUpDateDate: '',
+ HChecker: '',
+ HCheckDate: '',
+ }
+ }
+ },
+ onLoad(e) {
+ this.getListData()
+ if (!e.OperationType) {
+ this.OperationType = 1
+ } else {
+ this.OperationType = e.OperationType
+ }
+
+ if (this.OperationType == 1) {
+ // 鏂板
+ this.getMaxNum()
+ } else if (this.OperationType == 2) {
+ // 鏈夋簮鍗�
+ this.getMaxNum()
+ } else if (this.OperationType == 3) {
+ // 缂栬緫
+ this.getEditData(e.hmainid)
+ } else if (this.OperationType == 4) {
+ // 娴忚
+ }
+ },
+ computed: {
+ containerHeight: {
+ get() {
+ return this.btnTop - this.tabsBottom - 5
+ }
+ }
+ },
+ onReady() {
+ const query = uni.createSelectorQuery().in(this)
+ query.select("#buttons")
+ .boundingClientRect()
+ .select("#tabs")
+ .boundingClientRect()
+ .exec(res => {
+ this.btnTop = Math.floor(res[0].top)
+ this.tabsBottom = Math.ceil(res[1].bottom)
+ })
+ },
+ methods: {
+ //閫夋嫨鍙戦�侀儴闂�
+ HDeptNameChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HDeptID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹閮ㄩ棬
+ HRecDeptNameChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HRecDeptID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameChange(e) {
+ for (var i = 0; i < this.HErrMsgBackTypeNameList.length; i++) {
+ if (this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О == e) {
+ this.hform.HErrMsgBackTypeName = this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О;
+ this.hform.HErrMsgBackTypeID = this.HErrMsgBackTypeNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鍙戦�佷汉
+ HSendManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹浜�
+ HReceiveManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨澶勭悊浜�
+ HHandleEmpNameChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+ this.hform.HHandleEmpID = this.HEmpNameList[i].HItemID
+ }
+ }
+ },
+ //閫夋嫨鎶勯�佷汉
+ HCopyManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨鎶勯�佷汉
+ HBadProcManNameChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+ this.hform.HBadProcMan = this.HEmpNameList[i].HItemID
+ }
+ }
+ },
+ //閫夋嫨QE璐d换浜�
+ HQEManNameChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+ this.hform.HQEMan = this.HEmpNameList[i].HItemID
+ }
+ }
+ },
+ //閫夋嫨鐢熶骇璧勬簮
+ HSourceNameChange(e) {
+ for (var i = 0; i < this.HSourceNameList.length; i++) {
+ if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
+ this.hform.HSourceName = this.HSourceNameList[i].鐢熶骇璧勬簮;
+ this.hform.HSourceID = this.HSourceNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨杞﹂棿
+ HCenterNameChange(e) {
+ for (var i = 0; i < this.HCenterNameList.length; i++) {
+ if (this.HCenterNameList[i].宸ヤ綔涓績 == e) {
+ this.hform.HCenterName = this.HCenterNameList[i].宸ヤ綔涓績;
+ this.hform.HCenterID = this.HCenterNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鐢熶骇鐝
+ HShiftsNameChange(e) {
+ for (var i = 0; i < this.HShiftsNameList.length; i++) {
+ if (this.HShiftsNameList[i].鐝鍚嶇О == e) {
+ this.hform.HShiftsName = this.HShiftsNameList[i].鐝鍚嶇О;
+ this.hform.HShiftsID = this.HShiftsNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ // 闈欐�佷笅鎷夋閫夋嫨鏂规硶
+ HLevelChange(e) {
+ this.hform.HLevel = e;
+ },
+ HFormChange(e) {
+ this.hform.HForm = e;
+ },
+ HEffectChange(e) {
+ this.hform.HErrLev = e;
+ },
+ HSendTypeChange(e) {
+ this.hform.HSendType = e;
+ },
+ //鏂板鎸夐挳浜嬩欢
+ addNew() {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: '鏂板鍚庨〉闈㈡暟鎹皢娑堝け锛岀‘瀹氳鏂板鍚楋紵',
+ success: (res) => {
+ if (res.confirm) {
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill?operationType=1'
+ })
+ // 閲嶆柊鑾峰彇鏈�澶у崟鎹彿
+ this.getMaxNum();
+ // 鍒囨崲鍒板熀鏈俊鎭〉绛�
+ this.tabs = 0;
+ }
+ }
+ });
+ },
+ // 鑾峰彇鎵�鏈夊垪琛ㄦ暟鎹�
+ async getListData() {
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ await this.getDepartmentList();
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ await this.getHErrMesTypeList();
+ // 鑾峰彇浜哄憳鍒楄〃锛堟帴鏀朵汉銆佸鐞嗕汉銆佹妱閫佷汉銆佽矗浠讳汉銆丵E璐d换浜猴級
+ await this.getPersonList();
+ // 鑾峰彇鐢熶骇璧勬簮鍒楄〃
+ await this.getSourceList();
+ // 鑾峰彇杞﹂棿鍒楄〃
+ await this.getCenterList();
+ // 鑾峰彇鐢熶骇鐝鍒楄〃
+ await this.getShiftsList();
+ },
+
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ getDepartmentList() {
+ return new Promise((resolve, reject) => {
+ uni.request({
+ url: this.serverUrl + '/Gy_Department/list',
+ data: {
+ sWhere: "",
+ user: uni.getStorageSync('HUserName'),
+ Organization: uni.getStorageSync('Organization')
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HDeptNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHDeptName[i] = res.data.data[i].閮ㄩ棬鍚嶇О
+ }
+ this.$forceUpdate();
+ resolve();
+ } else {
+ uni.showToast({
+ title: '鑾峰彇閮ㄩ棬淇℃伅澶辫触',
+ icon: 'none'
+ })
+ reject();
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鑾峰彇閮ㄩ棬淇℃伅澶辫触',
+ icon: 'none'
+ })
+ reject();
+ },
+ });
+ });
+ },
+
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ getHErrMesTypeList() {
+ return new Promise((resolve, reject) => {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_ErrMsgBackTypeList_Json',
+ data: {
+ ErrMsg: "",
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HErrMsgBackTypeNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHErrMsgBackTypeName[i] = res.data.data[i].寮傚父鍙嶉绫诲瀷鍚嶇О
+ }
+ this.$forceUpdate();
+ resolve();
+ } else {
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ reject();
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ reject();
+ },
+ });
+ });
+ },
+
+ // 鑾峰彇浜哄憳鍒楄〃锛堥�氱敤鏂规硶锛�
+ getPersonList() {
+ return new Promise((resolve, reject) => {
+ uni.request({
+ url: this.serverUrl + '/Web/GetEmployeeList_Json',
+ data: {
+ Employee: '',
+ HGroupID: 0
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HEmpNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHEmpName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ resolve(); // 鎴愬姛鏃秗esolve
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ reject(res.data.Message); // 澶辫触鏃秗eject
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ reject(res); // 澶辫触鏃秗eject
+ },
+ });
+ });
+ },
+
+ // 鑾峰彇鐢熶骇璧勬簮鍒楄〃
+ getSourceList() {
+ return new Promise((resolve, reject) => {
+ uni.request({
+ url: this.serverUrl + '/api/newBill/getSourceList',
+ data: {
+ sWhere: ""
+ },
+ success: (res) => {
+ if (res.data.code == 1) {
+ this.HSourceNameList = res.data.data.Gy_Source
+ for (var i = 0; i < res.data.data.Gy_Source.length; i++) {
+ this.arrayHSourceName[i] = res.data.data.Gy_Source[i].鐢熶骇璧勬簮
+ }
+ this.$forceUpdate();
+ resolve();
+ } else {
+ uni.showToast({
+ title: '鑾峰彇鐢熶骇璧勬簮鍒楄〃澶辫触',
+ icon: 'none'
+ })
+ reject();
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鑾峰彇鐢熶骇璧勬簮鍒楄〃澶辫触',
+ icon: 'none'
+ })
+ reject();
+ },
+ });
+ });
+ },
+
+ // 鑾峰彇宸ヤ綔涓績鍒楄〃
+ getCenterList() {
+ return new Promise((resolve, reject) => {
+ uni.request({
+ url: this.serverUrl + '/api/newBill/getWorkCenterList',
+ data: {
+ sWhere: ""
+ },
+ success: (res) => {
+ if (res.data.code == 1) {
+ this.HCenterNameList = res.data.data.Gy_WorkCenter
+ for (var i = 0; i < res.data.data.Gy_WorkCenter.length; i++) {
+ this.arrayHCenterName[i] = res.data.data.Gy_WorkCenter[i].宸ヤ綔涓績
+ }
+ this.$forceUpdate();
+ resolve();
+ } else {
+ uni.showToast({
+ title: '鑾峰彇杞﹂棿鍒楄〃澶辫触',
+ icon: 'none'
+ })
+ reject();
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鑾峰彇杞﹂棿鍒楄〃澶辫触',
+ icon: 'none'
+ })
+ reject();
+ },
+ });
+ });
+ },
+
+ // 鑾峰彇鐢熶骇鐝鍒楄〃
+ getShiftsList() {
+ return new Promise((resolve, reject) => {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_ShiftsList_Json',
+ data: {
+ Shifts: ""
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HShiftsNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHShiftsName[i] = res.data.data[i].鐝鍚嶇О
+ }
+ this.$forceUpdate();
+ resolve();
+ } else {
+ uni.showToast({
+ title: '鑾峰彇鐢熶骇鐝鍒楄〃澶辫触',
+ icon: 'none'
+ })
+ reject();
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鑾峰彇鐢熶骇鐝鍒楄〃澶辫触',
+ icon: 'none'
+ })
+ reject();
+ },
+ });
+ });
+ },
+ //鏂板
+ getMaxNum() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetMAXNum',
+ data: {
+ HBillType: '4502'
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.hform.HInterID = res.data.data[0].HInterID
+ this.hform.HBillNo = res.data.data[0].HBillNo
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ getEditData(HInterID) {
+ uni.showLoading({
+ title: '鍔犺浇涓�'
+ });
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/Get_TransFerBillListCheckDetaiL_APP',
+ data: {
+ "HID": HInterID
+ },
+ success: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁:', res);
+ if (res.data.code == 1) {
+ const data = res.data.data.OA_ErrMsgBackBillMain[0];
+
+ // 鏄犲皠瀛楁鍒� Vue 涓殑 hform
+ this.hform = {
+ ...this.hform, // 淇濈暀鍘熸湁鐨勯粯璁ゅ��
+ HInterID: data.HInterID,
+ HEntryID: data.HEntryID || '',
+ HBillNo: data.HBillNo || '',
+ HDate: data.HDate ? data.HDate.substr(0, 10) : dayjs(new Date()).format("YYYY-MM-DD"),
+ HErrMsgBackTypeName: data.HErrMsgBackTypeName || '',
+ HErrMsgBackTypeID: data.HErrMsgBackTypeID || '0',
+ HContext: data.HContext || '',
+ HSendMan: data.HSendMan || '',
+ HDeptID: data.HDeptID || '0',
+ HDeptName: data.HDeptName || '',
+ HRecDeptID: data.HRecDeptID || '0',
+ HRecDeptName: data.HRecDeptName || '',
+ HCenterID: data.HCenterID || '0',
+ HCenterName: data.HCenterName || '',
+ HReceiveMan: data.HReceiveMan || '',
+ HCopyMan: data.HCopyMan || '',
+ HMainSourceInterID: data.HSourceInterID || '0',
+ HMainSourceEntryID: data.HSourceEntryID || '0',
+ HMainSourceBillNo: data.HSourceBillNo || '',
+ HMainSourceBillType: data.HSourceBillType || '',
+ HHasten: data.HHasten || 0,
+ HMaterNumber: data.HMaterNumber || '',
+ HMaterName: data.HMaterName || '',
+ HHandleEmpID: data.HHandleEmpID || '0',
+ HHandleEmpName: data.HHandleEmpName || '',
+ HMaterModel: data.HMaterModel || '',
+ HQty: data.HQty || 0,
+ HForm: data.HForm || '浜�',
+ HChangeNote: data.HChangeNote || '',
+ HNote: data.HNote || '',
+ HBadProcMan: data.HBadProcMan || '0',
+ HBadProcManName: data.HBadProcManName || '',
+ HQEMan: data.HQEMan || '0',
+ HQEManName: data.HQEManName || '',
+ HSourceID: data.HSourceID || '0',
+ HSourceName: data.HSourceName || '',
+ HShiftsID: data.HShiftsID || '0',
+ HShiftsName: data.HShiftsName || '',
+ HDescription: data.HDescription || '',
+ HRemark: data.HRemark || '',
+ HLevel: data.HLevel || '鏅��',
+ HSendType: data.HSendType || '鍏叡',
+ HErrLev: data.HErrLev || '',
+ HMaker: data.HMaker || userInfo.Czymc || '',
+ HMakeDate: data.HMakeDate ? data.HMakeDate.substr(0, 10) : dayjs(new Date()).format("YYYY-MM-DD"),
+ HUpDater: uni.getStorageSync('HUserName') || userInfo.Czymc || '',
+ HUpDateDate: dayjs(new Date()).format("YYYY-MM-DD HH:mm:ss"),
+ HChecker: data.HChecker || '',
+ HCheckDate: data.HCheckDate ? data.HCheckDate.substr(0, 10) : '',
+ HCloseMan: data.HCloseMan || '',
+ HCloseDate: data.HCloseDate ? data.HCloseDate.substr(0, 10) : '',
+ HDeleteMan: data.HDeleteMan || '',
+ HDeleteDate: data.HDeleteDate ? data.HDeleteDate.substr(0, 10) : '',
+ };
+
+ // 璁剧疆鍒跺崟浜轰俊鎭紙濡傛灉涓虹┖鍒欎娇鐢ㄥ綋鍓嶇敤鎴凤級
+ if (!this.hform.HMaker) {
+ this.hform.HMaker = getUserInfo().Czymc;
+ }
+
+ // 璁剧疆淇敼浜轰俊鎭�
+ if (!this.hform.HUpDater) {
+ this.hform.HUpDater = uni.getStorageSync('HUserName') || '';
+ }
+
+ // 璁剧疆鍏朵粬瀛楁锛堝鏋滈渶瑕佸湪鐣岄潰涓婃樉绀猴級
+ if (this.hform.HMainSourceBillNo) {
+ this.hform.HPlanBillNo = this.hform.HMainSourceBillNo;
+ this.hform.HBillTypeName = this.hform.HMainSourceBillType;
+ }
+
+ this.isEdit = true;
+ } else {
+ uni.showToast({
+ title: res.data.msg || '鑾峰彇缂栬緫鏁版嵁澶辫触',
+ icon: 'none'
+ });
+ }
+ },
+ fail: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁璇锋眰澶辫触:', res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ });
+ }
+ });
+ },
+
+ submit() {
+ if (!this.hform.HReceiveMan) {
+ uni.showToast({
+ title: '璇烽�夋嫨鎺ユ敹浜�',
+ icon: 'none'
+ })
+ } else {
+ uni.showLoading({
+ title: '璇风◢鍊�'
+ })
+ if (this.OperationType == 1 || this.OperationType == 2 || this.OperationType == 4) {
+ this.refSav = "Add";
+ }
+ //鑻ヤ负缂栬緫-淇濆瓨锛屽垯鏇存柊淇敼浜哄拰淇敼鏃堕棿
+ if (this.OperationType == 3) {
+ this.refSav = "Update";
+ this.hform.HUpdater = getUserInfo().Czymc;
+ this.hform.HUpdaterDate = dayjs(new Date()).format("YYYY-MM-DD");
+ }
+ var sMainStr = JSON.stringify(this.hform);
+ var sMainSub = sMainStr + ';' + uni.getStorageSync('HUserName') + ';' + this.refSav
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/SaveGetMESTransFerWorkFrom_APP',
+ method: 'POST',
+ dataType: "json",
+ data: {
+ "msg": sMainSub
+ },
+ success: (res) => {
+ console.log(1, res);
+ uni.hideLoading()
+ if (res.data.count == 1) {
+ if (res.data.Verify == "Y") { //鑷姩瀹℃牳
+ this.SaveVerify(res.data.HInterID) //瀹℃牳
+ } else {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ }
+ }
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ }
+ },
+
+ SaveVerify(HInterID) {
+ var datas = {
+ HInterID: HInterID,
+ IsAudit: 0,
+ CurUserName: getUserInfo().Czymc
+ }
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/AuditTransFerReportList',
+ method: 'GET',
+ dataType: "json",
+ async: true,
+ data: datas,
+ success: (res) => {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ goBack() {
+ uni.navigateBack()
+ }
+ }
+ }
+</script>
+
+<style lang="scss">
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBillList.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBillList.vue
new file mode 100644
index 0000000..cf0fd54
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBillList.vue
@@ -0,0 +1,568 @@
+<template>
+ <view>
+ <view class="page-header">
+ <view class="search-item">
+ <view class="left">鏃ユ湡闂撮殧</view>
+ <view class="right">
+ <picker mode="selector" :value="curDateGap" :range="dateRangePicker"
+ @change="onDateRangePickerChangeHandler">
+ <input disabled v-model="curDateGap" placeholder="璇烽�夋嫨鏃ユ湡闂撮殧" />
+ <view class="picker-overlay"></view>
+ </picker>
+
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">寮�濮嬫棩鏈�</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="startDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">
+ <text>{{ startDate }}</text>
+ </view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">缁撴潫鏃ユ湡</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="endDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">{{ endDate }}</view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">鍗曟嵁鍙�</view>
+ <view class="right">
+ <input type="text" auto-focus v-model="HBillNo" />
+ </view>
+ </view>
+
+ <view class="button-groups">
+ <button type="default" size="mini" class="btn-b" @tap.stop="onAddClickHandler">鏂板</button>
+ <button type="default" size="mini" class="btn-c" @tap.stop="onSearchClickHandler">鏌ヨ</button>
+ <button type="default" size="mini" class="btn-a" @tap.stop="onResetClickHandler">閲嶇疆</button>
+ </view>
+ </view>
+ <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
+ <scroll-view id="pageContent" scroll-y class="page-content" :style="{height: pageContentHeight + 'px'}">
+ <view class="list" v-for="(item,index) in listData" :key="index">
+ <uni-card :title="item.鍗曟嵁鐘舵��" :extra="item.鍗曟嵁鍙�" style="margin: 10px;"
+ @tap="showDetail = showDetail==index?-1:index">
+ <view class="card-detail">
+ <view class="detail" v-if="item.浜у搧鍚嶇О">
+ <text>浜у搧鍚嶇О锛�</text>{{item.浜у搧鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.涓婚">
+ <text>涓婚锛�</text>{{item.涓婚}}
+ </view>
+ <view class="detail" v-if="item.寮傚父绫诲瀷">
+ <text>寮傚父绫诲瀷锛�</text>{{item.寮傚父绫诲瀷}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�侀儴闂�">
+ <text>鍙戦�侀儴闂細</text>{{item.鍙戦�侀儴闂▆}
+ </view>
+ <view class="detail" v-if="item.鍙戦�佷汉">
+ <text>鍙戦�佷汉锛�</text>{{item.鍙戦�佷汉}}
+ </view>
+ <view class="detail" v-if="item.鏄惁瀹屾垚">
+ <text>鏄惁瀹屾垚锛�</text>{{item.鏄惁瀹屾垚}}
+ </view>
+
+ <view class="detail" v-if="item.鎺ユ敹閮ㄩ棬">
+ <text>鎺ユ敹閮ㄩ棬锛�</text>{{item.鎺ユ敹閮ㄩ棬}}
+ </view>
+ <view class="detail" v-if="item.鎺ユ敹浜�">
+ <text>鎺ユ敹浜猴細</text>{{item.鎺ユ敹浜簘}
+ </view>
+ <view class="detail" v-if="item.鎶勯�佷汉">
+ <text>鎶勯�佷汉锛�</text>{{item.鎶勯�佷汉}}
+ </view>
+ <view class="detail" v-if="item.鎸囨淳澶勭悊浜�">
+ <text>鎸囨淳澶勭悊浜猴細</text>{{item.鎸囨淳澶勭悊浜簘}
+ </view>
+ </view>
+ <view class="card-detail" v-if="showDetail == index">
+ <view class="detail" v-if="item.鍒跺崟浜�">
+ <text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
+ </view>
+ <view class="detail" v-if="item.鍒跺崟鏃ユ湡">
+ <text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳浜�">
+ <text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳鏃ユ湡">
+ <text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.淇敼浜�">
+ <text>淇敼浜猴細</text>{{item.淇敼浜簘}
+ </view>
+ <view class="detail" v-if="item.淇敼鏃ユ湡">
+ <text>淇敼鏃ユ湡锛�</text>{{item.淇敼鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴浜�">
+ <text>鍏抽棴浜猴細</text>{{item.鍏抽棴浜簘}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴鏃ユ湡">
+ <text>鍏抽棴鏃ユ湡锛�</text>{{item.鍏抽棴鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.浣滃簾浜�">
+ <text>浣滃簾浜猴細</text>{{item.浣滃簾浜簘}
+ </view>
+ <view class="detail" v-if="item.浣滃簾鏃ユ湡">
+ <text>浣滃簾鏃ユ湡锛�</text>{{item.浣滃簾鏃ユ湡.substr(0,10)}}
+ </view>
+ </view>
+
+
+ <view class="more" v-if="showDetail == index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="top" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏀惰捣
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+ <view class="more" v-if="showDetail != index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="bottom" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏇村淇℃伅
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+
+ <view class="op" v-if="operations == index">
+ <button class="op3" size="mini" plain @tap.stop="edit(item)">缂栬緫</button>
+ <button class="op4" size="mini" plain @tap.stop="del(item)">鍒犻櫎</button>
+ <button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
+ </view>
+ </uni-card>
+ </view>
+ <view class="over" v-if="listData.length == 0">鏆傛棤鏁版嵁</view>
+ </scroll-view>
+ <!-- 鍒嗛〉鍣� -->
+ <view class="page-footer">
+ <uni-pagination id="pagination" title="鏍囬鏂囧瓧" v-model="pageMeta.curPage" :pageSize="pageMeta.size"
+ :total="pageMeta.total" @change="onPageChangeHandler"></uni-pagination>
+ </view>
+ </view>
+</template>
+
+<script>
+ import dayjs from 'dayjs'
+ import {
+ CommonUtils
+ } from '@/utils/common.js'
+ import {
+ getUserInfo
+ } from '../../../../utils/auth'
+ export default {
+ data() {
+ return {
+ // 璁$畻鍗$墖鍒楄〃楂樺害
+ pagination_top: 0,
+ pageContent_top: 0,
+ // 鍒嗛〉鎺у埗
+ pageMeta: {
+ curPage: 1,
+ size: 50,
+ total: 0,
+ },
+ // 婊氬姩鎺у埗
+ scrollTop: 0,
+ old: {
+ scrollTop: 0
+ },
+
+ dateRangePicker: ["浠绘剰闂撮殧", "浠婂ぉ", "杩戜袱澶�", "杩戜笁澶�", "杩戝洓澶�", "杩戜簲澶�", "杩戝叚澶�", "杩戜竷澶�", "杩�30澶�"],
+ curDateGap: "杩戜竷澶�",
+ enableCustomDateRange: false,
+ startDate: dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD'),
+ endDate: dayjs(new Date()).format('YYYY-MM-DD'),
+ HBillNo: '',
+
+ listData: [],
+ showDetail: -1,
+ operations: -1,
+ }
+ },
+ computed: {
+ pageContentHeight: {
+ get() {
+ return (this.pagination_top - this.pageContent_top)
+ }
+ },
+ },
+ onLoad() {
+ this.onSearchClickHandler()
+ },
+ onPullDownRefresh() {
+ this.onSearchClickHandler()
+ },
+ async onReady() {
+ // #ifndef MP-WEIXIN
+ let query = uni.createSelectorQuery().in(this)
+ query.select("#pagination")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pagination_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pagination鑺傜偣");
+ }
+ })
+ .exec();
+ query.select("#pageContent")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pageContent_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pageContent鑺傜偣");
+ }
+ })
+ .exec();
+ // #endif
+
+ },
+ methods: {
+ goTop: function(e) {
+ // 瑙e喅view灞備笉鍚屾鐨勯棶棰�
+ this.scrollTop = this.old.scrollTop
+ this.$nextTick(function() {
+ this.scrollTop = 0
+ });
+ },
+ onDateRangePickerChangeHandler({
+ detail
+ }) {
+ this.enableCustomDateRange = false
+ this.curDateGap = this.dateRangePicker[detail.value]
+ let date = new Date()
+ switch (this.curDateGap) {
+ case "浠婂ぉ":
+ this.startDate = dayjs(date).format("YYYY-MM-DD")
+ break;
+ case "杩戜竴澶�":
+ this.startDate = dayjs(date).subtract(1, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜袱澶�":
+ this.startDate = dayjs(date).subtract(2, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜笁澶�":
+ this.startDate = dayjs(date).subtract(3, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝洓澶�":
+ this.startDate = dayjs(date).subtract(4, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜簲澶�":
+ this.startDate = dayjs(date).subtract(5, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝叚澶�":
+ this.startDate = dayjs(date).subtract(6, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜竷澶�":
+ this.startDate = dayjs(date).subtract(7, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩�30澶�":
+ this.startDate = dayjs(date).subtract(30, 'day').format("YYYY-MM-DD")
+ break;
+ }
+ if (this.curDateGap == '浠绘剰闂撮殧') {
+ this.enableCustomDateRange = true
+ }
+ },
+ onSearchClickHandler() {
+ let sWhere = ""
+ if (this.startDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.startDate + "'";
+ }
+ if (this.endDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.endDate + "'";
+ }
+ if (this.HBillNo) {
+ sWhere += " and 鍗曟嵁鍙� like '%" + this.HBillNo + "%'";
+ }
+ this.get_DisplayPage(sWhere);
+ },
+ clear() {
+ this.curDateGap = "杩戜竷澶�"
+ this.enableCustomDateRange = false
+ this.startDate = dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD')
+ this.endDate = dayjs(new Date()).format('YYYY-MM-DD')
+ this.HBillNo = ''
+ },
+ async onResetClickHandler() {
+ this.clear()
+ await this.$nextTick()
+ this.onSearchClickHandler()
+ },
+ get_DisplayPage(sWhere) {
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/Get_TransFerBillListPage',
+ data: {
+ "sWhere": sWhere,
+ "user": getUserInfo()["Czymc"],
+ "page": this.pageMeta.curPage,
+ "size": this.pageMeta.size
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ Message,
+ count
+ } = res.data
+ console.log('res.data: ', res.data);
+ this.listData = data;
+ this.pageMeta.total = count
+ uni.stopPullDownRefresh()
+ }
+ })
+ },
+ onPageChangeHandler() {
+ this.onSearchClickHandler()
+ this.goTop()
+ },
+ // 鏂板寮傚父鍙嶉鍗�
+ onAddClickHandler() {
+ uni.navigateTo({
+ url: "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill?OperationType=1"
+ })
+ },
+ //缂栬緫淇濆吇璁板綍鍗�
+ edit(item) {
+ console.log(item)
+ uni.navigateTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill?OperationType=3&hmainid=' +
+ item
+ .HInterID
+ })
+ },
+ //鍒犻櫎淇濆吇璁板綍鍗�
+ del(item) {
+ uni.showModal({
+ title: '鍒犻櫎纭',
+ content: '纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/Get_DeleteTransFerBill',
+ data: {
+ HInterID: item['HInterID'],
+ HEntryID: item['HEntryID'],
+ user: getUserInfo()['Czymc']
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ count,
+ Message
+ } = res.data
+ if (count == 1) {
+ uni.showToast({
+ icon: count === 1 ? 'success' : 'error',
+ title: Message,
+ duration: 2000
+ });
+
+ // 绛夊緟鎻愮ず鏄剧ず瀹屾垚鍐嶅埛鏂�
+ setTimeout(() => {
+ this.onSearchClickHandler();
+ }, 2000);
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: Message
+ })
+ }
+ }
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ }
+ }
+ });
+ }
+ },
+ }
+</script>
+
+<style lang="scss">
+ .page-header {
+ display: flex;
+ box-sizing: border-box;
+ padding: 20rpx;
+ flex-direction: column;
+ gap: 10rpx;
+ font-size: 32rpx;
+
+ .search-item {
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: center;
+ align-items: center;
+
+ .left {
+ width: 4em;
+ }
+
+ .right {
+ flex: 1;
+ position: relative;
+ border-radius: 22rpx;
+ border: 1px solid #acacac;
+ display: flex;
+ padding: 4rpx 10rpx;
+
+ picker {
+ width: 100%;
+ }
+ }
+ }
+
+ input {
+ width: inherit;
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ }
+
+ .datetime-picker-inner {
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ display: flex;
+ align-items: center;
+ }
+
+ .font__enable {
+ color: #000;
+ }
+
+ .font__disable {
+ color: #cccccc;
+ }
+ }
+
+ .button-groups {
+ box-sizing: border-box;
+ padding: 10rpx 0 0 0;
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: space-between;
+
+ button {
+ border-radius: 50rpx;
+ width: 180rpx;
+ height: 66rpx;
+ line-height: 66rpx;
+ font-size: 28rpx;
+ }
+
+ .btn-a {
+ background-color: #acacac;
+ color: #fff;
+ }
+
+ .btn-b {
+ background-color: #41a863;
+ color: #fff;
+ }
+
+ .btn-c {
+ background-color: #3a78ff;
+ color: #fff;
+ }
+ }
+
+ .page-content {
+ // height: 40vh;
+ box-sizing: border-box;
+ padding: 10rpx 0;
+
+ .card-detail {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ line-height: 120%;
+
+ .detail {
+ // width: 50%;
+ font-size: 26rpx;
+ margin-bottom: 12rpx;
+ color: #555;
+ margin-right: 20rpx;
+
+ text {
+ color: #999;
+ font-size: 26rpx;
+ }
+ }
+ }
+
+ .more {
+ color: #888;
+ font-size: 24rpx;
+ display: flex;
+ border-top: 1px solid #eee;
+ padding-top: 20rpx;
+
+ .part {
+ width: 50%;
+ text-align: center;
+ }
+ }
+
+ .op {
+ display: flex;
+ justify-content: space-around;
+ margin-top: 20rpx;
+
+ button {
+ padding: 0;
+ width: 150rpx;
+ font-size: 25rpx;
+ }
+
+ .op1 {
+ border: 1px solid #41a863;
+ color: #41a863;
+ }
+
+ .op2 {
+ border: 1px solid #d98d00;
+ color: #d98d00;
+ }
+
+ .op3 {
+ border: 1px solid #3a78ff;
+ color: #3a78ff;
+ }
+
+ .op4 {
+ border: 1px solid #da0000;
+ color: #da0000;
+ }
+
+ .op5 {
+ border: 1px solid #888;
+ color: #888;
+ }
+ }
+ }
+
+ .page-footer {
+ position: fixed;
+ bottom: 0;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 32rpx 40rpx;
+ }
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill.vue
new file mode 100644
index 0000000..79231c3
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill.vue
@@ -0,0 +1,888 @@
+<template>
+ <view>
+ <!-- 椤电鍖哄煙 -->
+ <view class="tabs" id="tabs">
+ <view class="tabs">
+ <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">鍩烘湰淇℃伅</view>
+ <view :class="tabs == 1 ? 'on':''" @tap="tabs = 1">鍏朵粬淇℃伅</view>
+ <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">鍒跺崟淇℃伅</view>
+ </view>
+ </view>
+ <!-- 鍩烘湰淇℃伅 -->
+ <template v-if="tabs == 0">
+ <view class="form" :style="{height: containerHeight + 'px',overflow: 'auto' }">
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙�:</view>
+ <view class="righton">
+ <input name="HBillNo" disabled v-model="hform.HBillNo" placeholder="璇疯緭鍏ュ崟鎹彿" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDate" disabled v-model="hform.HDate" placeholder="璇烽�夋嫨" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">楠屾敹鍐呭:</view>
+ <view class="right">
+ <input name="HCheckNote" v-model="hform.HCheckNote" placeholder="璇疯緭鍏ラ獙鏀跺唴瀹�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">楠屾敹缁撴灉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHCheckResult" placeholder="璇烽�夋嫨楠屾敹缁撴灉" v-model="hform.HCheckResult"
+ @input="HCheckResultChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">楠屾敹鏃堕棿:</view>
+ <view class="righton">
+ <input name="HHCheckDate" disabled v-model="hform.HHCheckDate" placeholder="璇烽�夋嫨" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">涓婚:</view>
+ <view class="right">
+ <input name="HContext" v-model="hform.HContext" placeholder="璇疯緭鍏ヤ富棰�" />
+ </view>
+ </view>
+ <view class="form-item" style="align-items: flex-start;">
+ <view class="title"><text>*</text>璇︾粏鍐呭:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <textarea name="HDescription" v-model="hform.HDescription" auto-height maxlength="-1"
+ placeholder="璇疯緭鍏ヨ缁嗗唴瀹�"></textarea>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">寮傚父绫诲瀷:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHErrMsgBackTypeName" placeholder="璇烽�夋嫨"
+ v-model="hform.HErrMsgBackTypeName" @input="HErrMsgBackTypeNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�侀儴闂�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HDeptName"
+ @input="HDeptNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鍙戦�佷汉" v-model="hform.HSendMan"
+ @input="HSendManChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title"><text>*</text>鎺ユ敹浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎺ユ敹浜�" v-model="hform.HReceiveMan"
+ @input="HReceiveManChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title"><text>*</text>楠屾敹浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨楠屾敹浜�" v-model="hform.HCheckEmpName"
+ @input="HCheckEmpManChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐩稿叧璁惧:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEquipName" placeholder="璇烽�夋嫨" v-model="hform.HEquipName"
+ @input="HEquipNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐩稿叧妯″叿:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHMouldName" placeholder="璇烽�夋嫨" v-model="hform.HMouldName"
+ @input="HMouldIDNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浜у搧鍚嶇О:</view>
+ <view class="right">
+ <input name="HMaterName" v-model="hform.HMaterName" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瑙勬牸鍨嬪彿:</view>
+ <view class="right">
+ <input name="HMaterModel" v-model="hform.HMaterModel" placeholder="璇疯緭鍏ヨ鏍煎瀷鍙�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶囨敞:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <input name="HRemark" v-model="hform.HRemark" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍏朵粬淇℃伅 -->
+ <template v-if="tabs == 1">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鎺ユ敹閮ㄩ棬:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HReceiveName"
+ @input="HRecceiveChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鎶勯�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎶勯�佷汉" v-model="hform.HCopyMan"
+ @input="HCopyManChange" multiple></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">绱ф�ョ▼搴�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHLevel" placeholder="璇烽�夋嫨绱ф�ョ▼搴�" v-model="hform.HLevel"
+ @input="HLevelChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁绫诲瀷:</view>
+ <view class="righton">
+ <input name="HBillTypeName" disabled v-model="hform.HBillTypeName" placeholder="璇疯緭鍏ュ崟鎹被鍨�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙风爜:</view>
+ <view class="righton">
+ <input name="HPlanBillNo" disabled v-model="hform.HPlanBillNo" placeholder="璇疯緭鍏ュ崟鎹彿鐮�" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍒跺崟淇℃伅 -->
+ <template v-if="tabs == 2">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鍒跺崟浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HMaker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍒跺崟鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HMakeDate" disabled v-model="hform.HMakeDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HUpDater" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HUpDateDate" disabled v-model="hform.HUpDateDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HChecker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HCheckDate" disabled v-model="hform.HCheckDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HDeleteMan" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDeleteDate" disabled v-model="hform.HDeleteDate" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <view class="buttons" id="buttons">
+ <button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+ <view style="flex: 1;"></view>
+ <button class="btn-a" size="mini" @tap="addNew">鏂板</button>
+ <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
+ </view>
+ </view>
+</template>
+<script>
+ import dayjs from "dayjs";
+ import {
+ CommonUtils
+ } from "@/utils/common";
+ import getDateTime from '@/utils/getdateTime.js';
+ import {
+ getUserInfo
+ } from "../../../../utils/auth";
+ import "@/pages/ZLGL/AanDengHujiao/style/OA_ErrMsgStyle.scss"
+ export default {
+ data() {
+ return {
+ tabs: 0,
+ tabsBottom: 0,
+ userInfo: getUserInfo(),
+ serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
+ OperationType: 1,
+ refSav: "",
+
+ arrayHLevel: ['鏅��', '绱ф��'],
+ arrayHCheckResult: ['瀹屾垚', '鏈畬鎴�'],
+
+ // 浜哄憳鐩稿叧鏁扮粍
+ arrayHEmpName: [], // 鎺ユ敹浜� 鍙戦�佷汉 楠屾敹浜� 璐d换浜� 鎶勯�佷汉 QE璐d换浜�
+ HEmpNameList: [],
+
+
+ // 鍏朵粬鏁扮粍
+ arrayHDeptName: [], // 鎺ユ敹銆佸彂閫侀儴闂�
+ HDeptNameList: [],
+ arrayHErrMsgBackTypeName: [], // 寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameList: [],
+ arrayHEquipName: [], //璁惧
+ HEquipNameList: [],
+ arrayHMouldName: [], //妯″叿
+ HMouldNameList: [],
+
+ isEdit: false,
+
+ hform: {
+ HBillNo: '',
+ HInterID: '',
+ HDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HHCheckDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HCheckNote: '',
+ HContext: '',
+ HDescription: '',
+ HRemark: '',
+
+ HErrMsgBackTypeName: '',
+ HErrMsgBackTypeID: '0',
+ HDeptName: getUserInfo().HDeptName,
+ HDeptID: getUserInfo().HDeptID,
+ HReceiveName: getUserInfo().HDeptName,
+ HReceiveID: getUserInfo().HDeptID,
+
+ HSendMan: getUserInfo().Czymc, //鍙戦�佷汉
+ HReceiveMan: getUserInfo().HEmpName, //鎺ユ敹浜�
+ HCheckEmpName: getUserInfo().HEmpName, //楠屾敹浜�
+ HCheckEmpID: getUserInfo().HEmpID,
+ HCopyMan: '', //鎶勯�佷汉
+
+ HCheckResult: '瀹屾垚',
+ HLevel: '鏅��',
+ HBillTypeName: '',
+ HPlanBillNo: '',
+ HMaterNumber: '',
+ HMaterName: '',
+ HMaterModel: '',
+
+ // 鏂版坊鍔犵殑瀛楁
+
+
+ HEquipName: '', // 璁惧
+ HEquipID: '0', // 璁惧ID
+ HMouldName: '', // 妯″叿
+ HMouldID: '0', // 妯″叿ID
+
+ HMainSourceBillNo: '',
+ HMainSourceInterID: '0',
+ HMainSourceEntryID: '0',
+ HMainSourceBillType: '',
+
+ HErrMsgBackBillNo: '',
+ HErrMsgBackInterID: '0',
+ HErrMsgBackEntryID: '0',
+
+ HMaker: getUserInfo().Czymc,
+ HMakeDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HUpDater: '',
+ HUpDateDate: '',
+ HChecker: '',
+ HCheckDate: '',
+ HDeleteMan: '', // 浣滃簾浜�
+ HDeleteDate: '', // 浣滃簾鏃ユ湡
+ }
+ }
+ },
+ onLoad(e) {
+ this.getListData()
+ if (!e.OperationType) {
+ this.OperationType = 1
+ } else {
+ this.OperationType = e.OperationType
+ }
+
+ if (this.OperationType == 1) {
+ // 鏂板
+ this.getMaxNum()
+ } else if (this.OperationType == 2) {
+ // 鏈夋簮鍗�
+ this.getMaxNum()
+ } else if (this.OperationType == 3) {
+ // 缂栬緫
+ this.getEditData(e.hmainid)
+ } else if (this.OperationType == 4) {
+ // 娴忚
+ }
+ },
+ computed: {
+ containerHeight: {
+ get() {
+ return this.btnTop - this.tabsBottom - 5
+ }
+ }
+ },
+ onReady() {
+ const query = uni.createSelectorQuery().in(this)
+ query.select("#buttons")
+ .boundingClientRect()
+ .select("#tabs")
+ .boundingClientRect()
+ .exec(res => {
+ this.btnTop = Math.floor(res[0].top)
+ this.tabsBottom = Math.ceil(res[1].bottom)
+ })
+ },
+ methods: {
+ //閫夋嫨鍙戦�侀儴闂�
+ HDeptNameChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HDeptID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹閮ㄩ棬
+ HRecceiveChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HReceiveID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameChange(e) {
+ for (var i = 0; i < this.HErrMsgBackTypeNameList.length; i++) {
+ if (this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О == e) {
+ this.hform.HErrMsgBackTypeName = this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О;
+ this.hform.HErrMsgBackTypeID = this.HErrMsgBackTypeNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鍙戦�佷汉
+ HSendManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹浜�
+ HReceiveManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨楠屾敹浜�
+ HCheckEmpChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+ this.hform.HCheckEmpID = this.HEmpNameList[i].HItemID
+ }
+ }
+ },
+ //閫夋嫨鎶勯�佷汉
+ HCopyManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨璁惧
+ HEquipNameChange(e) {
+ for (var i = 0; i < this.HEquipNameList.length; i++) {
+ if (this.HEquipNameList[i].HName == e) {
+ this.hform.HEquipName = this.HEquipNameList[i].HName;
+ this.hform.HEquipID = this.HEquipNameList[i].HInterID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨妯″叿
+ HMouldIDNameChange(e) {
+ for (var i = 0; i < this.HMouldNameList.length; i++) {
+ if (this.HMouldNameList[i].HName == e) {
+ this.hform.HMouldName = this.HMouldNameList[i].HName;
+ this.hform.HMouldID = this.HMouldNameList[i].HInterID;
+ break;
+ }
+ }
+ },
+ // 闈欐�佷笅鎷夋閫夋嫨鏂规硶
+ HLevelChange(e) {
+ this.hform.HLevel = e;
+ },
+ //鏂板鎸夐挳浜嬩欢
+ addNew() {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: '鏂板鍚庨〉闈㈡暟鎹皢娑堝け锛岀‘瀹氳鏂板鍚楋紵',
+ success: (res) => {
+ if (res.confirm) {
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill?operationType=1'
+ })
+ // 閲嶆柊鑾峰彇鏈�澶у崟鎹彿
+ this.getMaxNum();
+ // 鍒囨崲鍒板熀鏈俊鎭〉绛�
+ this.tabs = 0;
+ }
+ }
+ });
+ },
+ // 鑾峰彇鎵�鏈夊垪琛ㄦ暟鎹�
+ async getListData() {
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ await this.getDepartmentList();
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ await this.getHErrMesTypeList();
+ // 鑾峰彇浜哄憳鍒楄〃锛堟帴鏀朵汉銆侀獙鏀朵汉銆佹妱閫佷汉銆佽矗浠讳汉銆丵E璐d换浜猴級
+ await this.getPersonList();
+ // 鑾峰彇璁惧鍒楄〃
+ await this.getEquipList();
+ // 鑾峰彇妯″叿鍒楄〃
+ await this.getModList();
+ },
+
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ getDepartmentList() {
+ uni.request({
+ url: this.serverUrl + '/Gy_Department/list',
+ data: {
+ sWhere: "",
+ user: uni.getStorageSync('HUserName'),
+ Organization: uni.getStorageSync('Organization')
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HDeptNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHDeptName[i] = res.data.data[i].閮ㄩ棬鍚嶇О
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ getHErrMesTypeList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_ErrMsgBackTypeList_Json',
+ data: {
+ ErrMsg: "",
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HErrMsgBackTypeNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHErrMsgBackTypeName[i] = res.data.data[i].寮傚父鍙嶉绫诲瀷鍚嶇О
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇浜哄憳鍒楄〃锛堥�氱敤鏂规硶锛�
+ getPersonList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetEmployeeList_Json',
+ data: {
+ Employee: '',
+ HGroupID: 0
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HEmpNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHEmpName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇璁惧鍒楄〃
+ getEquipList() {
+ uni.request({
+ url: this.serverUrl + '/WEBSController/GetEquipList_Json',
+ data: {
+ Equip: "",
+ HCenterID: 0 //uni.getStorageSync("HWorkCenterID")
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HEquipNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHEquipName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇妯″叿鍒楄〃
+ getModList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_MouldFileMainList_Json',
+ data: {
+ MouldFileMain: ""
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HMouldNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHMouldName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ //鏂板
+ getMaxNum() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetMAXNum',
+ data: {
+ HBillType: '4532'
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.hform.HInterID = res.data.data[0].HInterID
+ this.hform.HBillNo = res.data.data[0].HBillNo
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ getEditData(HInterID) {
+ uni.showLoading({
+ title: '鍔犺浇涓�'
+ });
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/Edit_OA_ErrMsgBackCheckBill',
+ data: {
+ "HID": HInterID
+ },
+ success: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁:', res);
+ if (res.data.code == 1) {
+ const data = res.data.data[0]; // 娉ㄦ剰杩欓噷鏀逛负data[0]
+ this.hform = {
+ ...this.hform, // 淇濈暀鍘熸湁鐨勯粯璁ゅ��
+ HInterID: data["hmainid"] || '',
+ HEntryID: data["HEntryID"] || '',
+ HBillNo: data["鍗曟嵁鍙�"] || '',
+ HDate: data["鏃ユ湡"] ? dayjs(data["鏃ユ湡"]).format("YYYY-MM-DD") : dayjs(
+ new Date()).format("YYYY-MM-DD"),
+
+ HErrMsgBackTypeID: data["HErrMsgBackTypeID"] || '0',
+ HErrMsgBackTypeName: data["寮傚父绫诲瀷"] || '',
+ HContext: data["涓婚"] || '',
+ HDescription: data["鍐呭"] || '',
+
+ HDeptID: data["HDeptID"] || '0',
+ HDeptName: data["鍙戦�侀儴闂�"] || '',
+ HReceiveID: data["HReceiveID"] || '0', // 鏂板瀛楁
+ HReceiveName: data["鎺ユ敹閮ㄩ棬"] || '',
+
+ HSendMan: data["鍙戦�佷汉"] || '',
+ HReceiveMan: data["鎺ユ敹浜�"] || '',
+ HCopyMan: data["鎶勯�佷汉"] || '',
+
+ HBillTypeName: data["鍗曟嵁绫诲瀷"] || '',
+ HPlanBillNo: data["鍗曟嵁鍙风爜"] || '',
+ HMaterName: data["浜у搧鍚嶇О"] || '',
+ HMaterModel: data["瑙勬牸鍨嬪彿"] || '',
+
+ HEquipID: data["HEquipID"] || '0',
+ HEquipName: data["璁惧鍚嶇О"] || '',
+
+ HMouldID: data["HMouldID"] || '0',
+ HMouldName: data["妯℃不鍏峰悕绉�"] || '',
+
+ HCheckEmpID: data["HCheckEmpID"] || '0',
+ HCheckEmp: data["楠屾敹浜�"] || '',
+ HCheckNote: data["楠屾敹鍐呭"] || '',
+ HCheckResult: data["楠屾敹缁撴灉"] || '',
+ HHCheckDate: data["楠屾敹鏃堕棿"] ? dayjs(data["楠屾敹鏃堕棿"]).format(
+ "YYYY-MM-DD HH:mm:ss") : dayjs(new Date()).format("YYYY-MM-DD"),
+
+
+ HMainSourceInterID: data["婧愬崟ID"] || '0',
+ HMainSourceEntryID: data["婧愬崟瀛怚D"] || '0',
+ HMainSourceBillNo: data["婧愬崟鍗曞彿"] || '',
+ HMainSourceBillType: data["婧愬崟绫诲瀷"] || '',
+
+ HErrMsgBackBillNo: data["寮傚父鍙嶉鍗曞彿"] || '',
+ HErrMsgBackInterID: data["寮傚父鍙嶉鍗曚富鍐呯爜"] || '0',
+ HErrMsgBackEntryID: data["寮傚父鍙嶉鍗曞瓙鍐呯爜"] || '0',
+
+ HRemark: data["琛ㄥご澶囨敞"] || '',
+ HMaker: data["鍒跺崟浜�"] || this.userInfo.Czymc || '',
+ HMakeDate: data["鍒跺崟鏃ユ湡"] ? dayjs(data["鍒跺崟鏃ユ湡"]).format("YYYY-MM-DD") : dayjs(
+ new Date()).format("YYYY-MM-DD"),
+
+ HUpDater: data["淇敼浜�"] || this.userInfo.Czymc || '',
+ HUpDateDate: data["淇敼鏃ユ湡"] ? dayjs(data["淇敼鏃ユ湡"]).format("YYYY-MM-DD") :
+ dayjs(new Date()).format("YYYY-MM-DD"),
+
+ HChecker: data["瀹℃牳浜�"] || '',
+ HCheckDate: data["瀹℃牳鏃ユ湡"] ? dayjs(data["瀹℃牳鏃ユ湡"]).format("YYYY-MM-DD") : '',
+
+ HDeleteMan: data["浣滃簾浜�"] || '',
+ HDeleteDate: data["浣滃簾鏃ユ湡"] ? dayjs(data["浣滃簾鏃ユ湡"]).format("YYYY-MM-DD") : '',
+
+ HLevel: data["绱ф�ョ▼搴�"] || '鏅��'
+ };
+
+ this.isEdit = true;
+ } else {
+ uni.showToast({
+ title: res.data.msg || '鑾峰彇缂栬緫鏁版嵁澶辫触',
+ icon: 'none'
+ });
+ }
+ },
+ fail: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁璇锋眰澶辫触:', res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ });
+ }
+ });
+ },
+
+ submit() {
+ if (!this.hform.HReceiveMan) {
+ uni.showToast({
+ title: '璇烽�夋嫨鎺ユ敹浜�',
+ icon: 'none'
+ })
+ } else {
+ uni.showLoading({
+ title: '璇风◢鍊�'
+ })
+ if (this.OperationType == 1 || this.OperationType == 2 || this.OperationType == 4) {
+ this.refSav = "Add";
+ }
+ //鑻ヤ负缂栬緫-淇濆瓨锛屽垯鏇存柊淇敼浜哄拰淇敼鏃堕棿
+ if (this.OperationType == 3) {
+ this.refSav = "Update";
+ this.hform.HUpdater = getUserInfo().Czymc;
+ this.hform.HUpdaterDate = dayjs(new Date()).format("YYYY-MM-DD");
+ }
+ var sMainStr = JSON.stringify(this.hform);
+ var sMainSub = sMainStr + ';' + this.refSav + ';' + uni.getStorageSync('HUserName')
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/SaveOA_ErrMsgBackCheckBill_APP',
+ method: 'POST',
+ dataType: "json",
+ data: {
+ "msg": sMainSub
+ },
+ success: (res) => {
+ console.log(1, res);
+ uni.hideLoading()
+ if (res.data.count == 1) {
+ if (res.data.Verify == "Y") { //鑷姩瀹℃牳
+ this.SaveVerify(res.data.HInterID) //瀹℃牳
+ } else {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ }
+ }
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ }
+ },
+
+ SaveVerify(HInterID) {
+ var datas = {
+ HInterID: HInterID,
+ IsAudit: 0,
+ CurUserName: getUserInfo().Czymc
+ }
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/AuditOA_ErrMsgBackCheckBill',
+ method: 'GET',
+ dataType: "json",
+ async: true,
+ data: datas,
+ success: (res) => {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ goBack() {
+ uni.navigateBack()
+ }
+ }
+ }
+</script>
+
+<style lang="scss">
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBillList.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBillList.vue
new file mode 100644
index 0000000..b54c5f0
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBillList.vue
@@ -0,0 +1,573 @@
+<template>
+ <view>
+ <view class="page-header">
+ <view class="search-item">
+ <view class="left">鏃ユ湡闂撮殧</view>
+ <view class="right">
+ <picker mode="selector" :value="curDateGap" :range="dateRangePicker"
+ @change="onDateRangePickerChangeHandler">
+ <input disabled v-model="curDateGap" placeholder="璇烽�夋嫨鏃ユ湡闂撮殧" />
+ <view class="picker-overlay"></view>
+ </picker>
+
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">寮�濮嬫棩鏈�</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="startDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">
+ <text>{{ startDate }}</text>
+ </view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">缁撴潫鏃ユ湡</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="endDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">{{ endDate }}</view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">鍗曟嵁鍙�</view>
+ <view class="right">
+ <input type="text" auto-focus v-model="HBillNo" />
+ </view>
+ </view>
+
+ <view class="button-groups">
+ <button type="default" size="mini" class="btn-b" @tap.stop="onAddClickHandler">鏂板</button>
+ <button type="default" size="mini" class="btn-c" @tap.stop="onSearchClickHandler">鏌ヨ</button>
+ <button type="default" size="mini" class="btn-a" @tap.stop="onResetClickHandler">閲嶇疆</button>
+ </view>
+ </view>
+ <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
+ <scroll-view id="pageContent" scroll-y class="page-content" :style="{height: pageContentHeight + 'px'}">
+ <view class="list" v-for="(item,index) in listData" :key="index">
+ <uni-card :title="item.鍗曟嵁鐘舵��" :extra="item.鍗曟嵁鍙�" style="margin: 10px;"
+ @tap="showDetail = showDetail==index?-1:index">
+ <view class="card-detail">
+ <view class="detail" v-if="item.浜у搧鍚嶇О">
+ <text>浜у搧鍚嶇О锛�</text>{{item.浜у搧鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.涓婚">
+ <text>涓婚锛�</text>{{item.涓婚}}
+ </view>
+ <view class="detail" v-if="item.鍐呭">
+ <text>鍐呭锛�</text>{{item.鍐呭}}
+ </view>
+ <view class="detail" v-if="item.寮傚父绫诲瀷">
+ <text>寮傚父绫诲瀷锛�</text>{{item.寮傚父绫诲瀷}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�侀儴闂�">
+ <text>鍙戦�侀儴闂細</text>{{item.鍙戦�侀儴闂▆}
+ </view>
+ <view class="detail" v-if="item.鎺ユ敹閮ㄩ棬">
+ <text>鎺ユ敹閮ㄩ棬锛�</text>{{item.鎺ユ敹閮ㄩ棬}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�佷汉">
+ <text>鍙戦�佷汉锛�</text>{{item.鍙戦�佷汉}}
+ </view>
+ <view class="detail" v-if="item.鎺ユ敹浜�">
+ <text>鎺ユ敹浜猴細</text>{{item.鎺ユ敹浜簘}
+ </view>
+ <view class="detail" v-if="item.楠屾敹浜�">
+ <text>楠屾敹浜猴細</text>{{item.楠屾敹浜簘}
+ </view>
+ <view class="detail" v-if="item.鎶勯�佷汉">
+ <text>鎶勯�佷汉锛�</text>{{item.鎶勯�佷汉}}
+ </view>
+ <view class="detail" v-if="item.楠屾敹鍐呭">
+ <text>楠屾敹鍐呭锛�</text>{{item.楠屾敹鍐呭}}
+ </view>
+ <view class="detail" v-if="item.楠屾敹缁撴灉">
+ <text>楠屾敹缁撴灉锛�</text>{{item.楠屾敹缁撴灉}}
+ </view>
+ <view class="detail" v-if="item.寮傚父鍙嶉鍗曞彿">
+ <text>寮傚父鍙嶉鍗曞彿锛�</text>{{item.寮傚父鍙嶉鍗曞彿}}
+ </view>
+ </view>
+ <view class="card-detail" v-if="showDetail == index">
+ <view class="detail" v-if="item.鍒跺崟浜�">
+ <text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
+ </view>
+ <view class="detail" v-if="item.鍒跺崟鏃ユ湡">
+ <text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳浜�">
+ <text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳鏃ユ湡">
+ <text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.淇敼浜�">
+ <text>淇敼浜猴細</text>{{item.淇敼浜簘}
+ </view>
+ <view class="detail" v-if="item.淇敼鏃ユ湡">
+ <text>淇敼鏃ユ湡锛�</text>{{item.淇敼鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴浜�">
+ <text>鍏抽棴浜猴細</text>{{item.鍏抽棴浜簘}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴鏃ユ湡">
+ <text>鍏抽棴鏃ユ湡锛�</text>{{item.鍏抽棴鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.浣滃簾浜�">
+ <text>浣滃簾浜猴細</text>{{item.浣滃簾浜簘}
+ </view>
+ <view class="detail" v-if="item.浣滃簾鏃ユ湡">
+ <text>浣滃簾鏃ユ湡锛�</text>{{item.浣滃簾鏃ユ湡.substr(0,10)}}
+ </view>
+ </view>
+
+
+ <view class="more" v-if="showDetail == index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="top" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏀惰捣
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+ <view class="more" v-if="showDetail != index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="bottom" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏇村淇℃伅
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+
+ <view class="op" v-if="operations == index">
+ <button class="op3" size="mini" plain @tap.stop="edit(item)">缂栬緫</button>
+ <button class="op4" size="mini" plain @tap.stop="del(item)">鍒犻櫎</button>
+ <button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
+ </view>
+ </uni-card>
+ </view>
+ <view class="over" v-if="listData.length == 0">鏆傛棤鏁版嵁</view>
+ </scroll-view>
+ <!-- 鍒嗛〉鍣� -->
+ <view class="page-footer">
+ <uni-pagination id="pagination" title="鏍囬鏂囧瓧" v-model="pageMeta.curPage" :pageSize="pageMeta.size"
+ :total="pageMeta.total" @change="onPageChangeHandler"></uni-pagination>
+ </view>
+ </view>
+</template>
+
+<script>
+ import dayjs from 'dayjs'
+ import {
+ CommonUtils
+ } from '@/utils/common.js'
+ import {
+ getUserInfo
+ } from '../../../../utils/auth'
+ export default {
+ data() {
+ return {
+ // 璁$畻鍗$墖鍒楄〃楂樺害
+ pagination_top: 0,
+ pageContent_top: 0,
+ // 鍒嗛〉鎺у埗
+ pageMeta: {
+ curPage: 1,
+ size: 50,
+ total: 0,
+ },
+ // 婊氬姩鎺у埗
+ scrollTop: 0,
+ old: {
+ scrollTop: 0
+ },
+
+ dateRangePicker: ["浠绘剰闂撮殧", "浠婂ぉ", "杩戜袱澶�", "杩戜笁澶�", "杩戝洓澶�", "杩戜簲澶�", "杩戝叚澶�", "杩戜竷澶�", "杩�30澶�"],
+ curDateGap: "杩戜竷澶�",
+ enableCustomDateRange: false,
+ startDate: dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD'),
+ endDate: dayjs(new Date()).format('YYYY-MM-DD'),
+ HBillNo: '',
+
+ listData: [],
+ showDetail: -1,
+ operations: -1,
+ }
+ },
+ computed: {
+ pageContentHeight: {
+ get() {
+ return (this.pagination_top - this.pageContent_top)
+ }
+ },
+ },
+ onLoad() {
+ this.onSearchClickHandler()
+ },
+ onPullDownRefresh() {
+ this.onSearchClickHandler()
+ },
+ async onReady() {
+ // #ifndef MP-WEIXIN
+ let query = uni.createSelectorQuery().in(this)
+ query.select("#pagination")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pagination_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pagination鑺傜偣");
+ }
+ })
+ .exec();
+ query.select("#pageContent")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pageContent_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pageContent鑺傜偣");
+ }
+ })
+ .exec();
+ // #endif
+
+ },
+ methods: {
+ goTop: function(e) {
+ // 瑙e喅view灞備笉鍚屾鐨勯棶棰�
+ this.scrollTop = this.old.scrollTop
+ this.$nextTick(function() {
+ this.scrollTop = 0
+ });
+ },
+ onDateRangePickerChangeHandler({
+ detail
+ }) {
+ this.enableCustomDateRange = false
+ this.curDateGap = this.dateRangePicker[detail.value]
+ let date = new Date()
+ switch (this.curDateGap) {
+ case "浠婂ぉ":
+ this.startDate = dayjs(date).format("YYYY-MM-DD")
+ break;
+ case "杩戜竴澶�":
+ this.startDate = dayjs(date).subtract(1, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜袱澶�":
+ this.startDate = dayjs(date).subtract(2, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜笁澶�":
+ this.startDate = dayjs(date).subtract(3, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝洓澶�":
+ this.startDate = dayjs(date).subtract(4, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜簲澶�":
+ this.startDate = dayjs(date).subtract(5, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝叚澶�":
+ this.startDate = dayjs(date).subtract(6, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜竷澶�":
+ this.startDate = dayjs(date).subtract(7, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩�30澶�":
+ this.startDate = dayjs(date).subtract(30, 'day').format("YYYY-MM-DD")
+ break;
+ }
+ if (this.curDateGap == '浠绘剰闂撮殧') {
+ this.enableCustomDateRange = true
+ }
+ },
+ onSearchClickHandler() {
+ let sWhere = ""
+ if (this.startDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.startDate + "'";
+ }
+ if (this.endDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.endDate + "'";
+ }
+ if (this.HBillNo) {
+ sWhere += " and 鍗曟嵁鍙� like '%" + this.HBillNo + "%'";
+ }
+ this.get_DisplayPage(sWhere);
+ },
+ clear() {
+ this.curDateGap = "杩戜竷澶�"
+ this.enableCustomDateRange = false
+ this.startDate = dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD')
+ this.endDate = dayjs(new Date()).format('YYYY-MM-DD')
+ this.HBillNo = ''
+ },
+ async onResetClickHandler() {
+ this.clear()
+ await this.$nextTick()
+ this.onSearchClickHandler()
+ },
+ get_DisplayPage(sWhere) {
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/Get_OA_ErrMsgBackCheckBillListPage',
+ data: {
+ "sWhere": sWhere,
+ "user": getUserInfo()["Czymc"],
+ "page": this.pageMeta.curPage,
+ "size": this.pageMeta.size
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ Message,
+ count
+ } = res.data
+ console.log('res.data: ', res.data);
+ this.listData = data;
+ this.pageMeta.total = count
+ uni.stopPullDownRefresh()
+ }
+ })
+ },
+ onPageChangeHandler() {
+ this.onSearchClickHandler()
+ this.goTop()
+ },
+ // 鏂板寮傚父鍙嶉鍗�
+ onAddClickHandler() {
+ uni.navigateTo({
+ url: "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill?OperationType=1"
+ })
+ },
+ //缂栬緫寮傚父鍙嶉绛惧埌鍗�
+ edit(item) {
+ console.log(item)
+ uni.navigateTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill?OperationType=3&hmainid=' +item.hmainid
+ })
+ },
+ //鍒犻櫎寮傚父鍙嶉绛惧埌鍗�
+ del(item) {
+ uni.showModal({
+ title: '鍒犻櫎纭',
+ content: '纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/DeleteOA_ErrMsgBackCheckBill',
+ data: {
+ HInterID: item['hmainid'],
+ user: getUserInfo()['Czymc']
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ count,
+ Message
+ } = res.data
+ if (count == 1) {
+ uni.showToast({
+ icon: count === 1 ? 'success' : 'error',
+ title: Message,
+ duration: 2000
+ });
+
+ // 绛夊緟鎻愮ず鏄剧ず瀹屾垚鍐嶅埛鏂�
+ setTimeout(() => {
+ this.onSearchClickHandler();
+ }, 2000);
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: Message
+ })
+ }
+ }
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ }
+ }
+ });
+ }
+ },
+ }
+</script>
+
+<style lang="scss">
+ .page-header {
+ display: flex;
+ box-sizing: border-box;
+ padding: 20rpx;
+ flex-direction: column;
+ gap: 10rpx;
+ font-size: 32rpx;
+
+ .search-item {
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: center;
+ align-items: center;
+
+ .left {
+ width: 4em;
+ }
+
+ .right {
+ flex: 1;
+ position: relative;
+ border-radius: 22rpx;
+ border: 1px solid #acacac;
+ display: flex;
+ padding: 4rpx 10rpx;
+
+ picker {
+ width: 100%;
+ }
+ }
+ }
+
+ input {
+ width: inherit;
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ }
+
+ .datetime-picker-inner {
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ display: flex;
+ align-items: center;
+ }
+
+ .font__enable {
+ color: #000;
+ }
+
+ .font__disable {
+ color: #cccccc;
+ }
+ }
+
+ .button-groups {
+ box-sizing: border-box;
+ padding: 10rpx 0 0 0;
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: space-between;
+
+ button {
+ border-radius: 50rpx;
+ width: 180rpx;
+ height: 66rpx;
+ line-height: 66rpx;
+ font-size: 28rpx;
+ }
+
+ .btn-a {
+ background-color: #acacac;
+ color: #fff;
+ }
+
+ .btn-b {
+ background-color: #41a863;
+ color: #fff;
+ }
+
+ .btn-c {
+ background-color: #3a78ff;
+ color: #fff;
+ }
+ }
+
+ .page-content {
+ // height: 40vh;
+ box-sizing: border-box;
+ padding: 10rpx 0;
+
+ .card-detail {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ line-height: 120%;
+
+ .detail {
+ // width: 50%;
+ font-size: 26rpx;
+ margin-bottom: 12rpx;
+ color: #555;
+ margin-right: 20rpx;
+
+ text {
+ color: #999;
+ font-size: 26rpx;
+ }
+ }
+ }
+
+ .more {
+ color: #888;
+ font-size: 24rpx;
+ display: flex;
+ border-top: 1px solid #eee;
+ padding-top: 20rpx;
+
+ .part {
+ width: 50%;
+ text-align: center;
+ }
+ }
+
+ .op {
+ display: flex;
+ justify-content: space-around;
+ margin-top: 20rpx;
+
+ button {
+ padding: 0;
+ width: 150rpx;
+ font-size: 25rpx;
+ }
+
+ .op1 {
+ border: 1px solid #41a863;
+ color: #41a863;
+ }
+
+ .op2 {
+ border: 1px solid #d98d00;
+ color: #d98d00;
+ }
+
+ .op3 {
+ border: 1px solid #3a78ff;
+ color: #3a78ff;
+ }
+
+ .op4 {
+ border: 1px solid #da0000;
+ color: #da0000;
+ }
+
+ .op5 {
+ border: 1px solid #888;
+ color: #888;
+ }
+ }
+ }
+
+ .page-footer {
+ position: fixed;
+ bottom: 0;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 32rpx 40rpx;
+ }
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill.vue
new file mode 100644
index 0000000..af2286d
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill.vue
@@ -0,0 +1,943 @@
+<template>
+ <view>
+ <!-- 椤电鍖哄煙 -->
+ <view class="tabs" id="tabs">
+ <view class="tabs">
+ <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">鍩烘湰淇℃伅</view>
+ <view :class="tabs == 1 ? 'on':''" @tap="tabs = 1">鍏朵粬淇℃伅</view>
+ <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">鍒跺崟淇℃伅</view>
+ </view>
+ </view>
+ <!-- 鍩烘湰淇℃伅 -->
+ <template v-if="tabs == 0">
+ <view class="form" :style="{height: containerHeight + 'px',overflow: 'auto' }">
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙�:</view>
+ <view class="righton">
+ <input name="HBillNo" disabled v-model="hform.HBillNo" placeholder="璇疯緭鍏ュ崟鎹彿" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDate" disabled v-model="hform.HDate" placeholder="璇烽�夋嫨" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶勭悊鍐呭:</view>
+ <view class="right">
+ <input name="HHandleNote" v-model="hform.HHandleNote" placeholder="璇疯緭鍏ュ鐞嗗唴瀹�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶勭悊缁撴灉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHHandleResult" placeholder="璇烽�夋嫨澶勭悊缁撴灉" v-model="hform.HHandleResult"
+ @input="HHandleResultChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹屾垚鏃堕棿:</view>
+ <view class="righton">
+ <input name="HHandleDate" disabled v-model="hform.HHandleDate" placeholder="璇烽�夋嫨" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">涓婚:</view>
+ <view class="right">
+ <input name="HContext" v-model="hform.HContext" placeholder="璇疯緭鍏ヤ富棰�" />
+ </view>
+ </view>
+ <view class="form-item" style="align-items: flex-start;">
+ <view class="title"><text>*</text>璇︾粏鍐呭:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <textarea name="HDescription" v-model="hform.HDescription" auto-height maxlength="-1"
+ placeholder="璇疯緭鍏ヨ缁嗗唴瀹�"></textarea>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">寮傚父绫诲瀷:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHErrMsgBackTypeName" placeholder="璇烽�夋嫨"
+ v-model="hform.HErrMsgBackTypeName" @input="HErrMsgBackTypeNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�侀儴闂�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HDeptName"
+ @input="HDeptNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鍙戦�佷汉" v-model="hform.HSendMan"
+ @input="HSendManChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title"><text>*</text>鎺ユ敹浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎺ユ敹浜�" v-model="hform.HReceiveMan"
+ @input="HReceiveManChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title"><text>*</text>澶勭悊浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨澶勭悊浜�" v-model="hform.HHandleEmpName"
+ @input="HHandleEmpChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶勭悊鍘熷洜:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHBadReasonName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HBadReasonName"
+ @input="HBadReasonNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐩稿叧璁惧:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEquipName" placeholder="璇烽�夋嫨" v-model="hform.HEquipName"
+ @input="HEquipNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐩稿叧妯″叿:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHMouldName" placeholder="璇烽�夋嫨" v-model="hform.HMouldName"
+ @input="HMouldIDNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浜у搧鍚嶇О:</view>
+ <view class="right">
+ <input name="HMaterName" v-model="hform.HMaterName" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瑙勬牸鍨嬪彿:</view>
+ <view class="right">
+ <input name="HMaterModel" v-model="hform.HMaterModel" placeholder="璇疯緭鍏ヨ鏍煎瀷鍙�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶囨敞:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <input name="HRemark" v-model="hform.HRemark" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍏朵粬淇℃伅 -->
+ <template v-if="tabs == 1">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鎺ユ敹閮ㄩ棬:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HReceiveName"
+ @input="HRecceiveChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鎶勯�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎶勯�佷汉" v-model="hform.HCopyMan"
+ @input="HCopyManChange" multiple></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">绱ф�ョ▼搴�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHLevel" placeholder="璇烽�夋嫨绱ф�ョ▼搴�" v-model="hform.HLevel"
+ @input="HLevelChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁绫诲瀷:</view>
+ <view class="righton">
+ <input name="HBillTypeName" disabled v-model="hform.HBillTypeName" placeholder="璇疯緭鍏ュ崟鎹被鍨�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙风爜:</view>
+ <view class="righton">
+ <input name="HPlanBillNo" disabled v-model="hform.HPlanBillNo" placeholder="璇疯緭鍏ュ崟鎹彿鐮�" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍒跺崟淇℃伅 -->
+ <template v-if="tabs == 2">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鍒跺崟浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HMaker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍒跺崟鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HMakeDate" disabled v-model="hform.HMakeDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HUpDater" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HUpDateDate" disabled v-model="hform.HUpDateDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HChecker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HCheckDate" disabled v-model="hform.HCheckDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HDeleteMan" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDeleteDate" disabled v-model="hform.HDeleteDate" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <view class="buttons" id="buttons">
+ <button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+ <view style="flex: 1;"></view>
+ <button class="btn-a" size="mini" @tap="addNew">鏂板</button>
+ <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
+ </view>
+ </view>
+</template>
+<script>
+ import dayjs from "dayjs";
+ import {
+ CommonUtils
+ } from "@/utils/common";
+ import getDateTime from '@/utils/getdateTime.js';
+ import {
+ getUserInfo
+ } from "../../../../utils/auth";
+ import "@/pages/ZLGL/AanDengHujiao/style/OA_ErrMsgStyle.scss"
+ export default {
+ data() {
+ return {
+ tabs: 0,
+ tabsBottom: 0,
+ userInfo: getUserInfo(),
+ serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
+ OperationType: 1,
+ refSav: "",
+
+ arrayHLevel: ['鏅��', '绱ф��'],
+ arrayHHandleResult: ['澶勭悊瀹屾垚', '鏃犳硶澶勭悊', '鏈鐞�'],
+
+ // 浜哄憳鐩稿叧鏁扮粍
+ arrayHEmpName: [], // 鎺ユ敹浜� 鍙戦�佷汉 澶勭悊浜� 璐d换浜� 鎶勯�佷汉 QE璐d换浜�
+ HEmpNameList: [],
+
+
+ // 鍏朵粬鏁扮粍
+ arrayHDeptName: [], // 鎺ユ敹銆佸彂閫侀儴闂�
+ HDeptNameList: [],
+ arrayHBadReasonName: [], // 澶勭悊鍘熷洜
+ HBadReasonNameList: [],
+ arrayHErrMsgBackTypeName: [], // 寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameList: [],
+ arrayHEquipName: [], //璁惧
+ HEquipNameList: [],
+ arrayHMouldName: [], //妯″叿
+ HMouldNameList: [],
+
+ isEdit: false,
+
+ hform: {
+ HBillNo: '',
+ HInterID: '',
+ HDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HHandleDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HHandleNote: '',
+ HContext: '',
+ HDescription: '',
+ HRemark: '',
+
+ HErrMsgBackTypeName: '',
+ HErrMsgBackTypeID: '0',
+ HDeptName: getUserInfo().HDeptName,
+ HDeptID: getUserInfo().HDeptID,
+ HReceiveName: getUserInfo().HDeptName,
+ HReceiveID: getUserInfo().HDeptID,
+
+ HSendMan: getUserInfo().Czymc, //鍙戦�佷汉
+ HReceiveMan: getUserInfo().HEmpName, //鎺ユ敹浜�
+ HHandleEmpName: getUserInfo().HEmpName, //澶勭悊浜�
+ HHandleEmpID: getUserInfo().HEmpID,
+ HCopyMan: '', //鎶勯�佷汉
+
+ HBadReasonID: '0',
+ HBadReasonName: '',
+ HHandleResult: '澶勭悊瀹屾垚',
+ HLevel: '鏅��',
+ HBillTypeName: '',
+ HPlanBillNo: '',
+ HMaterNumber: '',
+ HMaterName: '',
+ HMaterModel: '',
+
+ // 鏂版坊鍔犵殑瀛楁
+
+
+ HEquipName: '', // 璁惧
+ HEquipID: '0', // 璁惧ID
+ HMouldName: '', // 妯″叿
+ HMouldID: '0', // 妯″叿ID
+
+ HMainSourceBillNo: '',
+ HMainSourceInterID: '0',
+ HMainSourceEntryID: '0',
+ HMainSourceBillType: '',
+
+ HErrMsgBackBillNo: '',
+ HErrMsgBackInterID: '0',
+ HErrMsgBackEntryID: '0',
+
+ HMaker: getUserInfo().Czymc,
+ HMakeDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HUpDater: '',
+ HUpDateDate: '',
+ HChecker: '',
+ HCheckDate: '',
+ HDeleteMan: '', // 浣滃簾浜�
+ HDeleteDate: '', // 浣滃簾鏃ユ湡
+ }
+ }
+ },
+ onLoad(e) {
+ this.getListData()
+ if (!e.OperationType) {
+ this.OperationType = 1
+ } else {
+ this.OperationType = e.OperationType
+ }
+
+ if (this.OperationType == 1) {
+ // 鏂板
+ this.getMaxNum()
+ } else if (this.OperationType == 2) {
+ // 鏈夋簮鍗�
+ this.getMaxNum()
+ } else if (this.OperationType == 3) {
+ // 缂栬緫
+ this.getEditData(e.hmainid)
+ } else if (this.OperationType == 4) {
+ // 娴忚
+ }
+ },
+ computed: {
+ containerHeight: {
+ get() {
+ return this.btnTop - this.tabsBottom - 5
+ }
+ }
+ },
+ onReady() {
+ const query = uni.createSelectorQuery().in(this)
+ query.select("#buttons")
+ .boundingClientRect()
+ .select("#tabs")
+ .boundingClientRect()
+ .exec(res => {
+ this.btnTop = Math.floor(res[0].top)
+ this.tabsBottom = Math.ceil(res[1].bottom)
+ })
+ },
+ methods: {
+ //閫夋嫨澶勭悊鍘熷洜
+ HBadReasonNameChange(e) {
+ for (var i = 0; i < this.HBadReasonNameList.length; i++) {
+ if (this.HBadReasonNameList[i].澶勭悊鏂规鍚嶇О == e) {
+ this.hform.HBadReasonID = this.HBadReasonNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鍙戦�侀儴闂�
+ HDeptNameChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HDeptID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹閮ㄩ棬
+ HRecceiveChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HReceiveID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameChange(e) {
+ for (var i = 0; i < this.HErrMsgBackTypeNameList.length; i++) {
+ if (this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О == e) {
+ this.hform.HErrMsgBackTypeName = this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О;
+ this.hform.HErrMsgBackTypeID = this.HErrMsgBackTypeNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鍙戦�佷汉
+ HSendManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹浜�
+ HReceiveManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨澶勭悊浜�
+ HHandleEmpChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+ this.hform.HHandleEmpID = this.HEmpNameList[i].HItemID
+ }
+ }
+ },
+ //閫夋嫨鎶勯�佷汉
+ HCopyManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨璁惧
+ HEquipNameChange(e) {
+ for (var i = 0; i < this.HEquipNameList.length; i++) {
+ if (this.HEquipNameList[i].HName == e) {
+ this.hform.HEquipName = this.HEquipNameList[i].HName;
+ this.hform.HEquipID = this.HEquipNameList[i].HInterID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨妯″叿
+ HMouldIDNameChange(e) {
+ for (var i = 0; i < this.HMouldNameList.length; i++) {
+ if (this.HMouldNameList[i].HName == e) {
+ this.hform.HMouldName = this.HMouldNameList[i].HName;
+ this.hform.HMouldID = this.HMouldNameList[i].HInterID;
+ break;
+ }
+ }
+ },
+ // 闈欐�佷笅鎷夋閫夋嫨鏂规硶
+ HLevelChange(e) {
+ this.hform.HLevel = e;
+ },
+ //鏂板鎸夐挳浜嬩欢
+ addNew() {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: '鏂板鍚庨〉闈㈡暟鎹皢娑堝け锛岀‘瀹氳鏂板鍚楋紵',
+ success: (res) => {
+ if (res.confirm) {
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill?operationType=1'
+ })
+ // 閲嶆柊鑾峰彇鏈�澶у崟鎹彿
+ this.getMaxNum();
+ // 鍒囨崲鍒板熀鏈俊鎭〉绛�
+ this.tabs = 0;
+ }
+ }
+ });
+ },
+ // 鑾峰彇鎵�鏈夊垪琛ㄦ暟鎹�
+ async getListData() {
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ await this.getDepartmentList();
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ await this.getHErrMesTypeList();
+ // 鑾峰彇浜哄憳鍒楄〃锛堟帴鏀朵汉銆佸鐞嗕汉銆佹妱閫佷汉銆佽矗浠讳汉銆丵E璐d换浜猴級
+ await this.getPersonList();
+ // 鑾峰彇璁惧鍒楄〃
+ await this.getEquipList();
+ // 鑾峰彇妯″叿鍒楄〃
+ await this.getModList();
+ // 鑾峰彇澶勭悊鍘熷洜鍒楄〃
+ await this.getBadReasonList();
+ },
+
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ getDepartmentList() {
+ uni.request({
+ url: this.serverUrl + '/Gy_Department/list',
+ data: {
+ sWhere: "",
+ user: uni.getStorageSync('HUserName'),
+ Organization: uni.getStorageSync('Organization')
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HDeptNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHDeptName[i] = res.data.data[i].閮ㄩ棬鍚嶇О
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ getHErrMesTypeList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_ErrMsgBackTypeList_Json',
+ data: {
+ ErrMsg: "",
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HErrMsgBackTypeNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHErrMsgBackTypeName[i] = res.data.data[i].寮傚父鍙嶉绫诲瀷鍚嶇О
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇浜哄憳鍒楄〃锛堥�氱敤鏂规硶锛�
+ getPersonList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetEmployeeList_Json',
+ data: {
+ Employee: '',
+ HGroupID: 0
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HEmpNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHEmpName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇璁惧鍒楄〃
+ getEquipList() {
+ uni.request({
+ url: this.serverUrl + '/WEBSController/GetEquipList_Json',
+ data: {
+ Equip: "",
+ HCenterID: 0 //uni.getStorageSync("HWorkCenterID")
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HEquipNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHEquipName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇妯″叿鍒楄〃
+ getModList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_MouldFileMainList_Json',
+ data: {
+ MouldFileMain: ""
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HMouldNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHMouldName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇澶勭悊鍘熷洜鍒楄〃
+ getBadReasonList() {
+ uni.request({
+ url: this.serverUrl + '/Gy_DisposeWay/list',
+ data: {
+ sWhere: "",
+ user: uni.getStorageSync('HUserName')
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HBadReasonNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHBadReasonName[i] = res.data.data[i].澶勭悊鏂规鍚嶇О
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ //鏂板
+ getMaxNum() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetMAXNum',
+ data: {
+ HBillType: '4531'
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.hform.HInterID = res.data.data[0].HInterID
+ this.hform.HBillNo = res.data.data[0].HBillNo
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ getEditData(HInterID) {
+ uni.showLoading({
+ title: '鍔犺浇涓�'
+ });
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/Edit_OA_ErrMsgBackHandleBill',
+ data: {
+ "HID": HInterID
+ },
+ success: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁:', res);
+ if (res.data.code == 1) {
+ const data = res.data.data[0]; // 娉ㄦ剰杩欓噷鏀逛负data[0]
+ this.hform = {
+ ...this.hform, // 淇濈暀鍘熸湁鐨勯粯璁ゅ��
+ HInterID: data["hmainid"] || '',
+ HEntryID: data["HEntryID"] || '',
+ HBillNo: data["鍗曟嵁鍙�"] || '',
+ HDate: data["鏃ユ湡"] ? dayjs(data["鏃ユ湡"]).format("YYYY-MM-DD") : dayjs(
+ new Date()).format("YYYY-MM-DD"),
+
+ HErrMsgBackTypeID: data["HErrMsgBackTypeID"] || '0',
+ HErrMsgBackTypeName: data["寮傚父绫诲瀷"] || '',
+ HContext: data["涓婚"] || '',
+ HDescription: data["鍐呭"] || '',
+
+ HDeptID: data["HDeptID"] || '0',
+ HDeptName: data["鍙戦�侀儴闂�"] || '',
+ HReceiveID: data["HReceiveID"] || '0', // 鏂板瀛楁
+ HReceiveName: data["鎺ユ敹閮ㄩ棬"] || '',
+
+ HSendMan: data["鍙戦�佷汉"] || '',
+ HReceiveMan: data["鎺ユ敹浜�"] || '',
+ HCopyMan: data["鎶勯�佷汉"] || '',
+
+ HBillTypeName: data["鍗曟嵁绫诲瀷"] || '',
+ HPlanBillNo: data["鍗曟嵁鍙风爜"] || '',
+ HMaterName: data["浜у搧鍚嶇О"] || '',
+ HMaterModel: data["瑙勬牸鍨嬪彿"] || '',
+
+ HEquipID: data["HEquipID"] || '0',
+ HEquipName: data["璁惧鍚嶇О"] || '',
+
+ HMouldID: data["HMouldID"] || '0', // 淇瀛楁鍚�
+ HMouldName: data["妯℃不鍏峰悕绉�"] || '',
+
+ HHandleEmpID: data["HHandleEmpID"] || '0',
+ HHandleEmp: data["澶勭悊浜�"] || '',
+ HHandleNote: data["澶勭悊鍐呭"] || '', // 鏂板瀛楁
+ HHandleDate: data["澶勭悊瀹屾垚鏃堕棿"] ? dayjs(data["澶勭悊瀹屾垚鏃堕棿"]).format(
+ "YYYY-MM-DD HH:mm:ss") : '',
+ HBadReasonID: data["HBadReasonID"] || '',
+ HBadReasonName: data["澶勭悊鍘熷洜"] || '', // 鏂板瀛楁
+
+
+ HMainSourceInterID: data["婧愬崟ID"] || '0',
+ HMainSourceEntryID: data["婧愬崟瀛怚D"] || '0',
+ HMainSourceBillNo: data["婧愬崟鍗曞彿"] || '',
+ HMainSourceBillType: data["婧愬崟绫诲瀷"] || '',
+
+ HErrMsgBackBillNo: data["寮傚父鍙嶉鍗曞彿"] || '', // 鏂板瀛楁
+ HErrMsgBackInterID: data["寮傚父鍙嶉鍗曚富鍐呯爜"] || '0', // 鏂板瀛楁
+ HErrMsgBackEntryID: data["寮傚父鍙嶉鍗曞瓙鍐呯爜"] || '0', // 鏂板瀛楁
+
+ HRemark: data["琛ㄥご澶囨敞"] || '',
+ HMaker: data["鍒跺崟浜�"] || this.userInfo.Czymc || '',
+ HMakeDate: data["鍒跺崟鏃ユ湡"] ? dayjs(data["鍒跺崟鏃ユ湡"]).format("YYYY-MM-DD") : dayjs(
+ new Date()).format("YYYY-MM-DD"),
+
+ HUpDater: data["淇敼浜�"] || this.userInfo.Czymc || '',
+ HUpDateDate: data["淇敼鏃ユ湡"] ? dayjs(data["淇敼鏃ユ湡"]).format("YYYY-MM-DD") :
+ dayjs(new Date()).format("YYYY-MM-DD"),
+
+ HChecker: data["瀹℃牳浜�"] || '',
+ HCheckDate: data["瀹℃牳鏃ユ湡"] ? dayjs(data["瀹℃牳鏃ユ湡"]).format("YYYY-MM-DD") : '',
+
+ HDeleteMan: data["浣滃簾浜�"] || '',
+ HDeleteDate: data["浣滃簾鏃ユ湡"] ? dayjs(data["浣滃簾鏃ユ湡"]).format("YYYY-MM-DD") : '',
+
+ HLevel: data["绱ф�ョ▼搴�"] || '鏅��'
+ };
+
+ this.isEdit = true;
+ } else {
+ uni.showToast({
+ title: res.data.msg || '鑾峰彇缂栬緫鏁版嵁澶辫触',
+ icon: 'none'
+ });
+ }
+ },
+ fail: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁璇锋眰澶辫触:', res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ });
+ }
+ });
+ },
+
+ submit() {
+ if (!this.hform.HReceiveMan) {
+ uni.showToast({
+ title: '璇烽�夋嫨鎺ユ敹浜�',
+ icon: 'none'
+ })
+ } else {
+ uni.showLoading({
+ title: '璇风◢鍊�'
+ })
+ if (this.OperationType == 1 || this.OperationType == 2 || this.OperationType == 4) {
+ this.refSav = "Add";
+ }
+ //鑻ヤ负缂栬緫-淇濆瓨锛屽垯鏇存柊淇敼浜哄拰淇敼鏃堕棿
+ if (this.OperationType == 3) {
+ this.refSav = "Update";
+ this.hform.HUpdater = getUserInfo().Czymc;
+ this.hform.HUpdaterDate = dayjs(new Date()).format("YYYY-MM-DD");
+ }
+ var sMainStr = JSON.stringify(this.hform);
+ var sMainSub = sMainStr + ';' + this.refSav + ';' + uni.getStorageSync('HUserName')
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/SaveOA_ErrMsgBackHandleBill_APP',
+ method: 'POST',
+ dataType: "json",
+ data: {
+ "msg": sMainSub
+ },
+ success: (res) => {
+ console.log(1, res);
+ uni.hideLoading()
+ if (res.data.count == 1) {
+ if (res.data.Verify == "Y") { //鑷姩瀹℃牳
+ this.SaveVerify(res.data.HInterID) //瀹℃牳
+ } else {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill2?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ }
+ }
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ }
+ },
+
+ SaveVerify(HInterID) {
+ var datas = {
+ HInterID: HInterID,
+ IsAudit: 0,
+ CurUserName: getUserInfo().Czymc
+ }
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/AuditOA_ErrMsgBackHandleBill',
+ method: 'GET',
+ dataType: "json",
+ async: true,
+ data: datas,
+ success: (res) => {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ goBack() {
+ uni.navigateBack()
+ }
+ }
+ }
+</script>
+
+<style lang="scss">
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBillList.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBillList.vue
new file mode 100644
index 0000000..a232eab
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBillList.vue
@@ -0,0 +1,570 @@
+<template>
+ <view>
+ <view class="page-header">
+ <view class="search-item">
+ <view class="left">鏃ユ湡闂撮殧</view>
+ <view class="right">
+ <picker mode="selector" :value="curDateGap" :range="dateRangePicker"
+ @change="onDateRangePickerChangeHandler">
+ <input disabled v-model="curDateGap" placeholder="璇烽�夋嫨鏃ユ湡闂撮殧" />
+ <view class="picker-overlay"></view>
+ </picker>
+
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">寮�濮嬫棩鏈�</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="startDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">
+ <text>{{ startDate }}</text>
+ </view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">缁撴潫鏃ユ湡</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="endDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">{{ endDate }}</view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">鍗曟嵁鍙�</view>
+ <view class="right">
+ <input type="text" auto-focus v-model="HBillNo" />
+ </view>
+ </view>
+
+ <view class="button-groups">
+ <button type="default" size="mini" class="btn-b" @tap.stop="onAddClickHandler">鏂板</button>
+ <button type="default" size="mini" class="btn-c" @tap.stop="onSearchClickHandler">鏌ヨ</button>
+ <button type="default" size="mini" class="btn-a" @tap.stop="onResetClickHandler">閲嶇疆</button>
+ </view>
+ </view>
+ <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
+ <scroll-view id="pageContent" scroll-y class="page-content" :style="{height: pageContentHeight + 'px'}">
+ <view class="list" v-for="(item,index) in listData" :key="index">
+ <uni-card :title="item.鍗曟嵁鐘舵��" :extra="item.鍗曟嵁鍙�" style="margin: 10px;"
+ @tap="showDetail = showDetail==index?-1:index">
+ <view class="card-detail">
+ <view class="detail" v-if="item.浜у搧鍚嶇О">
+ <text>浜у搧鍚嶇О锛�</text>{{item.浜у搧鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.涓婚">
+ <text>涓婚锛�</text>{{item.涓婚}}
+ </view>
+ <view class="detail" v-if="item.鍐呭">
+ <text>鍐呭锛�</text>{{item.鍐呭}}
+ </view>
+ <view class="detail" v-if="item.寮傚父绫诲瀷">
+ <text>寮傚父绫诲瀷锛�</text>{{item.寮傚父绫诲瀷}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�侀儴闂�">
+ <text>鍙戦�侀儴闂細</text>{{item.鍙戦�侀儴闂▆}
+ </view>
+ <view class="detail" v-if="item.鎺ユ敹閮ㄩ棬">
+ <text>鎺ユ敹閮ㄩ棬锛�</text>{{item.鎺ユ敹閮ㄩ棬}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�佷汉">
+ <text>鍙戦�佷汉锛�</text>{{item.鍙戦�佷汉}}
+ </view>
+ <view class="detail" v-if="item.鎺ユ敹浜�">
+ <text>鎺ユ敹浜猴細</text>{{item.鎺ユ敹浜簘}
+ </view>
+ <view class="detail" v-if="item.澶勭悊浜�">
+ <text>澶勭悊浜猴細</text>{{item.澶勭悊浜簘}
+ </view>
+ <view class="detail" v-if="item.鎶勯�佷汉">
+ <text>鎶勯�佷汉锛�</text>{{item.鎶勯�佷汉}}
+ </view>
+ <view class="detail" v-if="item.澶勭悊鍘熷洜">
+ <text>澶勭悊鍘熷洜锛�</text>{{item.澶勭悊鍘熷洜}}
+ </view>
+ <view class="detail" v-if="item.寮傚父鍙嶉鍗曞彿">
+ <text>寮傚父鍙嶉鍗曞彿锛�</text>{{item.寮傚父鍙嶉鍗曞彿}}
+ </view>
+ </view>
+ <view class="card-detail" v-if="showDetail == index">
+ <view class="detail" v-if="item.鍒跺崟浜�">
+ <text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
+ </view>
+ <view class="detail" v-if="item.鍒跺崟鏃ユ湡">
+ <text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳浜�">
+ <text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳鏃ユ湡">
+ <text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.淇敼浜�">
+ <text>淇敼浜猴細</text>{{item.淇敼浜簘}
+ </view>
+ <view class="detail" v-if="item.淇敼鏃ユ湡">
+ <text>淇敼鏃ユ湡锛�</text>{{item.淇敼鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴浜�">
+ <text>鍏抽棴浜猴細</text>{{item.鍏抽棴浜簘}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴鏃ユ湡">
+ <text>鍏抽棴鏃ユ湡锛�</text>{{item.鍏抽棴鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.浣滃簾浜�">
+ <text>浣滃簾浜猴細</text>{{item.浣滃簾浜簘}
+ </view>
+ <view class="detail" v-if="item.浣滃簾鏃ユ湡">
+ <text>浣滃簾鏃ユ湡锛�</text>{{item.浣滃簾鏃ユ湡.substr(0,10)}}
+ </view>
+ </view>
+
+
+ <view class="more" v-if="showDetail == index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="top" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏀惰捣
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+ <view class="more" v-if="showDetail != index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="bottom" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏇村淇℃伅
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+
+ <view class="op" v-if="operations == index">
+ <button class="op3" size="mini" plain @tap.stop="edit(item)">缂栬緫</button>
+ <button class="op4" size="mini" plain @tap.stop="del(item)">鍒犻櫎</button>
+ <button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
+ </view>
+ </uni-card>
+ </view>
+ <view class="over" v-if="listData.length == 0">鏆傛棤鏁版嵁</view>
+ </scroll-view>
+ <!-- 鍒嗛〉鍣� -->
+ <view class="page-footer">
+ <uni-pagination id="pagination" title="鏍囬鏂囧瓧" v-model="pageMeta.curPage" :pageSize="pageMeta.size"
+ :total="pageMeta.total" @change="onPageChangeHandler"></uni-pagination>
+ </view>
+ </view>
+</template>
+
+<script>
+ import dayjs from 'dayjs'
+ import {
+ CommonUtils
+ } from '@/utils/common.js'
+ import {
+ getUserInfo
+ } from '../../../../utils/auth'
+ export default {
+ data() {
+ return {
+ // 璁$畻鍗$墖鍒楄〃楂樺害
+ pagination_top: 0,
+ pageContent_top: 0,
+ // 鍒嗛〉鎺у埗
+ pageMeta: {
+ curPage: 1,
+ size: 50,
+ total: 0,
+ },
+ // 婊氬姩鎺у埗
+ scrollTop: 0,
+ old: {
+ scrollTop: 0
+ },
+
+ dateRangePicker: ["浠绘剰闂撮殧", "浠婂ぉ", "杩戜袱澶�", "杩戜笁澶�", "杩戝洓澶�", "杩戜簲澶�", "杩戝叚澶�", "杩戜竷澶�", "杩�30澶�"],
+ curDateGap: "杩戜竷澶�",
+ enableCustomDateRange: false,
+ startDate: dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD'),
+ endDate: dayjs(new Date()).format('YYYY-MM-DD'),
+ HBillNo: '',
+
+ listData: [],
+ showDetail: -1,
+ operations: -1,
+ }
+ },
+ computed: {
+ pageContentHeight: {
+ get() {
+ return (this.pagination_top - this.pageContent_top)
+ }
+ },
+ },
+ onLoad() {
+ this.onSearchClickHandler()
+ },
+ onPullDownRefresh() {
+ this.onSearchClickHandler()
+ },
+ async onReady() {
+ // #ifndef MP-WEIXIN
+ let query = uni.createSelectorQuery().in(this)
+ query.select("#pagination")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pagination_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pagination鑺傜偣");
+ }
+ })
+ .exec();
+ query.select("#pageContent")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pageContent_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pageContent鑺傜偣");
+ }
+ })
+ .exec();
+ // #endif
+
+ },
+ methods: {
+ goTop: function(e) {
+ // 瑙e喅view灞備笉鍚屾鐨勯棶棰�
+ this.scrollTop = this.old.scrollTop
+ this.$nextTick(function() {
+ this.scrollTop = 0
+ });
+ },
+ onDateRangePickerChangeHandler({
+ detail
+ }) {
+ this.enableCustomDateRange = false
+ this.curDateGap = this.dateRangePicker[detail.value]
+ let date = new Date()
+ switch (this.curDateGap) {
+ case "浠婂ぉ":
+ this.startDate = dayjs(date).format("YYYY-MM-DD")
+ break;
+ case "杩戜竴澶�":
+ this.startDate = dayjs(date).subtract(1, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜袱澶�":
+ this.startDate = dayjs(date).subtract(2, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜笁澶�":
+ this.startDate = dayjs(date).subtract(3, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝洓澶�":
+ this.startDate = dayjs(date).subtract(4, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜簲澶�":
+ this.startDate = dayjs(date).subtract(5, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝叚澶�":
+ this.startDate = dayjs(date).subtract(6, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜竷澶�":
+ this.startDate = dayjs(date).subtract(7, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩�30澶�":
+ this.startDate = dayjs(date).subtract(30, 'day').format("YYYY-MM-DD")
+ break;
+ }
+ if (this.curDateGap == '浠绘剰闂撮殧') {
+ this.enableCustomDateRange = true
+ }
+ },
+ onSearchClickHandler() {
+ let sWhere = ""
+ if (this.startDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.startDate + "'";
+ }
+ if (this.endDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.endDate + "'";
+ }
+ if (this.HBillNo) {
+ sWhere += " and 鍗曟嵁鍙� like '%" + this.HBillNo + "%'";
+ }
+ this.get_DisplayPage(sWhere);
+ },
+ clear() {
+ this.curDateGap = "杩戜竷澶�"
+ this.enableCustomDateRange = false
+ this.startDate = dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD')
+ this.endDate = dayjs(new Date()).format('YYYY-MM-DD')
+ this.HBillNo = ''
+ },
+ async onResetClickHandler() {
+ this.clear()
+ await this.$nextTick()
+ this.onSearchClickHandler()
+ },
+ get_DisplayPage(sWhere) {
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/Get_OA_ErrMsgBackHandleBillListPage',
+ data: {
+ "sWhere": sWhere,
+ "user": getUserInfo()["Czymc"],
+ "page": this.pageMeta.curPage,
+ "size": this.pageMeta.size
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ Message,
+ count
+ } = res.data
+ console.log('res.data: ', res.data);
+ this.listData = data;
+ this.pageMeta.total = count
+ uni.stopPullDownRefresh()
+ }
+ })
+ },
+ onPageChangeHandler() {
+ this.onSearchClickHandler()
+ this.goTop()
+ },
+ // 鏂板寮傚父鍙嶉鍗�
+ onAddClickHandler() {
+ uni.navigateTo({
+ url: "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill?OperationType=1"
+ })
+ },
+ //缂栬緫寮傚父鍙嶉绛惧埌鍗�
+ edit(item) {
+ console.log(item)
+ uni.navigateTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill?OperationType=3&hmainid=' +item.hmainid
+ })
+ },
+ //鍒犻櫎寮傚父鍙嶉绛惧埌鍗�
+ del(item) {
+ uni.showModal({
+ title: '鍒犻櫎纭',
+ content: '纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/DeleteOA_ErrMsgBackHandleBill',
+ data: {
+ HInterID: item['hmainid'],
+ user: getUserInfo()['Czymc']
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ count,
+ Message
+ } = res.data
+ if (count == 1) {
+ uni.showToast({
+ icon: count === 1 ? 'success' : 'error',
+ title: Message,
+ duration: 2000
+ });
+
+ // 绛夊緟鎻愮ず鏄剧ず瀹屾垚鍐嶅埛鏂�
+ setTimeout(() => {
+ this.onSearchClickHandler();
+ }, 2000);
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: Message
+ })
+ }
+ }
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ }
+ }
+ });
+ }
+ },
+ }
+</script>
+
+<style lang="scss">
+ .page-header {
+ display: flex;
+ box-sizing: border-box;
+ padding: 20rpx;
+ flex-direction: column;
+ gap: 10rpx;
+ font-size: 32rpx;
+
+ .search-item {
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: center;
+ align-items: center;
+
+ .left {
+ width: 4em;
+ }
+
+ .right {
+ flex: 1;
+ position: relative;
+ border-radius: 22rpx;
+ border: 1px solid #acacac;
+ display: flex;
+ padding: 4rpx 10rpx;
+
+ picker {
+ width: 100%;
+ }
+ }
+ }
+
+ input {
+ width: inherit;
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ }
+
+ .datetime-picker-inner {
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ display: flex;
+ align-items: center;
+ }
+
+ .font__enable {
+ color: #000;
+ }
+
+ .font__disable {
+ color: #cccccc;
+ }
+ }
+
+ .button-groups {
+ box-sizing: border-box;
+ padding: 10rpx 0 0 0;
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: space-between;
+
+ button {
+ border-radius: 50rpx;
+ width: 180rpx;
+ height: 66rpx;
+ line-height: 66rpx;
+ font-size: 28rpx;
+ }
+
+ .btn-a {
+ background-color: #acacac;
+ color: #fff;
+ }
+
+ .btn-b {
+ background-color: #41a863;
+ color: #fff;
+ }
+
+ .btn-c {
+ background-color: #3a78ff;
+ color: #fff;
+ }
+ }
+
+ .page-content {
+ // height: 40vh;
+ box-sizing: border-box;
+ padding: 10rpx 0;
+
+ .card-detail {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ line-height: 120%;
+
+ .detail {
+ // width: 50%;
+ font-size: 26rpx;
+ margin-bottom: 12rpx;
+ color: #555;
+ margin-right: 20rpx;
+
+ text {
+ color: #999;
+ font-size: 26rpx;
+ }
+ }
+ }
+
+ .more {
+ color: #888;
+ font-size: 24rpx;
+ display: flex;
+ border-top: 1px solid #eee;
+ padding-top: 20rpx;
+
+ .part {
+ width: 50%;
+ text-align: center;
+ }
+ }
+
+ .op {
+ display: flex;
+ justify-content: space-around;
+ margin-top: 20rpx;
+
+ button {
+ padding: 0;
+ width: 150rpx;
+ font-size: 25rpx;
+ }
+
+ .op1 {
+ border: 1px solid #41a863;
+ color: #41a863;
+ }
+
+ .op2 {
+ border: 1px solid #d98d00;
+ color: #d98d00;
+ }
+
+ .op3 {
+ border: 1px solid #3a78ff;
+ color: #3a78ff;
+ }
+
+ .op4 {
+ border: 1px solid #da0000;
+ color: #da0000;
+ }
+
+ .op5 {
+ border: 1px solid #888;
+ color: #888;
+ }
+ }
+ }
+
+ .page-footer {
+ position: fixed;
+ bottom: 0;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 32rpx 40rpx;
+ }
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill.vue
new file mode 100644
index 0000000..aaff83c
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill.vue
@@ -0,0 +1,908 @@
+<template>
+ <view>
+ <!-- 椤电鍖哄煙 -->
+ <view class="tabs" id="tabs">
+ <view class="tabs">
+ <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">鍩烘湰淇℃伅</view>
+ <view :class="tabs == 1 ? 'on':''" @tap="tabs = 1">鍏朵粬淇℃伅</view>
+ <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">鍒跺崟淇℃伅</view>
+ </view>
+ </view>
+ <!-- 鍩烘湰淇℃伅 -->
+ <template v-if="tabs == 0">
+ <view class="form" :style="{height: containerHeight + 'px',overflow: 'auto' }">
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙�:</view>
+ <view class="righton">
+ <input name="HBillNo" disabled v-model="hform.HBillNo" placeholder="璇疯緭鍏ュ崟鎹彿" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDate" disabled v-model="hform.HDate" placeholder="璇烽�夋嫨" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鎺ユ敹纭:</view>
+ <view class="right">
+ <input name="HReceiveNote" v-model="hform.HReceiveNote" placeholder="璇疯緭鍏ユ槸鍚︽帴鏀剁‘璁�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶勭悊寤鸿:</view>
+ <view class="right">
+ <input name="HHandleAdvise" v-model="hform.HHandleAdvise" placeholder="璇疯緭鍏ュ鐞嗗缓璁�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">纭鏃堕棿:</view>
+ <view class="righton">
+ <input name="HReceiveDate" disabled v-model="hform.HReceiveDate" placeholder="璇烽�夋嫨" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">涓婚:</view>
+ <view class="right">
+ <input name="HContext" v-model="hform.HContext" placeholder="璇疯緭鍏ヤ富棰�" />
+ </view>
+ </view>
+ <view class="form-item" style="align-items: flex-start;">
+ <view class="title"><text>*</text>璇︾粏鍐呭:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <textarea name="HDescription" v-model="hform.HDescription" auto-height maxlength="-1"
+ placeholder="璇疯緭鍏ヨ缁嗗唴瀹�"></textarea>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">寮傚父绫诲瀷:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHErrMsgBackTypeName" placeholder="璇烽�夋嫨"
+ v-model="hform.HErrMsgBackTypeName" @input="HErrMsgBackTypeNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�侀儴闂�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HDeptName"
+ @input="HDeptNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鍙戦�佷汉" v-model="hform.HSendMan"
+ @input="HSendManChange"></uni-combox>
+ </view>
+ </view>
+
+ <view class="form-item">
+ <view class="title"><text>*</text>鎺ユ敹浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎺ユ敹浜�" v-model="hform.HReceiveMan"
+ @input="HReceiveManChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍏宠仈浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鍏宠仈浜�" v-model="hform.HRelationEmpName"
+ @input="HRelationEmpNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鎸囨淳澶勭悊浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎸囨淳澶勭悊浜�" v-model="hform.HHandleEmpName"
+ @input="HHandleEmpNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐩稿叧璁惧:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEquipName" placeholder="璇烽�夋嫨" v-model="hform.HEquipName"
+ @input="HEquipNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐩稿叧妯″叿:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHMouldName" placeholder="璇烽�夋嫨" v-model="hform.HMouldName"
+ @input="HMouldIDNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浜у搧鍚嶇О:</view>
+ <view class="right">
+ <input name="HMaterName" v-model="hform.HMaterName" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瑙勬牸鍨嬪彿:</view>
+ <view class="right">
+ <input name="HMaterModel" v-model="hform.HMaterModel" placeholder="璇疯緭鍏ヨ鏍煎瀷鍙�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶囨敞:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <input name="HRemark" v-model="hform.HRemark" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍏朵粬淇℃伅 -->
+ <template v-if="tabs == 1">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鎺ユ敹閮ㄩ棬:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HReceiveName"
+ @input="HRecceiveChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鎶勯�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎶勯�佷汉" v-model="hform.HCopyMan"
+ @input="HCopyManChange" multiple></uni-combox>
+ </view>
+ </view>
+
+ <view class="form-item">
+ <view class="title">绱ф�ョ▼搴�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHLevel" placeholder="璇烽�夋嫨绱ф�ョ▼搴�" v-model="hform.HLevel"
+ @input="HLevelChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁绫诲瀷:</view>
+ <view class="righton">
+ <input name="HBillTypeName" disabled v-model="hform.HBillTypeName" placeholder="璇疯緭鍏ュ崟鎹被鍨�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙风爜:</view>
+ <view class="righton">
+ <input name="HPlanBillNo" disabled v-model="hform.HPlanBillNo" placeholder="璇疯緭鍏ュ崟鎹彿鐮�" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍒跺崟淇℃伅 -->
+ <template v-if="tabs == 2">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鍒跺崟浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HMaker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍒跺崟鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HMakeDate" disabled v-model="hform.HMakeDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HUpDater" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HUpDateDate" disabled v-model="hform.HUpDateDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HChecker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HCheckDate" disabled v-model="hform.HCheckDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HDeleteMan" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDeleteDate" disabled v-model="hform.HDeleteDate" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <view class="buttons" id="buttons">
+ <button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+ <view style="flex: 1;"></view>
+ <button class="btn-a" size="mini" @tap="addNew">鏂板</button>
+ <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
+ </view>
+ </view>
+</template>
+<script>
+ import dayjs from "dayjs";
+ import {
+ CommonUtils
+ } from "@/utils/common";
+ import getDateTime from '@/utils/getdateTime.js';
+ import {
+ getUserInfo
+ } from "../../../../utils/auth";
+ import "@/pages/ZLGL/AanDengHujiao/style/OA_ErrMsgStyle.scss"
+ export default {
+ data() {
+ return {
+ tabs: 0,
+ tabsBottom: 0,
+ userInfo: getUserInfo(),
+ serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
+ OperationType: 1,
+ refSav: "",
+
+ arrayHLevel: ['鏅��', '绱ф��'],
+
+ // 浜哄憳鐩稿叧鏁扮粍
+ arrayHEmpName: [], // 鎺ユ敹浜� 鍙戦�佷汉 澶勭悊浜� 璐d换浜� 鎶勯�佷汉 QE璐d换浜�
+ HEmpNameList: [],
+
+
+ // 鍏朵粬鏁扮粍
+ arrayHDeptName: [], // 鎺ユ敹銆佸彂閫侀儴闂�
+ HDeptNameList: [],
+ arrayHErrMsgBackTypeName: [], // 寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameList: [],
+ arrayHEquipName: [], //璁惧
+ HEquipNameList: [],
+ arrayHMouldName: [], //妯″叿
+ HMouldNameList: [],
+
+ isEdit: false,
+
+ hform: {
+ HBillNo: '',
+ HInterID: '',
+ HDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HReceiveDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HReceiveNote: '',
+ HContext: '',
+ HDescription: '',
+ HRemark: '',
+
+ HErrMsgBackTypeName: '',
+ HErrMsgBackTypeID: '0',
+ HDeptName: getUserInfo().HDeptName,
+ HDeptID: getUserInfo().HDeptID,
+ HReceiveName: getUserInfo().HDeptName,
+ HReceiveID: getUserInfo().HDeptID,
+
+ HSendMan: getUserInfo().Czymc, //鍙戦�佷汉
+ HReceiveMan: getUserInfo().HEmpName, //鎺ユ敹浜�
+ HRelationEmpName: getUserInfo().HEmpName, //鍏宠仈
+ HRelationEmpID: getUserInfo().HEmpID,
+ HHandleEmpName: getUserInfo().HEmpName, //澶勭悊浜�
+ HHandleEmpID: getUserInfo().HEmpID,
+ HCopyMan: '',
+
+
+ HHandleAdvise: '',
+ HLevel: '鏅��',
+ HBillTypeName: '',
+ HPlanBillNo: '',
+ HMaterNumber: '',
+ HMaterName: '',
+ HMaterModel: '',
+
+ // 鏂版坊鍔犵殑瀛楁
+
+
+ HEquipName: '', // 璁惧
+ HEquipID: '0', // 璁惧ID
+ HMouldName: '', // 妯″叿
+ HMouldID: '0', // 妯″叿ID
+
+ HMainSourceBillNo: '',
+ HMainSourceInterID: '0',
+ HMainSourceEntryID: '0',
+ HMainSourceBillType: '',
+
+ HErrMsgBackBillNo: '',
+ HErrMsgBackInterID: '0',
+ HErrMsgBackEntryID: '0',
+
+ HMaker: getUserInfo().Czymc,
+ HMakeDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HUpDater: '',
+ HUpDateDate: '',
+ HChecker: '',
+ HCheckDate: '',
+ HDeleteMan: '', // 浣滃簾浜�
+ HDeleteDate: '', // 浣滃簾鏃ユ湡
+ }
+ }
+ },
+ onLoad(e) {
+ this.getListData()
+ if (!e.OperationType) {
+ this.OperationType = 1
+ } else {
+ this.OperationType = e.OperationType
+ }
+
+ if (this.OperationType == 1) {
+ // 鏂板
+ this.getMaxNum()
+ } else if (this.OperationType == 2) {
+ // 鏈夋簮鍗�
+ this.getMaxNum()
+ } else if (this.OperationType == 3) {
+ // 缂栬緫
+ this.getEditData(e.hmainid)
+ } else if (this.OperationType == 4) {
+ // 娴忚
+ }
+ },
+ computed: {
+ containerHeight: {
+ get() {
+ return this.btnTop - this.tabsBottom - 5
+ }
+ }
+ },
+ onReady() {
+ const query = uni.createSelectorQuery().in(this)
+ query.select("#buttons")
+ .boundingClientRect()
+ .select("#tabs")
+ .boundingClientRect()
+ .exec(res => {
+ this.btnTop = Math.floor(res[0].top)
+ this.tabsBottom = Math.ceil(res[1].bottom)
+ })
+ },
+ methods: {
+ //閫夋嫨鍙戦�侀儴闂�
+ HDeptNameChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HDeptID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹閮ㄩ棬
+ HRecceiveChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HReceiveID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameChange(e) {
+ for (var i = 0; i < this.HErrMsgBackTypeNameList.length; i++) {
+ if (this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О == e) {
+ this.hform.HErrMsgBackTypeName = this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О;
+ this.hform.HErrMsgBackTypeID = this.HErrMsgBackTypeNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鍙戦�佷汉
+ HSendManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹浜�
+ HReceiveManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨鍏宠仈浜�
+ HRelationEmpNameChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+ this.hform.HRelationEmpID = this.HEmpNameList[i].HItemID
+ }
+ }
+ },
+ //閫夋嫨澶勭悊浜�
+ HHandleEmpChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+ this.hform.HHandleEmpID = this.HEmpNameList[i].HItemID
+ }
+ }
+ },
+ //閫夋嫨鎶勯�佷汉
+ HCopyManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨璁惧
+ HEquipNameChange(e) {
+ for (var i = 0; i < this.HEquipNameList.length; i++) {
+ if (this.HEquipNameList[i].HName == e) {
+ this.hform.HEquipName = this.HEquipNameList[i].HName;
+ this.hform.HEquipID = this.HEquipNameList[i].HInterID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨妯″叿
+ HMouldIDNameChange(e) {
+ for (var i = 0; i < this.HMouldNameList.length; i++) {
+ if (this.HMouldNameList[i].HName == e) {
+ this.hform.HMouldName = this.HMouldNameList[i].HName;
+ this.hform.HMouldID = this.HMouldNameList[i].HInterID;
+ break;
+ }
+ }
+ },
+ // 闈欐�佷笅鎷夋閫夋嫨鏂规硶
+ HLevelChange(e) {
+ this.hform.HLevel = e;
+ },
+ //鏂板鎸夐挳浜嬩欢
+ addNew() {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: '鏂板鍚庨〉闈㈡暟鎹皢娑堝け锛岀‘瀹氳鏂板鍚楋紵',
+ success: (res) => {
+ if (res.confirm) {
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill?operationType=1'
+ })
+ // 閲嶆柊鑾峰彇鏈�澶у崟鎹彿
+ this.getMaxNum();
+ // 鍒囨崲鍒板熀鏈俊鎭〉绛�
+ this.tabs = 0;
+ }
+ }
+ });
+ },
+ // 鑾峰彇鎵�鏈夊垪琛ㄦ暟鎹�
+ async getListData() {
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ await this.getDepartmentList();
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ await this.getHErrMesTypeList();
+ // 鑾峰彇浜哄憳鍒楄〃锛堟帴鏀朵汉銆佸鐞嗕汉銆佹妱閫佷汉銆佽矗浠讳汉銆丵E璐d换浜猴級
+ await this.getPersonList();
+ // 鑾峰彇璁惧鍒楄〃
+ await this.getEquipList();
+ // 鑾峰彇妯″叿鍒楄〃
+ await this.getModList();
+ },
+
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ getDepartmentList() {
+ uni.request({
+ url: this.serverUrl + '/Gy_Department/list',
+ data: {
+ sWhere: "",
+ user: uni.getStorageSync('HUserName'),
+ Organization: uni.getStorageSync('Organization')
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HDeptNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHDeptName[i] = res.data.data[i].閮ㄩ棬鍚嶇О
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ getHErrMesTypeList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_ErrMsgBackTypeList_Json',
+ data: {
+ ErrMsg: "",
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HErrMsgBackTypeNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHErrMsgBackTypeName[i] = res.data.data[i].寮傚父鍙嶉绫诲瀷鍚嶇О
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇浜哄憳鍒楄〃锛堥�氱敤鏂规硶锛�
+ getPersonList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetEmployeeList_Json',
+ data: {
+ Employee: '',
+ HGroupID: 0
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HEmpNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHEmpName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇璁惧鍒楄〃
+ getEquipList() {
+ uni.request({
+ url: this.serverUrl + '/WEBSController/GetEquipList_Json',
+ data: {
+ Equip: "",
+ HCenterID: 0 //uni.getStorageSync("HWorkCenterID")
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HEquipNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHEquipName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇妯″叿鍒楄〃
+ getModList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_MouldFileMainList_Json',
+ data: {
+ MouldFileMain: ""
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HMouldNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHMouldName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ //鏂板
+ getMaxNum() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetMAXNum',
+ data: {
+ HBillType: '4529'
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.hform.HInterID = res.data.data[0].HInterID
+ this.hform.HBillNo = res.data.data[0].HBillNo
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ getEditData(HInterID) {
+ uni.showLoading({
+ title: '鍔犺浇涓�'
+ });
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/Edit_OA_ErrMsgBackReceiveBill',
+ data: {
+ "HID": HInterID
+ },
+ success: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁:', res);
+ if (res.data.code == 1) {
+ const data = res.data.data[0]; // 娉ㄦ剰杩欓噷鏀逛负data[0]
+ this.hform = {
+ ...this.hform, // 淇濈暀鍘熸湁鐨勯粯璁ゅ��
+ HInterID: data["hmainid"] || '',
+ HEntryID: data["HEntryID"] || '',
+ HBillNo: data["鍗曟嵁鍙�"] || '',
+ HDate: data["鏃ユ湡"] ? dayjs(data["鏃ユ湡"]).format("YYYY-MM-DD") : dayjs(
+ new Date()).format("YYYY-MM-DD"),
+
+ HErrMsgBackTypeID: data["HErrMsgBackTypeID"] || '0',
+ HErrMsgBackTypeName: data["寮傚父绫诲瀷"] || '',
+ HContext: data["涓婚"] || '',
+ HDescription: data["鍐呭"] || '',
+
+ HDeptID: data["HDeptID"] || '0',
+ HDeptName: data["鍙戦�侀儴闂�"] || '',
+ HReceiveID: data["HReceiveID"] || '0', // 鏂板瀛楁
+ HReceiveName: data["鎺ユ敹閮ㄩ棬"] || '',
+
+ HSendMan: data["鍙戦�佷汉"] || '',
+ HReceiveMan: data["鎺ユ敹浜�"] || '',
+ HCopyMan: data["鎶勯�佷汉"] || '',
+
+ HBillTypeName: data["鍗曟嵁绫诲瀷"] || '',
+ HPlanBillNo: data["鍗曟嵁鍙风爜"] || '',
+ HMaterName: data["浜у搧鍚嶇О"] || '',
+ HMaterModel: data["瑙勬牸鍨嬪彿"] || '',
+
+ HEquipID: data["HEquipID"] || '0',
+ HEquipName: data["璁惧鍚嶇О"] || '',
+
+ HMouldID: data["HMouldID"] || '0', // 淇瀛楁鍚�
+ HMouldName: data["妯℃不鍏峰悕绉�"] || '',
+
+ HRelationEmpID: data["HRelationEmpID"] || '0',
+ HRelationEmpName: data["鍏宠仈浜�"] || '',
+ HReceiveNote: data["鎺ユ敹纭"] || '',
+ HReceiveDate: data["鎺ユ敹纭鏃堕棿"] ? dayjs(data["鎺ユ敹纭鏃堕棿"]).format(
+ "YYYY-MM-DD HH:mm:ss") : '',
+ HHandleEmpID: data["HHandleEmpID"] || '0',
+ HandleEmpName: data["鎸囨淳澶勭悊浜�"] || '',
+ HHandleAdvise: data["澶勭悊寤鸿"] || '',
+
+
+ HMainSourceInterID: data["婧愬崟ID"] || '0',
+ HMainSourceEntryID: data["婧愬崟瀛怚D"] || '0',
+ HMainSourceBillNo: data["婧愬崟鍗曞彿"] || '',
+ HMainSourceBillType: data["婧愬崟绫诲瀷"] || '',
+
+ HErrMsgBackBillNo: data["寮傚父鍙嶉鍗曞彿"] || '',
+ HErrMsgBackInterID: data["寮傚父鍙嶉鍗曚富鍐呯爜"] || '0',
+ HErrMsgBackEntryID: data["寮傚父鍙嶉鍗曞瓙鍐呯爜"] || '0',
+
+ HRemark: data["琛ㄥご澶囨敞"] || '',
+ HMaker: data["鍒跺崟浜�"] || this.userInfo.Czymc || '',
+ HMakeDate: data["鍒跺崟鏃ユ湡"] ? dayjs(data["鍒跺崟鏃ユ湡"]).format("YYYY-MM-DD") : dayjs(
+ new Date()).format("YYYY-MM-DD"),
+
+ HUpDater: data["淇敼浜�"] || this.userInfo.Czymc || '',
+ HUpDateDate: data["淇敼鏃ユ湡"] ? dayjs(data["淇敼鏃ユ湡"]).format("YYYY-MM-DD") :
+ dayjs(new Date()).format("YYYY-MM-DD"),
+
+ HChecker: data["瀹℃牳浜�"] || '',
+ HCheckDate: data["瀹℃牳鏃ユ湡"] ? dayjs(data["瀹℃牳鏃ユ湡"]).format("YYYY-MM-DD") : '',
+
+ HDeleteMan: data["浣滃簾浜�"] || '',
+ HDeleteDate: data["浣滃簾鏃ユ湡"] ? dayjs(data["浣滃簾鏃ユ湡"]).format("YYYY-MM-DD") : '',
+
+ HLevel: data["绱ф�ョ▼搴�"] || '鏅��'
+ };
+
+ this.isEdit = true;
+ } else {
+ uni.showToast({
+ title: res.data.msg || '鑾峰彇缂栬緫鏁版嵁澶辫触',
+ icon: 'none'
+ });
+ }
+ },
+ fail: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁璇锋眰澶辫触:', res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ });
+ }
+ });
+ },
+
+ submit() {
+ if (!this.hform.HReceiveMan) {
+ uni.showToast({
+ title: '璇烽�夋嫨鎺ユ敹浜�',
+ icon: 'none'
+ })
+ } else {
+ uni.showLoading({
+ title: '璇风◢鍊�'
+ })
+ if (this.OperationType == 1 || this.OperationType == 2 || this.OperationType == 4) {
+ this.refSav = "Add";
+ }
+ //鑻ヤ负缂栬緫-淇濆瓨锛屽垯鏇存柊淇敼浜哄拰淇敼鏃堕棿
+ if (this.OperationType == 3) {
+ this.refSav = "Update";
+ this.hform.HUpdater = getUserInfo().Czymc;
+ this.hform.HUpdaterDate = dayjs(new Date()).format("YYYY-MM-DD");
+ }
+ var sMainStr = JSON.stringify(this.hform);
+ var sMainSub = sMainStr + ';' + this.refSav + ';' + uni.getStorageSync('HUserName')
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/SaveOA_ErrMsgBackReceiveBill_APP',
+ method: 'POST',
+ dataType: "json",
+ data: {
+ "msg": sMainSub
+ },
+ success: (res) => {
+ console.log(1, res);
+ uni.hideLoading()
+ if (res.data.count == 1) {
+ if (res.data.Verify == "Y") { //鑷姩瀹℃牳
+ this.SaveVerify(res.data.HInterID) //瀹℃牳
+ } else {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ }
+ }
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ }
+ },
+
+ SaveVerify(HInterID) {
+ var datas = {
+ HInterID: HInterID,
+ IsAudit: 0,
+ CurUserName: getUserInfo().Czymc
+ }
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/AuditOA_ErrMsgBackSignBill',
+ method: 'GET',
+ dataType: "json",
+ async: true,
+ data: datas,
+ success: (res) => {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ goBack() {
+ uni.navigateBack()
+ }
+ }
+ }
+</script>
+
+<style lang="scss">
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBillList.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBillList.vue
new file mode 100644
index 0000000..63447c4
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBillList.vue
@@ -0,0 +1,580 @@
+<template>
+ <view>
+ <view class="page-header">
+ <view class="search-item">
+ <view class="left">鏃ユ湡闂撮殧</view>
+ <view class="right">
+ <picker mode="selector" :value="curDateGap" :range="dateRangePicker"
+ @change="onDateRangePickerChangeHandler">
+ <input disabled v-model="curDateGap" placeholder="璇烽�夋嫨鏃ユ湡闂撮殧" />
+ <view class="picker-overlay"></view>
+ </picker>
+
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">寮�濮嬫棩鏈�</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="startDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">
+ <text>{{ startDate }}</text>
+ </view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">缁撴潫鏃ユ湡</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="endDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">{{ endDate }}</view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">鍗曟嵁鍙�</view>
+ <view class="right">
+ <input type="text" auto-focus v-model="HBillNo" />
+ </view>
+ </view>
+
+ <view class="button-groups">
+ <button type="default" size="mini" class="btn-b" @tap.stop="onAddClickHandler">鏂板</button>
+ <button type="default" size="mini" class="btn-c" @tap.stop="onSearchClickHandler">鏌ヨ</button>
+ <button type="default" size="mini" class="btn-a" @tap.stop="onResetClickHandler">閲嶇疆</button>
+ </view>
+ </view>
+ <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
+ <scroll-view id="pageContent" scroll-y class="page-content" :style="{height: pageContentHeight + 'px'}">
+ <view class="list" v-for="(item,index) in listData" :key="index">
+ <uni-card :title="item.鍗曟嵁鐘舵��" :extra="item.鍗曟嵁鍙�" style="margin: 10px;"
+ @tap="showDetail = showDetail==index?-1:index">
+ <view class="card-detail">
+ <view class="detail" v-if="item.浜у搧鍚嶇О">
+ <text>浜у搧鍚嶇О锛�</text>{{item.浜у搧鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.涓婚">
+ <text>涓婚锛�</text>{{item.涓婚}}
+ </view>
+ <view class="detail" v-if="item.鍐呭">
+ <text>鍐呭锛�</text>{{item.鍐呭}}
+ </view>
+ <view class="detail" v-if="item.寮傚父绫诲瀷">
+ <text>寮傚父绫诲瀷锛�</text>{{item.寮傚父绫诲瀷}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�侀儴闂�">
+ <text>鍙戦�侀儴闂細</text>{{item.鍙戦�侀儴闂▆}
+ </view>
+ <view class="detail" v-if="item.鎺ユ敹閮ㄩ棬">
+ <text>鎺ユ敹閮ㄩ棬锛�</text>{{item.鎺ユ敹閮ㄩ棬}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�佷汉">
+ <text>鍙戦�佷汉锛�</text>{{item.鍙戦�佷汉}}
+ </view>
+ <view class="detail" v-if="item.鍏宠仈浜�">
+ <text>鍏宠仈浜猴細</text>{{item.鍏宠仈浜簘}
+ </view>
+ <view class="detail" v-if="item.鎸囨淳澶勭悊浜�">
+ <text>鎸囨淳澶勭悊浜猴細</text>{{item.鎸囨淳澶勭悊浜簘}
+ </view>
+ <view class="detail" v-if="item.鎶勯�佷汉">
+ <text>鎶勯�佷汉锛�</text>{{item.鎶勯�佷汉}}
+ </view>
+ <view class="detail" v-if="item.璁惧鍚嶇О">
+ <text>璁惧鍚嶇О锛�</text>{{item.璁惧鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.妯℃不鍏峰悕绉�">
+ <text>妯℃不鍏峰悕绉帮細</text>{{item.妯℃不鍏峰悕绉皚}
+ </view>
+ <view class="detail" v-if="item.澶勭悊鎰忚">
+ <text>澶勭悊鎰忚锛�</text>{{item.澶勭悊鎰忚}}
+ </view>
+ <view class="detail" v-if="item.鎸囨淳澶勭悊浜�">
+ <text>鎸囨淳澶勭悊浜猴細</text>{{item.鎸囨淳澶勭悊浜簘}
+ </view>
+ <view class="detail" v-if="item.寮傚父鍙嶉鍗曞彿">
+ <text>寮傚父鍙嶉鍗曞彿锛�</text>{{item.寮傚父鍙嶉鍗曞彿}}
+ </view>
+ </view>
+ <view class="card-detail" v-if="showDetail == index">
+ <view class="detail" v-if="item.鍒跺崟浜�">
+ <text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
+ </view>
+ <view class="detail" v-if="item.鍒跺崟鏃ユ湡">
+ <text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳浜�">
+ <text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳鏃ユ湡">
+ <text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.淇敼浜�">
+ <text>淇敼浜猴細</text>{{item.淇敼浜簘}
+ </view>
+ <view class="detail" v-if="item.淇敼鏃ユ湡">
+ <text>淇敼鏃ユ湡锛�</text>{{item.淇敼鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴浜�">
+ <text>鍏抽棴浜猴細</text>{{item.鍏抽棴浜簘}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴鏃ユ湡">
+ <text>鍏抽棴鏃ユ湡锛�</text>{{item.鍏抽棴鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.浣滃簾浜�">
+ <text>浣滃簾浜猴細</text>{{item.浣滃簾浜簘}
+ </view>
+ <view class="detail" v-if="item.浣滃簾鏃ユ湡">
+ <text>浣滃簾鏃ユ湡锛�</text>{{item.浣滃簾鏃ユ湡.substr(0,10)}}
+ </view>
+ </view>
+
+
+ <view class="more" v-if="showDetail == index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="top" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏀惰捣
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+ <view class="more" v-if="showDetail != index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="bottom" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏇村淇℃伅
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+
+ <view class="op" v-if="operations == index">
+ <button class="op3" size="mini" plain @tap.stop="edit(item)">缂栬緫</button>
+ <button class="op4" size="mini" plain @tap.stop="del(item)">鍒犻櫎</button>
+ <button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
+ </view>
+ </uni-card>
+ </view>
+ <view class="over" v-if="listData.length == 0">鏆傛棤鏁版嵁</view>
+ </scroll-view>
+ <!-- 鍒嗛〉鍣� -->
+ <view class="page-footer">
+ <uni-pagination id="pagination" title="鏍囬鏂囧瓧" v-model="pageMeta.curPage" :pageSize="pageMeta.size"
+ :total="pageMeta.total" @change="onPageChangeHandler"></uni-pagination>
+ </view>
+ </view>
+</template>
+
+<script>
+ import dayjs from 'dayjs'
+ import {
+ CommonUtils
+ } from '@/utils/common.js'
+ import {
+ getUserInfo
+ } from '../../../../utils/auth'
+ export default {
+ data() {
+ return {
+ // 璁$畻鍗$墖鍒楄〃楂樺害
+ pagination_top: 0,
+ pageContent_top: 0,
+ // 鍒嗛〉鎺у埗
+ pageMeta: {
+ curPage: 1,
+ size: 50,
+ total: 0,
+ },
+ // 婊氬姩鎺у埗
+ scrollTop: 0,
+ old: {
+ scrollTop: 0
+ },
+
+ dateRangePicker: ["浠绘剰闂撮殧", "浠婂ぉ", "杩戜袱澶�", "杩戜笁澶�", "杩戝洓澶�", "杩戜簲澶�", "杩戝叚澶�", "杩戜竷澶�", "杩�30澶�"],
+ curDateGap: "杩戜竷澶�",
+ enableCustomDateRange: false,
+ startDate: dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD'),
+ endDate: dayjs(new Date()).format('YYYY-MM-DD'),
+ HBillNo: '',
+
+ listData: [],
+ showDetail: -1,
+ operations: -1,
+ }
+ },
+ computed: {
+ pageContentHeight: {
+ get() {
+ return (this.pagination_top - this.pageContent_top)
+ }
+ },
+ },
+ onLoad() {
+ this.onSearchClickHandler()
+ },
+ onPullDownRefresh() {
+ this.onSearchClickHandler()
+ },
+ async onReady() {
+ // #ifndef MP-WEIXIN
+ let query = uni.createSelectorQuery().in(this)
+ query.select("#pagination")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pagination_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pagination鑺傜偣");
+ }
+ })
+ .exec();
+ query.select("#pageContent")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pageContent_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pageContent鑺傜偣");
+ }
+ })
+ .exec();
+ // #endif
+
+ },
+ methods: {
+ goTop: function(e) {
+ // 瑙e喅view灞備笉鍚屾鐨勯棶棰�
+ this.scrollTop = this.old.scrollTop
+ this.$nextTick(function() {
+ this.scrollTop = 0
+ });
+ },
+ onDateRangePickerChangeHandler({
+ detail
+ }) {
+ this.enableCustomDateRange = false
+ this.curDateGap = this.dateRangePicker[detail.value]
+ let date = new Date()
+ switch (this.curDateGap) {
+ case "浠婂ぉ":
+ this.startDate = dayjs(date).format("YYYY-MM-DD")
+ break;
+ case "杩戜竴澶�":
+ this.startDate = dayjs(date).subtract(1, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜袱澶�":
+ this.startDate = dayjs(date).subtract(2, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜笁澶�":
+ this.startDate = dayjs(date).subtract(3, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝洓澶�":
+ this.startDate = dayjs(date).subtract(4, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜簲澶�":
+ this.startDate = dayjs(date).subtract(5, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝叚澶�":
+ this.startDate = dayjs(date).subtract(6, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜竷澶�":
+ this.startDate = dayjs(date).subtract(7, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩�30澶�":
+ this.startDate = dayjs(date).subtract(30, 'day').format("YYYY-MM-DD")
+ break;
+ }
+ if (this.curDateGap == '浠绘剰闂撮殧') {
+ this.enableCustomDateRange = true
+ }
+ },
+ onSearchClickHandler() {
+ let sWhere = ""
+ if (this.startDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.startDate + "'";
+ }
+ if (this.endDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.endDate + "'";
+ }
+ if (this.HBillNo) {
+ sWhere += " and 鍗曟嵁鍙� like '%" + this.HBillNo + "%'";
+ }
+ this.get_DisplayPage(sWhere);
+ },
+ clear() {
+ this.curDateGap = "杩戜竷澶�"
+ this.enableCustomDateRange = false
+ this.startDate = dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD')
+ this.endDate = dayjs(new Date()).format('YYYY-MM-DD')
+ this.HBillNo = ''
+ },
+ async onResetClickHandler() {
+ this.clear()
+ await this.$nextTick()
+ this.onSearchClickHandler()
+ },
+ get_DisplayPage(sWhere) {
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/Get_OA_ErrMsgBackReceiveBillListPage',
+ data: {
+ "sWhere": sWhere,
+ "user": getUserInfo()["Czymc"],
+ "page": this.pageMeta.curPage,
+ "size": this.pageMeta.size
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ Message,
+ count
+ } = res.data
+ console.log('res.data: ', res.data);
+ this.listData = data;
+ this.pageMeta.total = count
+ uni.stopPullDownRefresh()
+ }
+ })
+ },
+ onPageChangeHandler() {
+ this.onSearchClickHandler()
+ this.goTop()
+ },
+ // 鏂板寮傚父鍙嶉鍗�
+ onAddClickHandler() {
+ uni.navigateTo({
+ url: "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill?OperationType=1"
+ })
+ },
+ //缂栬緫寮傚父鍙嶉绛惧埌鍗�
+ edit(item) {
+ console.log(item)
+ uni.navigateTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill?OperationType=3&hmainid=' +
+ item.hmainid
+ })
+ },
+ //鍒犻櫎寮傚父鍙嶉绛惧埌鍗�
+ del(item) {
+ uni.showModal({
+ title: '鍒犻櫎纭',
+ content: '纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/DeleteOA_ErrMsgBackReceiveBill',
+ data: {
+ HInterID: item['hmainid'],
+ user: getUserInfo()['Czymc']
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ count,
+ Message
+ } = res.data
+ if (count == 1) {
+ uni.showToast({
+ icon: count === 1 ? 'success' : 'error',
+ title: Message,
+ duration: 2000
+ });
+
+ // 绛夊緟鎻愮ず鏄剧ず瀹屾垚鍐嶅埛鏂�
+ setTimeout(() => {
+ this.onSearchClickHandler();
+ }, 2000);
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: Message
+ })
+ }
+ }
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ }
+ }
+ });
+ }
+ },
+ }
+</script>
+
+<style lang="scss">
+ .page-header {
+ display: flex;
+ box-sizing: border-box;
+ padding: 20rpx;
+ flex-direction: column;
+ gap: 10rpx;
+ font-size: 32rpx;
+
+ .search-item {
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: center;
+ align-items: center;
+
+ .left {
+ width: 4em;
+ }
+
+ .right {
+ flex: 1;
+ position: relative;
+ border-radius: 22rpx;
+ border: 1px solid #acacac;
+ display: flex;
+ padding: 4rpx 10rpx;
+
+ picker {
+ width: 100%;
+ }
+ }
+ }
+
+ input {
+ width: inherit;
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ }
+
+ .datetime-picker-inner {
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ display: flex;
+ align-items: center;
+ }
+
+ .font__enable {
+ color: #000;
+ }
+
+ .font__disable {
+ color: #cccccc;
+ }
+ }
+
+ .button-groups {
+ box-sizing: border-box;
+ padding: 10rpx 0 0 0;
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: space-between;
+
+ button {
+ border-radius: 50rpx;
+ width: 180rpx;
+ height: 66rpx;
+ line-height: 66rpx;
+ font-size: 28rpx;
+ }
+
+ .btn-a {
+ background-color: #acacac;
+ color: #fff;
+ }
+
+ .btn-b {
+ background-color: #41a863;
+ color: #fff;
+ }
+
+ .btn-c {
+ background-color: #3a78ff;
+ color: #fff;
+ }
+ }
+
+ .page-content {
+ // height: 40vh;
+ box-sizing: border-box;
+ padding: 10rpx 0;
+
+ .card-detail {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ line-height: 120%;
+
+ .detail {
+ // width: 50%;
+ font-size: 26rpx;
+ margin-bottom: 12rpx;
+ color: #555;
+ margin-right: 20rpx;
+
+ text {
+ color: #999;
+ font-size: 26rpx;
+ }
+ }
+ }
+
+ .more {
+ color: #888;
+ font-size: 24rpx;
+ display: flex;
+ border-top: 1px solid #eee;
+ padding-top: 20rpx;
+
+ .part {
+ width: 50%;
+ text-align: center;
+ }
+ }
+
+ .op {
+ display: flex;
+ justify-content: space-around;
+ margin-top: 20rpx;
+
+ button {
+ padding: 0;
+ width: 150rpx;
+ font-size: 25rpx;
+ }
+
+ .op1 {
+ border: 1px solid #41a863;
+ color: #41a863;
+ }
+
+ .op2 {
+ border: 1px solid #d98d00;
+ color: #d98d00;
+ }
+
+ .op3 {
+ border: 1px solid #3a78ff;
+ color: #3a78ff;
+ }
+
+ .op4 {
+ border: 1px solid #da0000;
+ color: #da0000;
+ }
+
+ .op5 {
+ border: 1px solid #888;
+ color: #888;
+ }
+ }
+ }
+
+ .page-footer {
+ position: fixed;
+ bottom: 0;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 32rpx 40rpx;
+ }
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill.vue
new file mode 100644
index 0000000..6442448
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill.vue
@@ -0,0 +1,882 @@
+<template>
+ <view>
+ <!-- 椤电鍖哄煙 -->
+ <view class="tabs" id="tabs">
+ <view class="tabs">
+ <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">鍩烘湰淇℃伅</view>
+ <view :class="tabs == 1 ? 'on':''" @tap="tabs = 1">鍏朵粬淇℃伅</view>
+ <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">鍒跺崟淇℃伅</view>
+ </view>
+ </view>
+ <!-- 鍩烘湰淇℃伅 -->
+ <template v-if="tabs == 0">
+ <view class="form" :style="{height: containerHeight + 'px',overflow: 'auto' }">
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙�:</view>
+ <view class="righton">
+ <input name="HBillNo" disabled v-model="hform.HBillNo" placeholder="璇疯緭鍏ュ崟鎹彿" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDate" disabled v-model="hform.HDate" placeholder="璇烽�夋嫨" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">绛惧埌纭:</view>
+ <view class="right">
+ <input name="HSignNote" v-model="hform.HSignNote" placeholder="璇疯緭鍏ユ槸鍚︾鍒�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">绛惧埌鏃堕棿:</view>
+ <view class="righton">
+ <input name="HSignDate" disabled v-model="hform.HSignDate" placeholder="璇烽�夋嫨" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">涓婚:</view>
+ <view class="right">
+ <input name="HContext" v-model="hform.HContext" placeholder="璇疯緭鍏ヤ富棰�" />
+ </view>
+ </view>
+ <view class="form-item" style="align-items: flex-start;">
+ <view class="title"><text>*</text>璇︾粏鍐呭:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <textarea name="HDescription" v-model="hform.HDescription" auto-height maxlength="-1"
+ placeholder="璇疯緭鍏ヨ缁嗗唴瀹�"></textarea>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">寮傚父绫诲瀷:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHErrMsgBackTypeName" placeholder="璇烽�夋嫨"
+ v-model="hform.HErrMsgBackTypeName" @input="HErrMsgBackTypeNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�侀儴闂�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HDeptName"
+ @input="HDeptNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍙戦�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鍙戦�佷汉" v-model="hform.HSendMan"
+ @input="HSendManChange"></uni-combox>
+ </view>
+ </view>
+
+ <view class="form-item">
+ <view class="title"><text>*</text>鎺ユ敹浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎺ユ敹浜�" v-model="hform.HReceiveMan"
+ @input="HReceiveManChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">绛惧埌浜�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨绛惧埌浜�" v-model="hform.HSignEmpName"
+ @input="HSignEmpNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐩稿叧璁惧:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEquipName" placeholder="璇烽�夋嫨" v-model="hform.HEquipName"
+ @input="HEquipNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鐩稿叧妯″叿:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHMouldName" placeholder="璇烽�夋嫨" v-model="hform.HMouldName"
+ @input="HMouldIDNameChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浜у搧鍚嶇О:</view>
+ <view class="right">
+ <input name="HMaterName" v-model="hform.HMaterName" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瑙勬牸鍨嬪彿:</view>
+ <view class="right">
+ <input name="HMaterModel" v-model="hform.HMaterModel" placeholder="璇疯緭鍏ヨ鏍煎瀷鍙�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">澶囨敞:</view>
+ <view class="right" style="min-height: 150rpx;">
+ <input name="HRemark" v-model="hform.HRemark" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍏朵粬淇℃伅 -->
+ <template v-if="tabs == 1">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鎺ユ敹閮ㄩ棬:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HReceiveName"
+ @input="HRecceiveChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鎶勯�佷汉:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎶勯�佷汉" v-model="hform.HCopyMan"
+ @input="HCopyManChange" multiple></uni-combox>
+ </view>
+ </view>
+
+ <view class="form-item">
+ <view class="title">绱ф�ョ▼搴�:</view>
+ <view class="right">
+ <uni-combox :candidates="arrayHLevel" placeholder="璇烽�夋嫨绱ф�ョ▼搴�" v-model="hform.HLevel"
+ @input="HLevelChange"></uni-combox>
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁绫诲瀷:</view>
+ <view class="righton">
+ <input name="HBillTypeName" disabled v-model="hform.HBillTypeName" placeholder="璇疯緭鍏ュ崟鎹被鍨�" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍗曟嵁鍙风爜:</view>
+ <view class="righton">
+ <input name="HPlanBillNo" disabled v-model="hform.HPlanBillNo" placeholder="璇疯緭鍏ュ崟鎹彿鐮�" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <!-- 鍒跺崟淇℃伅 -->
+ <template v-if="tabs == 2">
+ <view class="form">
+ <view class="form-item">
+ <view class="title">鍒跺崟浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HMaker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">鍒跺崟鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HMakeDate" disabled v-model="hform.HMakeDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HUpDater" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">淇敼鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HUpDateDate" disabled v-model="hform.HUpDateDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HChecker" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">瀹℃牳鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HCheckDate" disabled v-model="hform.HCheckDate" placeholder="" />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾浜�:</view>
+ <view class="righton">
+ <input v-model="hform.HDeleteMan" disabled />
+ </view>
+ </view>
+ <view class="form-item">
+ <view class="title">浣滃簾鏃ユ湡:</view>
+ <view class="righton">
+ <input name="HDeleteDate" disabled v-model="hform.HDeleteDate" placeholder="" />
+ </view>
+ </view>
+ </view>
+ </template>
+ <view class="buttons" id="buttons">
+ <button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+ <view style="flex: 1;"></view>
+ <button class="btn-a" size="mini" @tap="addNew">鏂板</button>
+ <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
+ </view>
+ </view>
+</template>
+<script>
+ import dayjs from "dayjs";
+ import {
+ CommonUtils
+ } from "@/utils/common";
+ import getDateTime from '@/utils/getdateTime.js';
+ import {
+ getUserInfo
+ } from "../../../../utils/auth";
+ import "@/pages/ZLGL/AanDengHujiao/style/OA_ErrMsgStyle.scss"
+ export default {
+ data() {
+ return {
+ tabs: 0,
+ tabsBottom: 0,
+ userInfo: getUserInfo(),
+ serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
+ OperationType: 1,
+ refSav: "",
+
+ arrayHLevel: ['鏅��', '绱ф��'],
+
+ // 浜哄憳鐩稿叧鏁扮粍
+ arrayHEmpName: [], // 鎺ユ敹浜� 鍙戦�佷汉 澶勭悊浜� 璐d换浜� 鎶勯�佷汉 QE璐d换浜�
+ HEmpNameList: [],
+
+
+ // 鍏朵粬鏁扮粍
+ arrayHDeptName: [], // 鎺ユ敹銆佸彂閫侀儴闂�
+ HDeptNameList: [],
+ arrayHErrMsgBackTypeName: [], // 寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameList: [],
+ arrayHEquipName: [], //璁惧
+ HEquipNameList: [],
+ arrayHMouldName: [], //妯″叿
+ HMouldNameList: [],
+
+ isEdit: false,
+
+ hform: {
+ HBillNo: '',
+ HInterID: '',
+ HDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HSignDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HSignNote: '',
+ HContext: '',
+ HDescription: '',
+ HRemark: '',
+
+ HErrMsgBackTypeName: '',
+ HErrMsgBackTypeID: '0',
+ HDeptName: getUserInfo().HDeptName,
+ HDeptID: getUserInfo().HDeptID,
+ HReceiveName: getUserInfo().HDeptName,
+ HReceiveID: getUserInfo().HDeptID,
+
+ HSendMan: getUserInfo().Czymc, //鍙戦�佷汉
+ HReceiveMan: getUserInfo().HEmpName, //鎺ユ敹浜�
+ HSignEmpName: getUserInfo().HEmpName, //绛惧埌
+ HSignEmpID: getUserInfo().HEmpID,
+ HCopyMan: '',
+
+
+
+ HLevel: '鏅��',
+ HBillTypeName: '',
+ HPlanBillNo: '',
+ HMaterNumber: '',
+ HMaterName: '',
+ HMaterModel: '',
+
+ // 鏂版坊鍔犵殑瀛楁
+
+
+ HEquipName: '', // 璁惧
+ HEquipID: '0', // 璁惧ID
+ HMouldName: '', // 妯″叿
+ HMouldID: '0', // 妯″叿ID
+
+ HMainSourceBillNo: '',
+ HMainSourceInterID: '0',
+ HMainSourceEntryID: '0',
+ HMainSourceBillType: '',
+
+ HErrMsgBackBillNo: '',
+ HErrMsgBackInterID: '0',
+ HErrMsgBackEntryID: '0',
+
+ HMaker: getUserInfo().Czymc,
+ HMakeDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+ HUpDater: '',
+ HUpDateDate: '',
+ HChecker: '',
+ HCheckDate: '',
+ HDeleteMan: '', // 浣滃簾浜�
+ HDeleteDate: '', // 浣滃簾鏃ユ湡
+ }
+ }
+ },
+ onLoad(e) {
+ this.getListData()
+ if (!e.OperationType) {
+ this.OperationType = 1
+ } else {
+ this.OperationType = e.OperationType
+ }
+
+ if (this.OperationType == 1) {
+ // 鏂板
+ this.getMaxNum()
+ } else if (this.OperationType == 2) {
+ // 鏈夋簮鍗�
+ this.getMaxNum()
+ } else if (this.OperationType == 3) {
+ // 缂栬緫
+ this.getEditData(e.hmainid)
+ } else if (this.OperationType == 4) {
+ // 娴忚
+ }
+ },
+ computed: {
+ containerHeight: {
+ get() {
+ return this.btnTop - this.tabsBottom - 5
+ }
+ }
+ },
+ onReady() {
+ const query = uni.createSelectorQuery().in(this)
+ query.select("#buttons")
+ .boundingClientRect()
+ .select("#tabs")
+ .boundingClientRect()
+ .exec(res => {
+ this.btnTop = Math.floor(res[0].top)
+ this.tabsBottom = Math.ceil(res[1].bottom)
+ })
+ },
+ methods: {
+ //閫夋嫨鍙戦�侀儴闂�
+ HDeptNameChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HDeptID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹閮ㄩ棬
+ HRecceiveChange(e) {
+ for (var i = 0; i < this.HDeptNameList.length; i++) {
+ if (this.HDeptNameList[i].閮ㄩ棬鍚嶇О == e) {
+ this.hform.HReceiveID = this.HDeptNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨寮傚父鍙嶉绫诲瀷
+ HErrMsgBackTypeNameChange(e) {
+ for (var i = 0; i < this.HErrMsgBackTypeNameList.length; i++) {
+ if (this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О == e) {
+ this.hform.HErrMsgBackTypeName = this.HErrMsgBackTypeNameList[i].寮傚父鍙嶉绫诲瀷鍚嶇О;
+ this.hform.HErrMsgBackTypeID = this.HErrMsgBackTypeNameList[i].HItemID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨鍙戦�佷汉
+ HSendManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨鎺ユ敹浜�
+ HReceiveManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨绛惧埌浜�
+ HSignEmpNameChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+ this.hform.HSignEmpID = this.HEmpNameList[i].HItemID
+ }
+ }
+ },
+ //閫夋嫨鎶勯�佷汉
+ HCopyManChange(e) {
+ for (var i = 0; i < this.HEmpNameList.length; i++) {
+ if (this.HEmpNameList[i].HName == e) {
+
+ }
+ }
+ },
+ //閫夋嫨璁惧
+ HEquipNameChange(e) {
+ for (var i = 0; i < this.HEquipNameList.length; i++) {
+ if (this.HEquipNameList[i].HName == e) {
+ this.hform.HEquipName = this.HEquipNameList[i].HName;
+ this.hform.HEquipID = this.HEquipNameList[i].HInterID;
+ break;
+ }
+ }
+ },
+ //閫夋嫨妯″叿
+ HMouldIDNameChange(e) {
+ for (var i = 0; i < this.HMouldNameList.length; i++) {
+ if (this.HMouldNameList[i].HName == e) {
+ this.hform.HMouldName = this.HMouldNameList[i].HName;
+ this.hform.HMouldID = this.HMouldNameList[i].HInterID;
+ break;
+ }
+ }
+ },
+ // 闈欐�佷笅鎷夋閫夋嫨鏂规硶
+ HLevelChange(e) {
+ this.hform.HLevel = e;
+ },
+ //鏂板鎸夐挳浜嬩欢
+ addNew() {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: '鏂板鍚庨〉闈㈡暟鎹皢娑堝け锛岀‘瀹氳鏂板鍚楋紵',
+ success: (res) => {
+ if (res.confirm) {
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill?operationType=1'
+ })
+ // 閲嶆柊鑾峰彇鏈�澶у崟鎹彿
+ this.getMaxNum();
+ // 鍒囨崲鍒板熀鏈俊鎭〉绛�
+ this.tabs = 0;
+ }
+ }
+ });
+ },
+ // 鑾峰彇鎵�鏈夊垪琛ㄦ暟鎹�
+ async getListData() {
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ await this.getDepartmentList();
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ await this.getHErrMesTypeList();
+ // 鑾峰彇浜哄憳鍒楄〃锛堟帴鏀朵汉銆佸鐞嗕汉銆佹妱閫佷汉銆佽矗浠讳汉銆丵E璐d换浜猴級
+ await this.getPersonList();
+ // 鑾峰彇璁惧鍒楄〃
+ await this.getEquipList();
+ // 鑾峰彇妯″叿鍒楄〃
+ await this.getModList();
+ },
+
+ // 鑾峰彇閮ㄩ棬鍒楄〃
+ getDepartmentList() {
+ uni.request({
+ url: this.serverUrl + '/Gy_Department/list',
+ data: {
+ sWhere: "",
+ user: uni.getStorageSync('HUserName'),
+ Organization: uni.getStorageSync('Organization')
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HDeptNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHDeptName[i] = res.data.data[i].閮ㄩ棬鍚嶇О
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇寮傚父鍙嶉绫诲瀷鍒楄〃
+ getHErrMesTypeList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_ErrMsgBackTypeList_Json',
+ data: {
+ ErrMsg: "",
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HErrMsgBackTypeNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHErrMsgBackTypeName[i] = res.data.data[i].寮傚父鍙嶉绫诲瀷鍚嶇О
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鑾峰彇寮傚父鍙嶉绫诲瀷淇℃伅澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇浜哄憳鍒楄〃锛堥�氱敤鏂规硶锛�
+ getPersonList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetEmployeeList_Json',
+ data: {
+ Employee: '',
+ HGroupID: 0
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HEmpNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHEmpName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇璁惧鍒楄〃
+ getEquipList() {
+ uni.request({
+ url: this.serverUrl + '/WEBSController/GetEquipList_Json',
+ data: {
+ Equip: "",
+ HCenterID: 0 //uni.getStorageSync("HWorkCenterID")
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HEquipNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHEquipName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ // 鑾峰彇妯″叿鍒楄〃
+ getModList() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetGy_MouldFileMainList_Json',
+ data: {
+ MouldFileMain: ""
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.HMouldNameList = res.data.data
+ for (var i = 0; i < res.data.data.length; i++) {
+ this.arrayHMouldName[i] = res.data.data[i].HName
+ }
+ this.$forceUpdate();
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ //鏂板
+ getMaxNum() {
+ uni.request({
+ url: this.serverUrl + '/Web/GetMAXNum',
+ data: {
+ HBillType: '4530'
+ },
+ success: (res) => {
+ if (res.data.count == 1) {
+ this.hform.HInterID = res.data.data[0].HInterID
+ this.hform.HBillNo = res.data.data[0].HBillNo
+ } else {
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ }
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ getEditData(HInterID) {
+ uni.showLoading({
+ title: '鍔犺浇涓�'
+ });
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/Edit_OA_ErrMsgBackSignBill',
+ data: {
+ "HID": HInterID
+ },
+ success: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁:', res);
+ if (res.data.code == 1) {
+ const data = res.data.data[0]; // 娉ㄦ剰杩欓噷鏀逛负data[0]
+ this.hform = {
+ ...this.hform, // 淇濈暀鍘熸湁鐨勯粯璁ゅ��
+ HInterID: data["hmainid"] || '',
+ HEntryID: data["HEntryID"] || '',
+ HBillNo: data["鍗曟嵁鍙�"] || '',
+ HDate: data["鏃ユ湡"] ? dayjs(data["鏃ユ湡"]).format("YYYY-MM-DD") : dayjs(
+ new Date()).format("YYYY-MM-DD"),
+
+ HErrMsgBackTypeID: data["HErrMsgBackTypeID"] || '0',
+ HErrMsgBackTypeName: data["寮傚父绫诲瀷"] || '',
+ HContext: data["涓婚"] || '',
+ HDescription: data["鍐呭"] || '',
+
+ HDeptID: data["HDeptID"] || '0',
+ HDeptName: data["鍙戦�侀儴闂�"] || '',
+ HReceiveID: data["HReceiveID"] || '0', // 鏂板瀛楁
+ HReceiveName: data["鎺ユ敹閮ㄩ棬"] || '',
+
+ HSendMan: data["鍙戦�佷汉"] || '',
+ HReceiveMan: data["鎺ユ敹浜�"] || '',
+ HCopyMan: data["鎶勯�佷汉"] || '',
+
+ HBillTypeName: data["鍗曟嵁绫诲瀷"] || '',
+ HPlanBillNo: data["鍗曟嵁鍙风爜"] || '',
+ HMaterName: data["浜у搧鍚嶇О"] || '',
+ HMaterModel: data["瑙勬牸鍨嬪彿"] || '',
+
+ HEquipID: data["HEquipID"] || '0',
+ HEquipName: data["璁惧鍚嶇О"] || '',
+
+ HMouldID: data["HMouldID"] || '0', // 淇瀛楁鍚�
+ HMouldName: data["妯℃不鍏峰悕绉�"] || '',
+
+ HSignEmpID: data["HSignEmpID"] || '0',
+ HSignEmpName: data["绛惧埌浜�"] || '',
+ HSignNote: data["绛惧埌纭"] || '', // 鏂板瀛楁
+ HSignDate: data["绛惧埌鏃堕棿"] ? dayjs(data["绛惧埌鏃堕棿"]).format(
+ "YYYY-MM-DD HH:mm:ss") : '',
+
+
+ HMainSourceInterID: data["婧愬崟ID"] || '0',
+ HMainSourceEntryID: data["婧愬崟瀛怚D"] || '0',
+ HMainSourceBillNo: data["婧愬崟鍗曞彿"] || '',
+ HMainSourceBillType: data["婧愬崟绫诲瀷"] || '',
+
+ HErrMsgBackBillNo: data["寮傚父鍙嶉鍗曞彿"] || '', // 鏂板瀛楁
+ HErrMsgBackInterID: data["寮傚父鍙嶉鍗曚富鍐呯爜"] || '0', // 鏂板瀛楁
+ HErrMsgBackEntryID: data["寮傚父鍙嶉鍗曞瓙鍐呯爜"] || '0', // 鏂板瀛楁
+
+ HRemark: data["琛ㄥご澶囨敞"] || '',
+ HMaker: data["鍒跺崟浜�"] || this.userInfo.Czymc || '',
+ HMakeDate: data["鍒跺崟鏃ユ湡"] ? dayjs(data["鍒跺崟鏃ユ湡"]).format("YYYY-MM-DD") : dayjs(
+ new Date()).format("YYYY-MM-DD"),
+
+ HUpDater: data["淇敼浜�"] || this.userInfo.Czymc || '',
+ HUpDateDate: data["淇敼鏃ユ湡"] ? dayjs(data["淇敼鏃ユ湡"]).format("YYYY-MM-DD") :
+ dayjs(new Date()).format("YYYY-MM-DD"),
+
+ HChecker: data["瀹℃牳浜�"] || '',
+ HCheckDate: data["瀹℃牳鏃ユ湡"] ? dayjs(data["瀹℃牳鏃ユ湡"]).format("YYYY-MM-DD") : '',
+
+ HDeleteMan: data["浣滃簾浜�"] || '',
+ HDeleteDate: data["浣滃簾鏃ユ湡"] ? dayjs(data["浣滃簾鏃ユ湡"]).format("YYYY-MM-DD") : '',
+
+ HLevel: data["绱ф�ョ▼搴�"] || '鏅��'
+ };
+
+ this.isEdit = true;
+ } else {
+ uni.showToast({
+ title: res.data.msg || '鑾峰彇缂栬緫鏁版嵁澶辫触',
+ icon: 'none'
+ });
+ }
+ },
+ fail: (res) => {
+ uni.hideLoading();
+ console.log('缂栬緫鏁版嵁璇锋眰澶辫触:', res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ });
+ }
+ });
+ },
+
+ submit() {
+ if (!this.hform.HReceiveMan) {
+ uni.showToast({
+ title: '璇烽�夋嫨鎺ユ敹浜�',
+ icon: 'none'
+ })
+ } else {
+ uni.showLoading({
+ title: '璇风◢鍊�'
+ })
+ if (this.OperationType == 1 || this.OperationType == 2 || this.OperationType == 4) {
+ this.refSav = "Add";
+ }
+ //鑻ヤ负缂栬緫-淇濆瓨锛屽垯鏇存柊淇敼浜哄拰淇敼鏃堕棿
+ if (this.OperationType == 3) {
+ this.refSav = "Update";
+ this.hform.HUpdater = getUserInfo().Czymc;
+ this.hform.HUpdaterDate = dayjs(new Date()).format("YYYY-MM-DD");
+ }
+ var sMainStr = JSON.stringify(this.hform);
+ var sMainSub = sMainStr + ';' + this.refSav + ';' + uni.getStorageSync('HUserName')
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/SaveOA_ErrMsgBackSignBill_APP',
+ method: 'POST',
+ dataType: "json",
+ data: {
+ "msg": sMainSub
+ },
+ success: (res) => {
+ console.log(1, res);
+ uni.hideLoading()
+ if (res.data.count == 1) {
+ if (res.data.Verify == "Y") { //鑷姩瀹℃牳
+ this.SaveVerify(res.data.HInterID) //瀹℃牳
+ } else {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ }
+ }
+ uni.showToast({
+ title: res.data.Message,
+ icon: 'none'
+ })
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ }
+ },
+
+ SaveVerify(HInterID) {
+ var datas = {
+ HInterID: HInterID,
+ IsAudit: 0,
+ CurUserName: getUserInfo().Czymc
+ }
+ uni.request({
+ url: this.serverUrl + '/Sc_MESTransFerWorkBill/AuditOA_ErrMsgBackSignBill',
+ method: 'GET',
+ dataType: "json",
+ async: true,
+ data: datas,
+ success: (res) => {
+ uni.showModal({
+ title: '鎻愮ず',
+ content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ uni.redirectTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill?operationType=1'
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 50)
+ }
+ }
+ });
+ },
+ fail: (res) => {
+ console.log(res);
+ uni.showToast({
+ title: '鎺ュ彛璇锋眰澶辫触',
+ icon: 'none'
+ })
+ },
+ });
+ },
+
+ goBack() {
+ uni.navigateBack()
+ }
+ }
+ }
+</script>
+
+<style lang="scss">
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBillList.vue b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBillList.vue
new file mode 100644
index 0000000..8bba83e
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBillList.vue
@@ -0,0 +1,571 @@
+<template>
+ <view>
+ <view class="page-header">
+ <view class="search-item">
+ <view class="left">鏃ユ湡闂撮殧</view>
+ <view class="right">
+ <picker mode="selector" :value="curDateGap" :range="dateRangePicker"
+ @change="onDateRangePickerChangeHandler">
+ <input disabled v-model="curDateGap" placeholder="璇烽�夋嫨鏃ユ湡闂撮殧" />
+ <view class="picker-overlay"></view>
+ </picker>
+
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">寮�濮嬫棩鏈�</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="startDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">
+ <text>{{ startDate }}</text>
+ </view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">缁撴潫鏃ユ湡</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="endDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">{{ endDate }}</view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">鍗曟嵁鍙�</view>
+ <view class="right">
+ <input type="text" auto-focus v-model="HBillNo" />
+ </view>
+ </view>
+
+ <view class="button-groups">
+ <button type="default" size="mini" class="btn-b" @tap.stop="onAddClickHandler">鏂板</button>
+ <button type="default" size="mini" class="btn-c" @tap.stop="onSearchClickHandler">鏌ヨ</button>
+ <button type="default" size="mini" class="btn-a" @tap.stop="onResetClickHandler">閲嶇疆</button>
+ </view>
+ </view>
+ <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
+ <scroll-view id="pageContent" scroll-y class="page-content" :style="{height: pageContentHeight + 'px'}">
+ <view class="list" v-for="(item,index) in listData" :key="index">
+ <uni-card :title="item.鍗曟嵁鐘舵��" :extra="item.鍗曟嵁鍙�" style="margin: 10px;"
+ @tap="showDetail = showDetail==index?-1:index">
+ <view class="card-detail">
+ <view class="detail" v-if="item.浜у搧鍚嶇О">
+ <text>浜у搧鍚嶇О锛�</text>{{item.浜у搧鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.涓婚">
+ <text>涓婚锛�</text>{{item.涓婚}}
+ </view>
+ <view class="detail" v-if="item.鍐呭">
+ <text>鍐呭锛�</text>{{item.鍐呭}}
+ </view>
+ <view class="detail" v-if="item.寮傚父绫诲瀷">
+ <text>寮傚父绫诲瀷锛�</text>{{item.寮傚父绫诲瀷}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�侀儴闂�">
+ <text>鍙戦�侀儴闂細</text>{{item.鍙戦�侀儴闂▆}
+ </view>
+ <view class="detail" v-if="item.鎺ユ敹閮ㄩ棬">
+ <text>鎺ユ敹閮ㄩ棬锛�</text>{{item.鎺ユ敹閮ㄩ棬}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�佷汉">
+ <text>鍙戦�佷汉锛�</text>{{item.鍙戦�佷汉}}
+ </view>
+ <view class="detail" v-if="item.绛惧埌浜�">
+ <text>绛惧埌浜猴細</text>{{item.绛惧埌浜簘}
+ </view>
+ <view class="detail" v-if="item.鎶勯�佷汉">
+ <text>鎶勯�佷汉锛�</text>{{item.鎶勯�佷汉}}
+ </view>
+ <view class="detail" v-if="item.璁惧鍚嶇О">
+ <text>璁惧鍚嶇О锛�</text>{{item.璁惧鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.妯℃不鍏峰悕绉�">
+ <text>妯℃不鍏峰悕绉帮細</text>{{item.妯℃不鍏峰悕绉皚}
+ </view>
+ <view class="detail" v-if="item.寮傚父鍙嶉鍗曞彿">
+ <text>寮傚父鍙嶉鍗曞彿锛�</text>{{item.寮傚父鍙嶉鍗曞彿}}
+ </view>
+ </view>
+ <view class="card-detail" v-if="showDetail == index">
+ <view class="detail" v-if="item.鍒跺崟浜�">
+ <text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
+ </view>
+ <view class="detail" v-if="item.鍒跺崟鏃ユ湡">
+ <text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳浜�">
+ <text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳鏃ユ湡">
+ <text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.淇敼浜�">
+ <text>淇敼浜猴細</text>{{item.淇敼浜簘}
+ </view>
+ <view class="detail" v-if="item.淇敼鏃ユ湡">
+ <text>淇敼鏃ユ湡锛�</text>{{item.淇敼鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴浜�">
+ <text>鍏抽棴浜猴細</text>{{item.鍏抽棴浜簘}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴鏃ユ湡">
+ <text>鍏抽棴鏃ユ湡锛�</text>{{item.鍏抽棴鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.浣滃簾浜�">
+ <text>浣滃簾浜猴細</text>{{item.浣滃簾浜簘}
+ </view>
+ <view class="detail" v-if="item.浣滃簾鏃ユ湡">
+ <text>浣滃簾鏃ユ湡锛�</text>{{item.浣滃簾鏃ユ湡.substr(0,10)}}
+ </view>
+ </view>
+
+
+ <view class="more" v-if="showDetail == index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="top" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏀惰捣
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+ <view class="more" v-if="showDetail != index && operations != index">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="bottom" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏇村淇℃伅
+ </view>
+ <view class="part" @tap.stop="operations = operations==index?-1:index">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+
+ <view class="op" v-if="operations == index">
+ <button class="op3" size="mini" plain @tap.stop="edit(item)">缂栬緫</button>
+ <button class="op4" size="mini" plain @tap.stop="del(item)">鍒犻櫎</button>
+ <button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
+ </view>
+ </uni-card>
+ </view>
+ <view class="over" v-if="listData.length == 0">鏆傛棤鏁版嵁</view>
+ </scroll-view>
+ <!-- 鍒嗛〉鍣� -->
+ <view class="page-footer">
+ <uni-pagination id="pagination" title="鏍囬鏂囧瓧" v-model="pageMeta.curPage" :pageSize="pageMeta.size"
+ :total="pageMeta.total" @change="onPageChangeHandler"></uni-pagination>
+ </view>
+ </view>
+</template>
+
+<script>
+ import dayjs from 'dayjs'
+ import {
+ CommonUtils
+ } from '@/utils/common.js'
+ import {
+ getUserInfo
+ } from '../../../../utils/auth'
+ export default {
+ data() {
+ return {
+ // 璁$畻鍗$墖鍒楄〃楂樺害
+ pagination_top: 0,
+ pageContent_top: 0,
+ // 鍒嗛〉鎺у埗
+ pageMeta: {
+ curPage: 1,
+ size: 50,
+ total: 0,
+ },
+ // 婊氬姩鎺у埗
+ scrollTop: 0,
+ old: {
+ scrollTop: 0
+ },
+
+ dateRangePicker: ["浠绘剰闂撮殧", "浠婂ぉ", "杩戜袱澶�", "杩戜笁澶�", "杩戝洓澶�", "杩戜簲澶�", "杩戝叚澶�", "杩戜竷澶�", "杩�30澶�"],
+ curDateGap: "杩戜竷澶�",
+ enableCustomDateRange: false,
+ startDate: dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD'),
+ endDate: dayjs(new Date()).format('YYYY-MM-DD'),
+ HBillNo: '',
+
+ listData: [],
+ showDetail: -1,
+ operations: -1,
+ }
+ },
+ computed: {
+ pageContentHeight: {
+ get() {
+ return (this.pagination_top - this.pageContent_top)
+ }
+ },
+ },
+ onLoad() {
+ this.onSearchClickHandler()
+ },
+ onPullDownRefresh() {
+ this.onSearchClickHandler()
+ },
+ async onReady() {
+ // #ifndef MP-WEIXIN
+ let query = uni.createSelectorQuery().in(this)
+ query.select("#pagination")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pagination_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pagination鑺傜偣");
+ }
+ })
+ .exec();
+ query.select("#pageContent")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pageContent_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pageContent鑺傜偣");
+ }
+ })
+ .exec();
+ // #endif
+
+ },
+ methods: {
+ goTop: function(e) {
+ // 瑙e喅view灞備笉鍚屾鐨勯棶棰�
+ this.scrollTop = this.old.scrollTop
+ this.$nextTick(function() {
+ this.scrollTop = 0
+ });
+ },
+ onDateRangePickerChangeHandler({
+ detail
+ }) {
+ this.enableCustomDateRange = false
+ this.curDateGap = this.dateRangePicker[detail.value]
+ let date = new Date()
+ switch (this.curDateGap) {
+ case "浠婂ぉ":
+ this.startDate = dayjs(date).format("YYYY-MM-DD")
+ break;
+ case "杩戜竴澶�":
+ this.startDate = dayjs(date).subtract(1, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜袱澶�":
+ this.startDate = dayjs(date).subtract(2, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜笁澶�":
+ this.startDate = dayjs(date).subtract(3, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝洓澶�":
+ this.startDate = dayjs(date).subtract(4, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜簲澶�":
+ this.startDate = dayjs(date).subtract(5, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝叚澶�":
+ this.startDate = dayjs(date).subtract(6, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜竷澶�":
+ this.startDate = dayjs(date).subtract(7, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩�30澶�":
+ this.startDate = dayjs(date).subtract(30, 'day').format("YYYY-MM-DD")
+ break;
+ }
+ if (this.curDateGap == '浠绘剰闂撮殧') {
+ this.enableCustomDateRange = true
+ }
+ },
+ onSearchClickHandler() {
+ let sWhere = ""
+ if (this.startDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.startDate + "'";
+ }
+ if (this.endDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.endDate + "'";
+ }
+ if (this.HBillNo) {
+ sWhere += " and 鍗曟嵁鍙� like '%" + this.HBillNo + "%'";
+ }
+ this.get_DisplayPage(sWhere);
+ },
+ clear() {
+ this.curDateGap = "杩戜竷澶�"
+ this.enableCustomDateRange = false
+ this.startDate = dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD')
+ this.endDate = dayjs(new Date()).format('YYYY-MM-DD')
+ this.HBillNo = ''
+ },
+ async onResetClickHandler() {
+ this.clear()
+ await this.$nextTick()
+ this.onSearchClickHandler()
+ },
+ get_DisplayPage(sWhere) {
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/Get_OA_ErrMsgBackSignBillListPage',
+ data: {
+ "sWhere": sWhere,
+ "user": getUserInfo()["Czymc"],
+ "page": this.pageMeta.curPage,
+ "size": this.pageMeta.size
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ Message,
+ count
+ } = res.data
+ console.log('res.data: ', res.data);
+ this.listData = data;
+ this.pageMeta.total = count
+ uni.stopPullDownRefresh()
+ }
+ })
+ },
+ onPageChangeHandler() {
+ this.onSearchClickHandler()
+ this.goTop()
+ },
+ // 鏂板寮傚父鍙嶉鍗�
+ onAddClickHandler() {
+ uni.navigateTo({
+ url: "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill?OperationType=1"
+ })
+ },
+ //缂栬緫寮傚父鍙嶉绛惧埌鍗�
+ edit(item) {
+ console.log(item)
+ uni.navigateTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill?OperationType=3&hmainid=' +
+ item.hmainid
+ })
+ },
+ //鍒犻櫎寮傚父鍙嶉绛惧埌鍗�
+ del(item) {
+ uni.showModal({
+ title: '鍒犻櫎纭',
+ content: '纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/DeleteOA_ErrMsgBackSignBill',
+ data: {
+ HInterID: item['hmainid'],
+ user: getUserInfo()['Czymc']
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ count,
+ Message
+ } = res.data
+ if (count == 1) {
+ uni.showToast({
+ icon: count === 1 ? 'success' : 'error',
+ title: Message,
+ duration: 2000
+ });
+
+ // 绛夊緟鎻愮ず鏄剧ず瀹屾垚鍐嶅埛鏂�
+ setTimeout(() => {
+ this.onSearchClickHandler();
+ }, 2000);
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: Message
+ })
+ }
+ }
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ }
+ }
+ });
+ }
+ },
+ }
+</script>
+
+<style lang="scss">
+ .page-header {
+ display: flex;
+ box-sizing: border-box;
+ padding: 20rpx;
+ flex-direction: column;
+ gap: 10rpx;
+ font-size: 32rpx;
+
+ .search-item {
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: center;
+ align-items: center;
+
+ .left {
+ width: 4em;
+ }
+
+ .right {
+ flex: 1;
+ position: relative;
+ border-radius: 22rpx;
+ border: 1px solid #acacac;
+ display: flex;
+ padding: 4rpx 10rpx;
+
+ picker {
+ width: 100%;
+ }
+ }
+ }
+
+ input {
+ width: inherit;
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ }
+
+ .datetime-picker-inner {
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ display: flex;
+ align-items: center;
+ }
+
+ .font__enable {
+ color: #000;
+ }
+
+ .font__disable {
+ color: #cccccc;
+ }
+ }
+
+ .button-groups {
+ box-sizing: border-box;
+ padding: 10rpx 0 0 0;
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: space-between;
+
+ button {
+ border-radius: 50rpx;
+ width: 180rpx;
+ height: 66rpx;
+ line-height: 66rpx;
+ font-size: 28rpx;
+ }
+
+ .btn-a {
+ background-color: #acacac;
+ color: #fff;
+ }
+
+ .btn-b {
+ background-color: #41a863;
+ color: #fff;
+ }
+
+ .btn-c {
+ background-color: #3a78ff;
+ color: #fff;
+ }
+ }
+
+ .page-content {
+ // height: 40vh;
+ box-sizing: border-box;
+ padding: 10rpx 0;
+
+ .card-detail {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ line-height: 120%;
+
+ .detail {
+ // width: 50%;
+ font-size: 26rpx;
+ margin-bottom: 12rpx;
+ color: #555;
+ margin-right: 20rpx;
+
+ text {
+ color: #999;
+ font-size: 26rpx;
+ }
+ }
+ }
+
+ .more {
+ color: #888;
+ font-size: 24rpx;
+ display: flex;
+ border-top: 1px solid #eee;
+ padding-top: 20rpx;
+
+ .part {
+ width: 50%;
+ text-align: center;
+ }
+ }
+
+ .op {
+ display: flex;
+ justify-content: space-around;
+ margin-top: 20rpx;
+
+ button {
+ padding: 0;
+ width: 150rpx;
+ font-size: 25rpx;
+ }
+
+ .op1 {
+ border: 1px solid #41a863;
+ color: #41a863;
+ }
+
+ .op2 {
+ border: 1px solid #d98d00;
+ color: #d98d00;
+ }
+
+ .op3 {
+ border: 1px solid #3a78ff;
+ color: #3a78ff;
+ }
+
+ .op4 {
+ border: 1px solid #da0000;
+ color: #da0000;
+ }
+
+ .op5 {
+ border: 1px solid #888;
+ color: #888;
+ }
+ }
+ }
+
+ .page-footer {
+ position: fixed;
+ bottom: 0;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 32rpx 40rpx;
+ }
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/OA_MyErrMsgBanck/OA_ErrMsgBackMyList.vue b/pages/ZLGL/AanDengHujiao/OA_MyErrMsgBanck/OA_ErrMsgBackMyList.vue
new file mode 100644
index 0000000..9bc91f3
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/OA_MyErrMsgBanck/OA_ErrMsgBackMyList.vue
@@ -0,0 +1,849 @@
+<template>
+ <view>
+ <view class="page-header">
+ <view class="search-item">
+ <view class="left">鏃ユ湡闂撮殧</view>
+ <view class="right">
+ <picker mode="selector" :value="curDateGap" :range="dateRangePicker"
+ @change="onDateRangePickerChangeHandler">
+ <input disabled v-model="curDateGap" placeholder="璇烽�夋嫨鏃ユ湡闂撮殧" />
+ <view class="picker-overlay"></view>
+ </picker>
+
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">寮�濮嬫棩鏈�</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="startDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">
+ <text>{{ startDate }}</text>
+ </view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">缁撴潫鏃ユ湡</view>
+ <view class="right">
+ <uni-datetime-picker :clear-icon="false" type="date" v-model="endDate"
+ :disabled="!enableCustomDateRange">
+ <view class="datetime-picker-inner"
+ :class="enableCustomDateRange?'font__enable':'font__disable'">{{ endDate }}</view>
+ </uni-datetime-picker>
+ </view>
+ </view>
+ <view class="search-item">
+ <view class="left">鍗曟嵁鍙�</view>
+ <view class="right">
+ <input type="text" auto-focus v-model="HBillNo" />
+ </view>
+ </view>
+
+ <view class="button-groups">
+ <button type="default" size="mini" class="btn-b" @tap.stop="onAddClickHandler">鏂板</button>
+ <button type="default" size="mini" class="btn-c" @tap.stop="onSearchClickHandler">鏌ヨ</button>
+ <button type="default" size="mini" class="btn-a" @tap.stop="onResetClickHandler">閲嶇疆</button>
+ </view>
+ </view>
+
+ <!-- 椤电鍖哄煙 -->
+ <view class="tab-container">
+ <view class="tab-list">
+ <view
+ v-for="(tab, index) in tabs"
+ :key="index"
+ :class="['tab-item', { 'active': activeTab === index }]"
+ @tap="switchTab(index)"
+ >
+ <text>{{ tab.label }}</text>
+ <text v-if="tab.count > 0" class="tab-count">{{ tab.count }}</text>
+ </view>
+ </view>
+ </view>
+
+ <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
+
+ <!-- 椤电鍐呭鍖哄煙 -->
+ <scroll-view
+ v-for="(tab, tabIndex) in tabs"
+ :key="tabIndex"
+ v-show="activeTab === tabIndex"
+ id="pageContent"
+ scroll-y
+ class="page-content"
+ :style="{height: pageContentHeight + 'px'}"
+ >
+ <view class="list" v-for="(item,index) in tab.listData" :key="index">
+ <uni-card :title="item.鍗曟嵁鐘舵��" :extra="item.鍗曟嵁鍙�" style="margin: 10px;"
+ @tap="showDetail = showDetail==item.hmainid?-1:item.hmainid">
+ <view class="card-detail">
+ <view class="detail" v-if="item.浜у搧鍚嶇О">
+ <text>浜у搧鍚嶇О锛�</text>{{item.浜у搧鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.涓婚">
+ <text>涓婚锛�</text>{{item.涓婚}}
+ </view>
+ <view class="detail" v-if="item.鍐呭">
+ <text>鍐呭锛�</text>{{item.鍐呭}}
+ </view>
+ <view class="detail" v-if="item.寮傚父绫诲瀷">
+ <text>寮傚父绫诲瀷锛�</text>{{item.寮傚父绫诲瀷}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�侀儴闂�">
+ <text>鍙戦�侀儴闂細</text>{{item.鍙戦�侀儴闂▆}
+ </view>
+ <view class="detail" v-if="item.鎺ユ敹閮ㄩ棬">
+ <text>鎺ユ敹閮ㄩ棬锛�</text>{{item.鎺ユ敹閮ㄩ棬}}
+ </view>
+ <view class="detail" v-if="item.鍙戦�佷汉">
+ <text>鍙戦�佷汉锛�</text>{{item.鍙戦�佷汉}}
+ </view>
+ <view class="detail" v-if="item.鎺ユ敹浜�">
+ <text>鎺ユ敹浜猴細</text>{{item.鎺ユ敹浜簘}
+ </view>
+ <view class="detail" v-if="item.鎸囨淳澶勭悊浜�">
+ <text>鎸囨淳澶勭悊浜猴細</text>{{item.鎸囨淳澶勭悊浜簘}
+ </view>
+ <view class="detail" v-if="item.鎶勯�佷汉">
+ <text>鎶勯�佷汉锛�</text>{{item.鎶勯�佷汉}}
+ </view>
+ <view class="detail" v-if="item.璁惧鍚嶇О">
+ <text>璁惧鍚嶇О锛�</text>{{item.璁惧鍚嶇О}}
+ </view>
+ <view class="detail" v-if="item.鏄惁瀹屾垚">
+ <text>鏄惁瀹屾垚锛�</text>{{item.鏄惁瀹屾垚}}
+ </view>
+ </view>
+ <view class="card-detail" v-if="showDetail == item.hmainid">
+ <view class="detail" v-if="item.鍒跺崟浜�">
+ <text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
+ </view>
+ <view class="detail" v-if="item.鍒跺崟鏃ユ湡">
+ <text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳浜�">
+ <text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
+ </view>
+ <view class="detail" v-if="item.瀹℃牳鏃ユ湡">
+ <text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.淇敼浜�">
+ <text>淇敼浜猴細</text>{{item.淇敼浜簘}
+ </view>
+ <view class="detail" v-if="item.淇敼鏃ユ湡">
+ <text>淇敼鏃ユ湡锛�</text>{{item.淇敼鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴浜�">
+ <text>鍏抽棴浜猴細</text>{{item.鍏抽棴浜簘}
+ </view>
+ <view class="detail" v-if="item.鍏抽棴鏃ユ湡">
+ <text>鍏抽棴鏃ユ湡锛�</text>{{item.鍏抽棴鏃ユ湡.substr(0,10)}}
+ </view>
+ <view class="detail" v-if="item.浣滃簾浜�">
+ <text>浣滃簾浜猴細</text>{{item.浣滃簾浜簘}
+ </view>
+ <view class="detail" v-if="item.浣滃簾鏃ユ湡">
+ <text>浣滃簾鏃ユ湡锛�</text>{{item.浣滃簾鏃ユ湡.substr(0,10)}}
+ </view>
+ </view>
+
+ <view class="more" v-if="showDetail == item.hmainid && operations != item.hmainid">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="top" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏀惰捣
+ </view>
+ <view class="part" @tap.stop="operations = operations==item.hmainid?-1:item.hmainid">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+ <view class="more" v-if="showDetail != item.hmainid && operations != item.hmainid">
+ <view class="part" style="border-right: 1px solid #eee;">
+ <uni-icons type="bottom" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏇村淇℃伅
+ </view>
+ <view class="part" @tap.stop="operations = operations==item.hmainid?-1:item.hmainid">
+ <uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
+ size="14"></uni-icons>鎿嶄綔
+ </view>
+ </view>
+
+ <view class="op" v-if="operations == item.hmainid">
+ <!-- 鏍规嵁褰撳墠椤电鏄剧ず涓嶅悓鐨勪笅鎺ㄦ寜閽� -->
+ <button
+ v-if="activeTab === 0 && item.鍗曟嵁鐘舵�� === '宸插弽棣�'"
+ class="op1"
+ size="mini"
+ plain
+ @tap.stop="pushSignBill(item)"
+ >
+ 涓嬫帹绛惧埌鍗�
+ </button>
+ <button
+ v-else-if="activeTab === 1 && item.鍗曟嵁鐘舵�� === '宸茬鍒�'"
+ class="op2"
+ size="mini"
+ plain
+ @tap.stop="pushHandleBill(item)"
+ >
+ 涓嬫帹澶勭悊鍗�
+ </button>
+ <button
+ v-else-if="activeTab === 2 && item.鍗曟嵁鐘舵�� === '宸插鐞�'"
+ class="op3"
+ size="mini"
+ plain
+ @tap.stop="pushCheckBill(item)"
+ >
+ 涓嬫帹楠屾敹鍗�
+ </button>
+ <button
+ v-else-if="activeTab === 3"
+ class="op3"
+ size="mini"
+ plain
+ @tap.stop="pushAllTab(item)"
+ >
+ 涓嬫帹鍗曟嵁
+ </button>
+ <button
+ v-else
+ class="op5"
+ size="mini"
+ plain
+ disabled
+ >
+ 鏃犳硶涓嬫帹
+ </button>
+ <button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
+ </view>
+ </uni-card>
+ </view>
+ <view class="over" v-if="tabs[activeTab].listData.length == 0">鏆傛棤鏁版嵁</view>
+ </scroll-view>
+
+ <!-- 鍒嗛〉鍣� -->
+ <view class="page-footer">
+ <uni-pagination
+ id="pagination"
+ title="鏍囬鏂囧瓧"
+ v-model="tabs[activeTab].pageMeta.curPage"
+ :pageSize="tabs[activeTab].pageMeta.size"
+ :total="tabs[activeTab].pageMeta.total"
+ @change="onPageChangeHandler"
+ ></uni-pagination>
+ </view>
+ </view>
+</template>
+
+<script>
+ import dayjs from 'dayjs'
+ import {
+ CommonUtils
+ } from '@/utils/common.js'
+ import {
+ getUserInfo
+ } from '../../../../utils/auth'
+ export default {
+ data() {
+ return {
+ // 璁$畻鍗$墖鍒楄〃楂樺害
+ pagination_top: 0,
+ pageContent_top: 0,
+
+ // 褰撳墠婵�娲荤殑椤电
+ activeTab: 0,
+
+ // 椤电鏁版嵁
+ tabs: [
+ {
+ label: '寰呯鍒�',
+ type: 0,
+ listData: [],
+ pageMeta: { curPage: 1, size: 50, total: 0 },
+ count: 0
+ },
+ {
+ label: '寰呭鐞�',
+ type: 1,
+ listData: [],
+ pageMeta: { curPage: 1, size: 50, total: 0 },
+ count: 0
+ },
+ {
+ label: '寰呴獙鏀�',
+ type: 2,
+ listData: [],
+ pageMeta: { curPage: 1, size: 50, total: 0 },
+ count: 0
+ },
+ {
+ label: '鍏ㄩ儴鍗曟嵁',
+ type: 3,
+ listData: [],
+ pageMeta: { curPage: 1, size: 50, total: 0 },
+ count: 0
+ }
+ ],
+
+ // 婊氬姩鎺у埗
+ scrollTop: 0,
+ old: {
+ scrollTop: 0
+ },
+
+ dateRangePicker: ["浠绘剰闂撮殧", "浠婂ぉ", "杩戜袱澶�", "杩戜笁澶�", "杩戝洓澶�", "杩戜簲澶�", "杩戝叚澶�", "杩戜竷澶�", "杩�30澶�"],
+ curDateGap: "杩戜竷澶�",
+ enableCustomDateRange: false,
+ startDate: dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD'),
+ endDate: dayjs(new Date()).format('YYYY-MM-DD'),
+ HBillNo: '',
+
+ showDetail: -1,
+ operations: -1,
+ }
+ },
+ computed: {
+ pageContentHeight: {
+ get() {
+ return (this.pagination_top - this.pageContent_top)
+ }
+ },
+ },
+ onLoad() {
+ this.onSearchClickHandler()
+ },
+ onPullDownRefresh() {
+ this.onSearchClickHandler()
+ },
+ async onReady() {
+ // #ifndef MP-WEIXIN
+ let query = uni.createSelectorQuery().in(this)
+ query.select("#pagination")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pagination_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pagination鑺傜偣");
+ }
+ })
+ .exec();
+ query.select("#pageContent")
+ .boundingClientRect((data) => {
+ if (data) {
+ this.pageContent_top = data.top
+ } else {
+ console.log("鏈壘鍒�#pageContent鑺傜偣");
+ }
+ })
+ .exec();
+ // #endif
+ },
+ methods: {
+ goTop: function(e) {
+ // 瑙e喅view灞備笉鍚屾鐨勯棶棰�
+ this.scrollTop = this.old.scrollTop
+ this.$nextTick(function() {
+ this.scrollTop = 0
+ });
+ },
+
+ // 鍒囨崲椤电
+ switchTab(index) {
+ this.activeTab = index
+ this.showDetail = -1
+ this.operations = -1
+ // 濡傛灉褰撳墠椤电娌℃湁鏁版嵁锛屽垯鏌ヨ
+ if (this.tabs[index].listData.length === 0) {
+ this.onSearchClickHandler()
+ }
+ },
+
+ onDateRangePickerChangeHandler({
+ detail
+ }) {
+ this.enableCustomDateRange = false
+ this.curDateGap = this.dateRangePicker[detail.value]
+ let date = new Date()
+ switch (this.curDateGap) {
+ case "浠婂ぉ":
+ this.startDate = dayjs(date).format("YYYY-MM-DD")
+ break;
+ case "杩戜竴澶�":
+ this.startDate = dayjs(date).subtract(1, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜袱澶�":
+ this.startDate = dayjs(date).subtract(2, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜笁澶�":
+ this.startDate = dayjs(date).subtract(3, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝洓澶�":
+ this.startDate = dayjs(date).subtract(4, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜簲澶�":
+ this.startDate = dayjs(date).subtract(5, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戝叚澶�":
+ this.startDate = dayjs(date).subtract(6, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩戜竷澶�":
+ this.startDate = dayjs(date).subtract(7, 'day').format("YYYY-MM-DD")
+ break;
+ case "杩�30澶�":
+ this.startDate = dayjs(date).subtract(30, 'day').format("YYYY-MM-DD")
+ break;
+ }
+ if (this.curDateGap == '浠绘剰闂撮殧') {
+ this.enableCustomDateRange = true
+ }
+ },
+
+ onSearchClickHandler() {
+ let sWhere = ""
+ if (this.startDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.startDate + "'";
+ }
+ if (this.endDate) {
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.endDate + "'";
+ }
+ if (this.HBillNo) {
+ sWhere += " and 鍗曟嵁鍙� like '%" + this.HBillNo + "%'";
+ }
+
+ // 鏍规嵁褰撳墠椤电绫诲瀷娣诲姞鐘舵�佹潯浠�
+ const currentTab = this.tabs[this.activeTab]
+ switch (currentTab.type) {
+ case 0: // 寰呯鍒�
+ sWhere += " and 鍗曟嵁鐘舵�� = '宸插弽棣�'"
+ break
+ case 1: // 寰呭鐞�
+ sWhere += " and 鍗曟嵁鐘舵�� = '宸茬鍒�'"
+ break
+ case 2: // 寰呴獙鏀�
+ sWhere += " and 鍗曟嵁鐘舵�� = '宸插鐞�'"
+ break
+ case 3: // 鍏ㄩ儴鍗曟嵁 - 涓嶉渶瑕佹坊鍔犵姸鎬佹潯浠�
+ break
+ }
+
+ this.get_DisplayPage(sWhere, currentTab.type)
+ },
+
+ clear() {
+ this.curDateGap = "杩戜竷澶�"
+ this.enableCustomDateRange = false
+ this.startDate = dayjs(new Date()).subtract(7, 'day').format('YYYY-MM-DD')
+ this.endDate = dayjs(new Date()).format('YYYY-MM-DD')
+ this.HBillNo = ''
+ },
+
+ async onResetClickHandler() {
+ this.clear()
+ await this.$nextTick()
+ this.onSearchClickHandler()
+ },
+
+ get_DisplayPage(sWhere, tabType) {
+ const currentTab = this.tabs.find(tab => tab.type === tabType)
+
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/Get_OA_ErrMsgBackReceiveBillListPage',
+ data: {
+ "sWhere": sWhere,
+ "user": getUserInfo()["Czymc"],
+ "page": currentTab.pageMeta.curPage,
+ "size": currentTab.pageMeta.size
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ Message,
+ count
+ } = res.data
+ console.log('res.data: ', res.data);
+
+ // 鏇存柊褰撳墠椤电鐨勬暟鎹�
+ currentTab.listData = data
+ currentTab.pageMeta.total = count
+ currentTab.count = data.length
+
+ uni.stopPullDownRefresh()
+ }
+ })
+ },
+
+ onPageChangeHandler() {
+ this.onSearchClickHandler()
+ this.goTop()
+ },
+
+ // 鏂板寮傚父鍙嶉鍗�
+ onAddClickHandler() {
+ uni.navigateTo({
+ url: "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill?OperationType=1"
+ })
+ },
+
+ // 涓嬫帹寮傚父鍙嶉绛惧埌鍗� (椤电1锛氬緟绛惧埌)
+ pushSignBill(item) {
+ if (item.鍗曟嵁鐘舵�� !== '宸插弽棣�') {
+ uni.showToast({
+ title: '褰撳墠鍗曟嵁鐘舵�佷笉鍏佽涓嬫帹绛惧埌鍗�',
+ icon: 'none'
+ })
+ return
+ }
+
+ console.log('涓嬫帹绛惧埌鍗�:', item)
+ uni.navigateTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill?OperationType=2&linterid=' +
+ item.hmainid + '&HEntryID=' + (item.HEntryID || 0) + '&HSouceBillType=4502'
+ })
+ },
+
+ // 涓嬫帹寮傚父鍙嶉澶勭悊鍗� (椤电2锛氬緟澶勭悊)
+ pushHandleBill(item) {
+ if (item.鍗曟嵁鐘舵�� !== '宸茬鍒�') {
+ uni.showToast({
+ title: '褰撳墠鍗曟嵁鐘舵�佷笉鍏佽涓嬫帹澶勭悊鍗�',
+ icon: 'none'
+ })
+ return
+ }
+
+ console.log('涓嬫帹澶勭悊鍗�:', item)
+ uni.navigateTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill?OperationType=2&linterid=' +
+ item.hmainid + '&HEntryID=' + (item.HEntryID || 0) + '&HSouceBillType=4502'
+ })
+ },
+
+ // 涓嬫帹寮傚父鍙嶉楠屾敹鍗� (椤电3锛氬緟楠屾敹)
+ pushCheckBill(item) {
+ if (item.鍗曟嵁鐘舵�� !== '宸插鐞�') {
+ uni.showToast({
+ title: '褰撳墠鍗曟嵁鐘舵�佷笉鍏佽涓嬫帹楠屾敹鍗�',
+ icon: 'none'
+ })
+ return
+ }
+
+ console.log('涓嬫帹楠屾敹鍗�:', item)
+ uni.navigateTo({
+ url: '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill?OperationType=2&linterid=' +
+ item.hmainid + '&HEntryID=' + (item.HEntryID || 0) + '&HSouceBillType=4502'
+ })
+ },
+
+ // 鍏ㄩ儴鍗曟嵁椤电鐨勪笅鎺ㄦ搷浣�
+ pushAllTab(item) {
+ let url = ''
+
+ // 鏍规嵁鍗曟嵁鐘舵�佸喅瀹氫笅鎺ㄥ摢绉嶅崟鎹�
+ switch (item.鍗曟嵁鐘舵��) {
+ case '宸插弽棣�':
+ url = '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill?OperationType=2&linterid=' +
+ item.hmainid + '&HEntryID=' + (item.HEntryID || 0) + '&HSouceBillType=4502'
+ break
+ case '宸茬鍒�':
+ url = '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill?OperationType=2&linterid=' +
+ item.hmainid + '&HEntryID=' + (item.HEntryID || 0) + '&HSouceBillType=4502'
+ break
+ case '宸插鐞�':
+ url = '/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill?OperationType=2&linterid=' +
+ item.hmainid + '&HEntryID=' + (item.HEntryID || 0) + '&HSouceBillType=4502'
+ break
+ default:
+ uni.showToast({
+ title: '褰撳墠鍗曟嵁鐘舵�佷笉鍏佽涓嬫帹',
+ icon: 'none'
+ })
+ return
+ }
+
+ console.log('涓嬫帹鍗曟嵁:', item)
+ uni.navigateTo({
+ url: url
+ })
+ },
+
+ // 鍒犻櫎寮傚父鍙嶉绛惧埌鍗�
+ del(item) {
+ uni.showModal({
+ title: '鍒犻櫎纭',
+ content: '纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠',
+ success: (res) => {
+ if (res.confirm) {
+ console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+ CommonUtils.doRequest2({
+ url: '/Sc_MESTransFerWorkBill/DeleteOA_ErrMsgBackReceiveBill',
+ data: {
+ HInterID: item['hmainid'],
+ user: getUserInfo()['Czymc']
+ },
+ resFunction: (res) => {
+ let {
+ data,
+ count,
+ Message
+ } = res.data
+ if (count == 1) {
+ uni.showToast({
+ icon: count === 1 ? 'success' : 'error',
+ title: Message,
+ duration: 2000
+ });
+
+ // 绛夊緟鎻愮ず鏄剧ず瀹屾垚鍐嶅埛鏂�
+ setTimeout(() => {
+ this.onSearchClickHandler();
+ }, 2000);
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: Message
+ })
+ }
+ }
+ })
+ } else if (res.cancel) {
+ console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+ }
+ }
+ });
+ }
+ },
+ }
+</script>
+
+<style lang="scss">
+ .page-header {
+ display: flex;
+ box-sizing: border-box;
+ padding: 20rpx;
+ flex-direction: column;
+ gap: 10rpx;
+ font-size: 32rpx;
+
+ .search-item {
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: center;
+ align-items: center;
+
+ .left {
+ width: 4em;
+ }
+
+ .right {
+ flex: 1;
+ position: relative;
+ border-radius: 22rpx;
+ border: 1px solid #acacac;
+ display: flex;
+ padding: 4rpx 10rpx;
+
+ picker {
+ width: 100%;
+ }
+ }
+ }
+
+ input {
+ width: inherit;
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ }
+
+ .datetime-picker-inner {
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ display: flex;
+ align-items: center;
+ }
+
+ .font__enable {
+ color: #000;
+ }
+
+ .font__disable {
+ color: #cccccc;
+ }
+ }
+
+ .button-groups {
+ box-sizing: border-box;
+ padding: 10rpx 0 0 0;
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ justify-content: space-between;
+
+ button {
+ border-radius: 50rpx;
+ width: 180rpx;
+ height: 66rpx;
+ line-height: 66rpx;
+ font-size: 28rpx;
+ }
+
+ .btn-a {
+ background-color: #acacac;
+ color: #fff;
+ }
+
+ .btn-b {
+ background-color: #41a863;
+ color: #fff;
+ }
+
+ .btn-c {
+ background-color: #3a78ff;
+ color: #fff;
+ }
+ }
+
+ /* 椤电鏍峰紡 */
+ .tab-container {
+ background-color: #fff;
+ }
+
+ .tab-list {
+ display: flex;
+ flex-direction: row;
+ border-bottom: 1px solid #e5e5e5;
+ }
+
+ .tab-item {
+ flex: 1;
+ padding: 20rpx 0;
+ text-align: center;
+ font-size: 28rpx;
+ color: #666;
+ position: relative;
+
+ &.active {
+ color: #3a78ff;
+ font-weight: bold;
+
+ &::after {
+ content: '';
+ position: absolute;
+ bottom: 0;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 80rpx;
+ height: 4rpx;
+ background-color: #3a78ff;
+ }
+ }
+
+ .tab-count {
+ display: inline-block;
+ margin-left: 10rpx;
+ padding: 0 12rpx;
+ background-color: #ff6b6b;
+ color: #fff;
+ border-radius: 20rpx;
+ font-size: 20rpx;
+ min-width: 30rpx;
+ text-align: center;
+ }
+ }
+
+ .page-content {
+ box-sizing: border-box;
+ padding: 10rpx 0;
+
+ .card-detail {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ line-height: 120%;
+
+ .detail {
+ font-size: 26rpx;
+ margin-bottom: 12rpx;
+ color: #555;
+ margin-right: 20rpx;
+
+ text {
+ color: #999;
+ font-size: 26rpx;
+ }
+ }
+ }
+
+ .more {
+ color: #888;
+ font-size: 24rpx;
+ display: flex;
+ border-top: 1px solid #eee;
+ padding-top: 20rpx;
+
+ .part {
+ width: 50%;
+ text-align: center;
+ }
+ }
+
+ .op {
+ display: flex;
+ justify-content: space-around;
+ margin-top: 20rpx;
+
+ button {
+ padding: 0;
+ width: 150rpx;
+ font-size: 25rpx;
+
+ &:disabled {
+ opacity: 0.5;
+ }
+ }
+
+ .op1 {
+ border: 1px solid #41a863;
+ color: #41a863;
+ }
+
+ .op2 {
+ border: 1px solid #d98d00;
+ color: #d98d00;
+ }
+
+ .op3 {
+ border: 1px solid #3a78ff;
+ color: #3a78ff;
+ }
+
+ .op4 {
+ border: 1px solid #da0000;
+ color: #da0000;
+ }
+
+ .op5 {
+ border: 1px solid #888;
+ color: #888;
+ }
+ }
+ }
+
+ .over {
+ text-align: center;
+ padding: 40rpx;
+ color: #999;
+ font-size: 28rpx;
+ }
+
+ .page-footer {
+ position: fixed;
+ bottom: 0;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 32rpx 40rpx;
+ }
+</style>
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/style/MJListStyle.scss b/pages/ZLGL/AanDengHujiao/style/MJListStyle.scss
new file mode 100644
index 0000000..f27e690
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/style/MJListStyle.scss
@@ -0,0 +1,193 @@
+ .form {
+ padding: 20rpx;
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .other {
+ margin-top: 8rpx;
+ text-align: center;
+ font-size: 28rpx;
+ padding: 4rpx 18rpx;
+ color: #1890FF;
+ }
+
+ .tabs {
+ width: 100%;
+ position: fixed;
+ left: 0;
+ z-index: 9;
+ display: flex;
+ background-color: #e5e5e5;
+
+ view {
+ width: 50%;
+ font-size: 30rpx;
+ color: #333;
+ text-align: center;
+ padding: 16rpx 0;
+ }
+
+ .on {
+ color: #3a78ff;
+ font-weight: bold;
+ border-bottom: 3px solid #3a78ff;
+ }
+ }
+
+ .buttons {
+ width: 100%;
+ display: flex;
+ justify-content: center;
+ margin-top: 20rpx;
+
+ button {
+ border-radius: 50rpx;
+ width: 180rpx;
+ height: 66rpx;
+ line-height: 66rpx;
+ font-size: 28rpx;
+ }
+
+ .btn-a {
+ background-color: #acacac;
+ color: #fff;
+ }
+
+ .btn-b {
+ background-color: #41a863;
+ color: #fff;
+ }
+
+ .btn-c {
+ background-color: #3a78ff;
+ color: #fff;
+ }
+ }
+
+ .form-item {
+ display: flex;
+ align-items: center;
+ font-size: 28rpx;
+ padding: 6rpx 0;
+
+ .title {
+ width: 180rpx;
+
+ text {
+ color: red;
+ font-weight: bold;
+ }
+ }
+
+ .right {
+ width: 450rpx;
+ border-radius: 22rpx;
+ border: 1px solid #acacac;
+ }
+
+ .righton {
+ width: 450rpx;
+ border-radius: 22rpx;
+ border: 1px solid #e4e4e4;
+ background-color: #e4e4e4;
+ }
+
+ input {
+ width: 100%;
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ }
+ }
+
+ .list {
+ width: 100%;
+
+ .card-detail {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ line-height: 120%;
+
+ .detail {
+ // width: 50%;
+ font-size: 26rpx;
+ color: #555;
+ padding-bottom: 20rpx;
+
+ text {
+ color: #999;
+ font-size: 26rpx;
+ }
+ }
+ }
+
+ .more {
+ color: #888;
+ font-size: 26rpx;
+ display: flex;
+ border-top: 1px solid #eee;
+ padding-top: 20rpx;
+
+ .part {
+ width: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+ }
+
+ .op {
+ display: flex;
+ justify-content: space-around;
+ margin-top: 20rpx;
+
+ button {
+ padding: 0;
+ width: 150rpx;
+ font-size: 25rpx;
+ }
+
+ .op1 {
+ border: 1px solid #41a863;
+ color: #41a863;
+ }
+
+ .op2 {
+ border: 1px solid #d98d00;
+ color: #d98d00;
+ }
+
+ .op3 {
+ border: 1px solid #3a78ff;
+ color: #3a78ff;
+ }
+
+ .op4 {
+ border: 1px solid #da0000;
+ color: #da0000;
+ }
+
+ .op5 {
+ border: 1px solid #888;
+ color: #888;
+ }
+ }
+ }
+
+ .pagination-zone {
+ position: fixed;
+ bottom: 0;
+ box-sizing: border-box;
+ background-color: #fff;
+ box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.4);
+ padding: 20rpx 40rpx 20rpx 40rpx;
+ display: flex;
+ flex-direction: column;
+ gap: 20rpx;
+ justify-content: space-between;
+ width: 100%;
+ }
\ No newline at end of file
diff --git a/pages/ZLGL/AanDengHujiao/style/OA_ErrMsgStyle.scss b/pages/ZLGL/AanDengHujiao/style/OA_ErrMsgStyle.scss
new file mode 100644
index 0000000..ecd24bd
--- /dev/null
+++ b/pages/ZLGL/AanDengHujiao/style/OA_ErrMsgStyle.scss
@@ -0,0 +1,271 @@
+.buttons {
+ box-sizing: border-box;
+ width: 100%;
+ height: 120rpx;
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ background-color: #fff;
+ box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.4);
+ padding: 30rpx 40rpx 40rpx 40rpx;
+ display: flex;
+ flex-direction: row;
+ gap: 10rpx;
+ button {
+ border-radius: 50rpx;
+ width: 180rpx;
+ height: 66rpx;
+ line-height: 66rpx;
+ font-size: 28rpx;
+ }
+ .btn-a {
+ background-color: #3a78ff;
+ color: #fff;
+ }
+ .btn-b {
+ background-color: #41a863;
+ color: #fff;
+ }
+ .btn-c {
+ background-color: #acacac;
+ color: #fff;
+ // position: absolute;
+ // right: 120rpx;
+ }
+ .btn-d {
+ background-color: #ff8901;
+ color: #fff;
+ }
+ .placeholder-view {
+ flex: 1;
+ }
+}
+
+.tabs {
+ width: 100%;
+ display: flex;
+ border-bottom: 1px solid #ddd;
+
+ view {
+ width: 100%;
+ font-size: 30rpx;
+ color: #555;
+ text-align: center;
+ padding: 16rpx 0;
+ }
+
+ .on {
+ color: #3a78ff;
+ font-weight: bold;
+ border-bottom: 3px solid #3a78ff;
+ }
+}
+
+.form {
+ display: flex;
+ flex-direction: column;
+ gap: 10rpx;
+ box-sizing: border-box;
+ padding: 20rpx 40rpx;
+}
+
+.form-item {
+ display: flex;
+ align-items: center;
+ font-size: 30rpx;
+ padding: 6rpx 0;
+ gap: 12rpx;
+
+ .title {
+ width: 208rpx;
+ flex-shrink: 0;
+
+ text {
+ color: red;
+ font-weight: bold;
+ }
+ }
+
+ .required::after{
+ content: "*";
+ color: red;
+ margin-left: 4px;
+ font-weight: bold;
+ }
+
+ .right {
+ // width: 450rpx;
+ flex: 1;
+ border-radius: 22rpx;
+ border: 1px solid #acacac;
+ position: relative;
+ display: flex;
+
+ picker {
+ width: 100%;
+ }
+
+ .uni-combox {
+ width: 100%
+ }
+ }
+
+ .righton {
+ width: 450rpx;
+ border-radius: 22rpx;
+ border: 1px solid #e4e4e4;
+ background-color: #e4e4e4;
+ }
+
+ input {
+ width: 100%;
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ }
+
+ textarea {
+ width: 98%;
+ height: 6em;
+ padding: 8rpx 20rpx;
+ font-size: 30rpx;
+ }
+
+ .icon-wrapper {
+ background-color: #3A78FF;
+ width: 52rpx;
+ height: 52rpx;
+ border-radius: 100%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-shrink: 0;
+
+ .uni-icons {
+ color: #fff !important;
+ }
+ }
+
+ .icon-wrapper[disabled] {
+ background-color: rgba(228, 228, 228, 1);
+ pointer-events: none;
+ touch-action: none;
+ }
+
+}
+
+.none-border {
+ border: none !important;
+}
+
+.radio_Container {
+ display: flex;
+ flex-direction: row;
+ gap: 30rpx;
+}
+
+ .list {
+ width: 100%;
+
+ .card-detail {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ line-height: 120%;
+
+ .detail {
+ // width: 50%;
+ font-size: 26rpx;
+ margin-bottom: 12rpx;
+ color: #555;
+ margin-right: 20rpx;
+
+ text {
+ color: #999;
+ font-size: 26rpx;
+ }
+ }
+ }
+
+ .more {
+ color: #888;
+ font-size: 24rpx;
+ display: flex;
+ border-top: 1px solid #eee;
+ padding-top: 20rpx;
+
+ .part {
+ width: 50%;
+ text-align: center;
+ }
+ }
+ }
+
+.card-item-wrapper {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ box-sizing: border-box;
+ padding: 20rpx 20rpx;
+
+ .card-detail {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ line-height: 120%;
+
+ .detail {
+ // width: 50%;
+ font-size: 26rpx;
+ margin-bottom: 12rpx;
+ color: #555;
+ margin-right: 20rpx;
+
+ text {
+ color: #999;
+ font-size: 26rpx;
+ }
+ }
+
+ .operation {
+ display: flex;
+ align-items: center;
+ gap: 10rpx;
+
+ .btn-a {
+ background-color: #3A78FF;
+ color: #fff;
+ }
+
+ .btn-b {
+ background-color: rgb(255, 87, 34);
+ color: #fff;
+ }
+
+ uni-button {}
+ }
+
+ }
+
+ .more {
+ color: #888;
+ font-size: 24rpx;
+ display: flex;
+ border-top: 1px solid #eee;
+ padding-top: 20rpx;
+
+ .part {
+ width: 50%;
+ text-align: center;
+ }
+ }
+ }
+
+ .attachment-btns {
+ display: flex;
+ flex-direction: row;
+ justify-content: flex-start;
+ gap: 6rpx;
+
+ }
\ No newline at end of file
diff --git a/pages/index/tab2.vue b/pages/index/tab2.vue
index 329edfb..4bcb3a1 100644
--- a/pages/index/tab2.vue
+++ b/pages/index/tab2.vue
@@ -374,39 +374,81 @@
// 璁惧鐩稿叧
{
"img": "../../static/icon/icon3.png",
- "text": "璁惧淇濆吇璁板綍鍗曞垪琛�",
- "url": "/pages/baoyangjilu/Sb_EquipMaintainRuleList",
+ "text": "璁惧鐐规璁板綍鍗曞垪琛�",
+ "url": "/pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBillList",
"id": 45,
+ "hidden": false
+ },
+ {
+ "img": "../../static/icon/icon3.png",
+ "text": "璁惧淇濆吇璁板綍鍗曞垪琛�",
+ "url": "/pages/MJGL/Sb_EquipMaintainBill/Sb_EquipMaintainBillList",
+ "id": 46,
"hidden": false
},
{
"img": "../../static/icon/icon6.png",
"text": "璁惧鏁呴殰鐧昏琛ㄥ垪琛�",
"url": "/pages/guzhangdengji/EqpConkBookBillList",
- "id":46,
+ "id":47,
"hidden": false
},
{
"img": "../../static/icon/icon7.png",
"text": "璁惧缁翠慨璁板綍鍗曞垪琛�",
"url": "/pages/shebeiweixiu/SbEqpMaintenanceBillList",
- "id": 47,
+ "id": 48,
"hidden": false
},
+ {
+ "img": "../../static/icon/icon8.png",
+ "text": "璁惧缁翠慨楠屾敹鍗曞垪琛�",
+ "url": "/pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBillList",
+ "id": 49,
+ "hidden": false
+ },
- // 寮傚父鐩稿叧
+ // 瀹夌伅鐩稿叧
{
"img": "../../static/icon/icon15.png",
"text": "寮傚父鍙嶉鍗曞垪琛�",
- "url": "/pages/yichang/ErrMsgBackHandleBillList",
- "id": 48,
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBillList",
+ "id": 50,
+ "hidden": false
+ },
+ {
+ "img": "../../static/icon/icon16.png",
+ "text": "寮傚父鍙嶉鎺ユ敹鍗曞垪琛�",
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBillList",
+ "id": 51,
+ "hidden": false
+ },
+ {
+ "img": "../../static/icon/icon16.png",
+ "text": "寮傚父鍙嶉绛惧埌鍗曞垪琛�",
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBillList",
+ "id": 52,
"hidden": false
},
{
"img": "../../static/icon/icon16.png",
"text": "寮傚父鍙嶉澶勭悊鍗曞垪琛�",
- "url": "/pages/yichang/ErrMsgBackHandleBillList",
- "id": 49,
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBillList",
+ "id": 53,
+ "hidden": false
+ },
+ {
+ "img": "../../static/icon/icon16.png",
+ "text": "寮傚父鍙嶉楠屾敹鍗曞垪琛�",
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBillList",
+ "id": 54,
+ "hidden": false
+ },
+ {
+ "img": "../../static/icon/icon16.png",
+ "text": "寮傚父鍙嶉寰呭鐞嗗垪琛�",
+ "url": "/pages/ZLGL/AanDengHujiao/OA_MyErrMsgBanck/OA_ErrMsgBackMyList",
+ "id": 55,
"hidden": false
},
@@ -416,25 +458,22 @@
"img": "../../static/icon/icon8.png",
"text": "鍙栨牱鍗曞垪琛�",
"url": "/pages/quyangdan/TakeSampleCheckBillList",
- "id": 50,
+ "id": 56,
"hidden": false
},
{
"img": "../../static/icon/icon8.png",
"text": "杩樻牱鍗曞垪琛�",
"url": "/pages/huanyangdan/BackSampleCheckBillList",
- "id": 51,
+ "id": 57,
"hidden": false
},
- // 妯″叿鐩稿叧
-
-
{
"img": "../../static/icon/icon8.png",
"text": "瑁呯鍗曟殏瀛樺垪琛�",
"url": "/pages/zhuangxiangdan/table",
- "id": 52,
+ "id": 58,
"hidden": false
},
@@ -442,7 +481,7 @@
"img": "../../static/icon/icon8.png",
"text": "鍦ㄥ簱妫�楠屽崟缂撳瓨",
"url": "/pages/ZLGL/zaikujianyandan/InStockCheckBillList",
- "id": 53,
+ "id": 59,
"hidden": false
}
diff --git a/pages/index/tab3.vue b/pages/index/tab3.vue
index ab6f59d..4702664 100644
--- a/pages/index/tab3.vue
+++ b/pages/index/tab3.vue
@@ -163,13 +163,6 @@
},
{
"img": "../../static/icon/icon8.png",
- "text": "璁惧淇濆吇璁板綍鍗曞垪琛�",
- "url": "/pages/MJGL/Sb_EquipMaintainBill/Sb_EquipMaintainBillList",
- "id": 52,
- "hidden": false
- },
- {
- "img": "../../static/icon/icon8.png",
"text": "璁惧淇濆吇璁板綍鍗�",
"url": "/pages/MJGL/Sb_EquipMaintainBill/Sb_EquipMaintainBill",
"id": 17,
@@ -177,23 +170,9 @@
},
{
"img": "../../static/icon/icon8.png",
- "text": "璁惧鐐规璁板綍鍗曞垪琛�",
- "url": "/pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBillList",
- "id": 54,
- "hidden": false
- },
- {
- "img": "../../static/icon/icon8.png",
"text": "璁惧鐐规璁板綍鍗�",
"url": "/pages/MJGL/Sb_EquipDotCheckBill/Sb_EquipDotCheckBill",
"id": 18,
- "hidden": false
- },
- {
- "img": "../../static/icon/icon8.png",
- "text": "璁惧缁翠慨楠屾敹鍗曞垪琛�",
- "url": "/pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBillList",
- "id": 56,
"hidden": false
},
{
diff --git a/pages/index/tab4.vue b/pages/index/tab4.vue
index c74e390..85dbe89 100644
--- a/pages/index/tab4.vue
+++ b/pages/index/tab4.vue
@@ -49,7 +49,7 @@
"img": "../../static/icon/icon13.png",
"text": "棣栦欢妫�楠屽崟",
"url": "/pages/ZLGL/shoujianjianyan/firstCheckBill?operationType=1",
- "id": 42,
+ "id": 1,
"hidden": false
},
@@ -57,7 +57,7 @@
"img": "../../static/icon/icon8.png",
"text": "宸℃妫�楠屽崟",
"url": "/pages/ZLGL/xunjianjianyan/PatrolProcCheckBill?operationType=1",
- "id": 44,
+ "id": 2,
"hidden": false
},
@@ -65,14 +65,14 @@
"img": "../../static/icon/icon8.png",
"text": "鏈欢妫�楠屽崟",
"url": "/pages/ZLGL/mojianjianyan/lastPieceCheckBill?operationType=1",
- "id": 46,
+ "id": 3,
"hidden": false
},
{
"img": "../../static/icon/icon8.png",
"text": "鏉ユ枡妫�楠屽崟",
"url": "/pages/ZLGL/lailiaojianyan/POStockInCheckBill",
- "id": 53,
+ "id": 4,
"hidden": false
},
@@ -80,28 +80,28 @@
"img": "../../static/icon/icon8.png",
"text": "鐢熶骇鍏ュ簱妫�楠屽崟",
"url": "/pages/ZLGL/shengchanrukujiaoyan/QC_LastPieceCheckBill_v2",
- "id": 53,
+ "id": 5,
"hidden": false
},
{
"img": "../../static/icon/icon8.png",
"text": "鍑哄巶鏍¢獙鍗�",
"url": "/pages/ZLGL/chuchangjiaoyandan/QC_OutCompCheckBill",
- "id": 54,
+ "id": 6,
"hidden": false
},
{
"img": "../../static/icon/icon8.png",
"text": "鏉ユ枡妫�楠�(鎵归噺)",
"url": "/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast",
- "id": 55,
+ "id": 7,
"hidden": false
},
{
"img": "../../static/icon/icon8.png",
"text": "鍏ㄦ妫�楠屽崟",
"url": "/pages/ZLGL/QualityReportStep/QualityReportStepBill",
- "id": 55,
+ "id": 8,
"hidden": false
},
@@ -109,18 +109,52 @@
"img": "../../static/icon/icon8.png",
"text": "杞﹂棿鑷鍗�",
"url": "/pages/ZLGL/WorkSelfCheckBill/WorkSelfCheckBill",
- "id": 55,
+ "id": 9,
"hidden": false
},
-
{
"img": "../../static/icon/icon8.png",
"text": "鍦ㄥ簱妫�楠屽崟",
"url": "/pages/ZLGL/zaikujianyandan/InStockCheckBill",
- "id": 57,
+ "id": 10,
"hidden": false
- }
-
+ },
+ {
+ "img": "../../static/icon/icon15.png",
+ "text": "寮傚父鍙嶉鍗�",
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackBill/OA_ErrMsgBackBill",
+ "id": 11,
+ "hidden": false
+ },
+ {
+ "img": "../../static/icon/icon15.png",
+ "text": "寮傚父鍙嶉鎺ユ敹鍗�",
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackReceiveBill/OA_ErrMsgBackReceiveBill",
+ "id": 12,
+ "hidden": false
+ },
+ {
+ "img": "../../static/icon/icon15.png",
+ "text": "寮傚父鍙嶉绛惧埌鍗�",
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackSignBill/OA_ErrMsgBackSignBill",
+ "id": 13,
+ "hidden": false
+ },
+ {
+ "img": "../../static/icon/icon15.png",
+ "text": "寮傚父鍙嶉澶勭悊鍗�",
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackHandleBill/OA_ErrMsgBackHandleBill",
+ "id": 14,
+ "hidden": false
+ },
+ {
+ "img": "../../static/icon/icon15.png",
+ "text": "寮傚父鍙嶉楠屾敹鍗�",
+ "url": "/pages/ZLGL/AanDengHujiao/OA_ErrMsgBackCheckBill/OA_ErrMsgBackCheckBill",
+ "id": 15,
+ "hidden": false
+ },
+
]
}
},
diff --git a/pages/yichang/ErrMsgBackHandleBillList.vue b/pages/yichang/ErrMsgBackHandleBillList.vue
deleted file mode 100644
index 8fabf6e..0000000
--- a/pages/yichang/ErrMsgBackHandleBillList.vue
+++ /dev/null
@@ -1,465 +0,0 @@
-<template>
- <view class="content">
- <view class="form">
- <view class="form-item">
- <view class="title">寮�濮嬫棩鏈�:</view>
- <view class="right">
- <picker mode="date" :value="hform.HBeginDate" @change="HBeginDateChange">
- <input name="HBeginDate" disabled :value="hform.HBeginDate" placeholder="璇烽�夋嫨" />
- </picker>
- </view>
- </view>
- <view class="form-item">
- <view class="title">缁撴潫鏃ユ湡:</view>
- <view class="right">
- <picker mode="date" :value="hform.HEndDate" @change="HEndDateChange">
- <input name="HEndDate" disabled :value="hform.HEndDate" placeholder="璇烽�夋嫨" />
- </picker>
- </view>
- </view>
- <view class="form-item">
- <view class="title">鍗曟嵁鍙�:</view>
- <view class="right">
- <input v-model="hform.HBillNo" placeholder="璇疯緭鍏ュ崟鎹彿" />
- </view>
- </view>
-
- <view class="buttons">
- <button class="btn-a" size="mini" type="default" @tap="clear">閲嶇疆</button>
- <!-- <button class="btn-b" size="mini" type="default">鏂板</button> -->
- <button class="btn-c" size="mini" type="default" @tap="search">鏌ヨ</button>
- </view>
- </view>
-
- <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
-
- <view class="list" v-for="(item,index) in listData" :key="index">
- <uni-card :title="item.鍗曟嵁鐘舵��" :extra="item.鍗曟嵁鍙�" style="margin: 10px;">
- <view class="card-detail">
- <view class="detail" v-if="item.涓婚">
- <text>涓婚锛�</text>{{item.涓婚}}
- </view>
- <view class="detail" v-if="item.寮傚父绫诲瀷">
- <text>寮傚父绫诲瀷锛�</text>{{item.寮傚父绫诲瀷}}({{item.寮傚父绫诲瀷浠g爜}})
- </view>
- <view class="detail" v-if="item.鍙戦�侀儴闂�">
- <text>鍙戦�侀儴闂細</text>{{item.鍙戦�侀儴闂▆}
- </view>
- <view class="detail" v-if="item.鍙戦�佷汉">
- <text>鍙戦�佷汉锛�</text>{{item.鍙戦�佷汉}}
- </view>
- <view class="detail" v-if="item.鏄惁瀹屾垚">
- <text>鏄惁瀹屾垚锛�</text>{{item.鏄惁瀹屾垚}}
- </view>
-
- <view class="detail" v-if="item.鎺ユ敹閮ㄩ棬">
- <text>鎺ユ敹閮ㄩ棬锛�</text>{{item.鎺ユ敹閮ㄩ棬}}
- </view>
- <view class="detail" v-if="item.鎺ユ敹浜�">
- <text>鎺ユ敹浜猴細</text>{{item.鎺ユ敹浜簘}
- </view>
- <view class="detail" v-if="item.鎶勯�佷汉">
- <text>鎶勯�佷汉锛�</text>{{item.鎶勯�佷汉}}
- </view>
-
- <view class="detail" v-if="item.绱ф�ョ▼搴�">
- <text>绱ф�ョ▼搴︼細</text>{{item.绱ф�ョ▼搴}
- </view>
- <view class="detail" v-if="item.鍗曟嵁绫诲瀷">
- <text>鍗曟嵁绫诲瀷锛�</text>{{item.鍗曟嵁绫诲瀷}}
- </view>
- <view class="detail" v-if="item.鍗曟嵁鍙风爜">
- <text>鍗曟嵁鍙风爜锛�</text>{{item.鍗曟嵁鍙风爜}}
- </view>
- <view class="detail" v-if="item.浜у搧鍚嶇О">
- <text>浜у搧鍚嶇О锛�</text>{{item.浜у搧鍚嶇О}}
- </view>
- <view class="detail" v-if="item.瑙勬牸鍨嬪彿">
- <text>瑙勬牸鍨嬪彿锛�</text>{{item.瑙勬牸鍨嬪彿}}
- </view>
- <view class="detail" v-if="item.璁惧鍚嶇О">
- <text>璁惧鍚嶇О锛�</text>{{item.璁惧鍚嶇О}}
- </view>
- <view class="detail" v-if="item.妯℃不鍏峰悕绉�">
- <text>妯℃不鍏峰悕绉帮細</text>{{item.妯℃不鍏峰悕绉皚}
- </view>
- <view class="detail" v-if="item.澶勭悊浜�">
- <text>澶勭悊浜猴細</text>{{item.澶勭悊浜簘}({{item.澶勭悊浜轰唬鐮亇})
- </view>
- <view class="detail" v-if="item.澶勭悊鍐呭">
- <text>澶勭悊鍐呭锛�</text>{{item.澶勭悊鍐呭}}
- </view>
- <view class="detail" v-if="item.澶勭悊缁撴灉">
- <text>澶勭悊缁撴灉锛�</text>{{item.澶勭悊缁撴灉}}
- </view>
- <view class="detail" v-if="item.澶勭悊鍘熷洜">
- <text>澶勭悊鍘熷洜锛�</text>{{item.澶勭悊鍘熷洜}}
- </view>
- <view class="detail" v-if="item.澶勭悊瀹屾垚鏃堕棿">
- <text>澶勭悊瀹屾垚鏃堕棿锛�</text>{{item.澶勭悊瀹屾垚鏃堕棿.substr(0,10)}}
- </view>
- <view class="detail" v-if="item.寮傚父鍙嶉鍗曞彿">
- <text>寮傚父鍙嶉鍗曞彿锛�</text>{{item.寮傚父鍙嶉鍗曞彿}}
- </view>
- <view class="detail" v-if="item.寮傚父鍙嶉鍗曚富鍐呯爜">
- <text>寮傚父鍙嶉鍗曚富鍐呯爜锛�</text>{{item.寮傚父鍙嶉鍗曚富鍐呯爜}}
- </view>
- <view class="detail" v-if="item.寮傚父鍙嶉鍗曞瓙鍐呯爜">
- <text>寮傚父鍙嶉鍗曞瓙鍐呯爜锛�</text>{{item.寮傚父鍙嶉鍗曞瓙鍐呯爜}}
- </view>
- <view class="detail" v-if="item.琛ㄥご澶囨敞">
- <text>琛ㄥご澶囨敞锛�</text>{{item.琛ㄥご澶囨敞}}
- </view>
-
- <view class="detail" v-if="item.鍒跺崟鏃ユ湡">
- <text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
- </view>
- <view class="detail" v-if="item.鍒跺崟浜�">
- <text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
- </view>
- <view class="detail" v-if="item.瀹℃牳鏃ユ湡">
- <text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
- </view>
- <view class="detail" v-if="item.瀹℃牳浜�">
- <text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
- </view>
- <view class="detail" v-if="item.淇敼鏃ユ湡">
- <text>淇敼鏃ユ湡锛�</text>{{item.淇敼鏃ユ湡.substr(0,10)}}
- </view>
- <view class="detail" v-if="item.淇敼浜�">
- <text>淇敼浜猴細</text>{{item.淇敼浜簘}
- </view>
- <view class="detail" v-if="item.鍏抽棴鏃ユ湡">
- <text>鍏抽棴鏃ユ湡锛�</text>{{item.鍏抽棴鏃ユ湡.substr(0,10)}}
- </view>
- <view class="detail" v-if="item.鍏抽棴浜�">
- <text>鍏抽棴浜猴細</text>{{item.鍏抽棴浜簘}
- </view>
- <view class="detail" v-if="item.浣滃簾鏃ユ湡">
- <text>浣滃簾鏃ユ湡锛�</text>{{item.浣滃簾鏃ユ湡.substr(0,10)}}
- </view>
- <view class="detail" v-if="item.浣滃簾浜�">
- <text>浣滃簾浜猴細</text>{{item.浣滃簾浜簘}
- </view>
- </view>
- <view class="more">
- <view class="part" style="border-right: 1px solid #eee;" @tap="reads(item.鍐呭)">
- <uni-icons type="bars" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鍐呭
- </view>
- <view class="part" style="border-right: 1px solid #eee;color: #d98d00;" @tap="toCheck(item)">
- <uni-icons type="bars" style="color: #d98d00;margin-right: 10rpx;" size="14"></uni-icons>瀹℃牳
- </view>
- <view class="part" style="color: #da0000;" @tap="toDel(item)">
- <uni-icons type="pulldown" style="color: #da0000;margin-right: 10rpx;" size="14"></uni-icons>鍒犻櫎
- </view>
- </view>
- </uni-card>
- </view>
-
- <view class="over" v-if="listData.length == 0">鏆傛棤鏁版嵁</view>
- <view class="over" v-if="listData.length > 0 && loading">鍔犺浇涓�</view>
- <view class="over" v-if="listData.length != 0 && !loading">宸插埌搴�</view>
- </view>
-</template>
-
-<script>
- import { getUserInfo } from "@/utils/auth.js";
- import getDateTime from '@/utils/getdateTime.js';
- export default {
- data() {
- return {
- userInfo:getUserInfo(),
- serverUrl: uni.getStorageSync('serverUrl')||'http://47.96.97.237/API',
- hform:{
- HBillNo:'',
- HEndDate:getDateTime.dateTimeStr('y-m-d'),
- HBeginDate:this.getEndDate(),
- },
- sWhere:'',
- listData:[],
- listDataNew:[],
- page:1,
- loading:true,
- }
- },
- onLoad() {
- uni.showLoading({
- title:'鍔犺浇涓�'
- })
- this.search()
- // console.log(this.userInfo,uni.getStorageSync('HUserName'))
- },
- onPullDownRefresh: function() {
- this.clear()
- setTimeout(()=>{
- uni.stopPullDownRefresh();
- }, 1000);
- },
- onReachBottom(){
- if(this.loading == true){
- this.page++
- this.getList()
- }
- },
- methods: {
- getList(){
- console.log(this.sWhere,uni.getStorageSync('HUserName'),this.page)
- uni.request({
- url: this.serverUrl + '/Sc_MESTransFerWorkBill/Get_OA_ErrMsgBackHandleBillListPage',
- data:{
- sWhere: this.sWhere,
- user: uni.getStorageSync('HUserName'),
- page:this.page,
- size:20,
- },
- success: (res) => {
- console.log(1,res.data);
- uni.hideLoading()
- if(res.data.code == 1){
- this.listDataNew = res.data.data
- if(this.listDataNew.length<20){
- this.loading = false
- }
- this.listData = this.listData.concat(this.listDataNew)
- }else{
- uni.showToast({
- title:res.data.Message,
- icon:'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.hideLoading()
- uni.showToast({
- title:'鎺ュ彛璇锋眰澶辫触',
- icon:'none'
- })
- },
- });
- },
- //閫夋嫨鍗曟嵁鏃ユ湡
- HBeginDateChange(e){
- console.log(e.detail.value)
- this.hform.HBeginDate = e.detail.value
- },
- //閫夋嫨鍗曟嵁鏃ユ湡
- HEndDateChange(e){
- console.log(e.detail.value)
- this.hform.HEndDate = e.detail.value
- },
- search(){
- this.sWhere=''
- this.listData=[]
- this.listDataNew=[]
- this.page=1
- this.loading=true
- if (this.hform.HBeginDate) {
- this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.HBeginDate + "'";
- }
- if (this.hform.HEndDate) {
- this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.hform.HEndDate + "'";
- }
- if (this.hform.HBillNo) {
- this.sWhere += " and 鍗曟嵁鍙� like '%" + this.hform.HBillNo + "%'";
- }
- this.getList()
- },
- getEndDate(){
- let currentDate = new Date();
- currentDate.setMonth(currentDate.getMonth() - 1);
- let year = currentDate.getFullYear();
- let month = String(currentDate.getMonth() + 1).padStart(2, '0');
- let day = String(currentDate.getDate()).padStart(2, '0');
- return `${year}-${month}-${day}`;
- },
- clear(){
- this.sWhere = ''
- this.hform = {
- HBillNo:'',
- HEndDate:getDateTime.dateTimeStr('y-m-d'),
- HBeginDate:this.getEndDate(),
- }
- this.search()
- },
- reads(e){
- uni.showModal({
- content: e,
- showCancel: false
- });
- },
- toCheck(item){
- uni.showModal({
- title: '鎻愮ず',
- content: '鏄惁纭瀹℃牳?',
- success: (res) => {
- if (res.confirm) {
- console.log('鐢ㄦ埛鐐瑰嚮纭畾');
- uni.request({
- url: this.serverUrl + '/Sc_MESTransFerWorkBill/AuditOA_ErrMsgBackHandleBill',
- data:{
- HInterID: item.hmainid,
- CurUserName: uni.getStorageSync('HUserName'),
- IsAudit:0
- },
- success: (res) => {
- console.log(1,res);
- if(res.data.count == 1){
- this.clear()
- }
- uni.showToast({
- title:res.data.Message,
- icon:'none'
- })
- },
- fail: (res) => {
- console.log(res);
- uni.hideLoading()
- uni.showToast({
- title:'鎺ュ彛璇锋眰澶辫触',
- icon:'none'
- })
- },
- });
- } else if (res.cancel) {
- console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
- }
- }
- });
- },
- toDel(item){
- uni.showModal({
- title: '鎻愮ず',
- content: '纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠',
- success: (res) => {
- if (res.confirm) {
- console.log('鐢ㄦ埛鐐瑰嚮纭畾');
- uni.request({
- url: this.serverUrl + '/Sc_MESTransFerWorkBill/DeleteOA_ErrMsgBackHandleBill',
- data:{
- HInterID: item.hmainid,
- user: uni.getStorageSync('HUserName')
- },
- success: (res) => {
- console.log(1,res);
- if(res.data.count == 1){
- this.clear()
- }
- uni.showToast({
- title:res.data.Message,
- icon:'none'
- })
- },
- fail: (res) => {
- console.log(res);
- uni.hideLoading()
- uni.showToast({
- title:'鎺ュ彛璇锋眰澶辫触',
- icon:'none'
- })
- },
- });
- } else if (res.cancel) {
- console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
- }
- }
- });
- }
- }
- }
-</script>
-
-<style lang="scss" scoped>
- .form{
- width: 640rpx;
- margin: 20rpx auto;
- }
- .form-item{
- display: flex;
- align-items: center;
- font-size: 28rpx;
- padding: 6rpx 0;
- .title{
- width: 180rpx;
- text{
- color: red;
- font-weight: bold;
- }
- }
- .right{
- width: 450rpx;
- border-radius: 22rpx;
- border: 1px solid #acacac;
- }
- .righton{
- width: 450rpx;
- border-radius: 22rpx;
- border: 1px solid #e4e4e4;
- background-color: #e4e4e4;
- }
- input{
- width: 100%;
- padding: 8rpx 20rpx;
- font-size: 30rpx;
- }
- }
- .buttons{
- width: 100%;
- display: flex;
- justify-content: center;
- margin-top: 20rpx;
- button{
- border-radius: 50rpx;
- width: 180rpx;
- height: 66rpx;
- line-height: 66rpx;
- font-size: 28rpx;
- }
- .btn-a{
- background-color: #acacac;
- color: #fff;
- }
- .btn-b{
- background-color: #41a863;
- color: #fff;
- }
- .btn-c{
- background-color: #3a78ff;
- color: #fff;
- }
- }
-
- .list{
- width: 100%;
- .card-detail{
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- line-height: 120%;
- .detail{
- // width: 50%;
- font-size: 26rpx;
- margin-bottom: 12rpx;
- color: #555;
- margin-right: 20rpx;
- text{
- color: #999;
- font-size: 26rpx;
- }
- }
- }
- .more{
- color: #888;
- font-size: 24rpx;
- display: flex;
- border-top: 1px solid #eee;
- padding-top: 20rpx;
- .part{
- width: 50%;
- text-align: center;
- }
- }
- }
-
-</style>
diff --git a/pages/yichang/MESExecptFeedBackBill.vue b/pages/yichang/MESExecptFeedBackBill.vue
deleted file mode 100644
index 9201719..0000000
--- a/pages/yichang/MESExecptFeedBackBill.vue
+++ /dev/null
@@ -1,753 +0,0 @@
-<template>
- <view>
- <view class="form">
- <view class="form-item">
- <view class="title">鍗曟嵁鍙�:</view>
- <view class="righton">
- <input name="HBillNo" disabled v-model="hform.HBillNo" placeholder="璇疯緭鍏ュ崟鎹彿" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">鍗曟嵁鏃ユ湡:</view>
- <view class="righton">
- <input name="HDate" disabled v-model="hform.HDate" placeholder="璇烽�夋嫨" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">涓婚:</view>
- <view class="right">
- <input name="HContext" v-model="hform.HContext" placeholder="璇疯緭鍏ヤ富棰�" />
- </view>
- </view>
- <view class="form-item" style="align-items: flex-start;">
- <view class="title"><text>*</text>璇︾粏鍐呭:</view>
- <view class="right" style="min-height: 150rpx;">
- <textarea name="HDescription" v-model="hform.HDescription" auto-height maxlength="-1" placeholder="璇疯緭鍏ヨ缁嗗唴瀹�"></textarea>
- </view>
- </view>
- <view class="form-item" style="align-items: flex-start;">
- <view class="title">澶囨敞:</view>
- <view class="right" style="min-height: 150rpx;">
- <textarea name="HRemark" v-model="hform.HRemark" auto-height maxlength="-1" placeholder="璇疯緭鍏ュ娉�"></textarea>
- </view>
- </view>
-
- <view class="tab_area"></view>
-
- <view class="form-item">
- <view class="title">寮傚父绫诲瀷:</view>
- <view class="righton">
- <input name="HErrMsgBackTypeName" disabled v-model="hform.HErrMsgBackTypeName" placeholder="" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">鍙戦�侀儴闂�:</view>
- <view class="righton">
- <input name="HDeptName" disabled v-model="hform.HDeptName" placeholder="" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">鍙戦�佷汉:</view>
- <view class="righton">
- <input name="HSendMan" disabled v-model="hform.HSendMan" placeholder="" />
- </view>
- </view>
- <view class="form-item">
- <view class="title"><text>*</text>鎺ユ敹閮ㄩ棬:</view>
- <view class="right">
- <uni-combox :candidates="arrayHReceiveName" placeholder="璇烽�夋嫨" v-model="hform.HReceiveName" @input="HReceiveNameChange"></uni-combox>
- </view>
- </view>
- <view class="form-item">
- <view class="title"><text>*</text>鎺ユ敹浜�:</view>
- <view class="right">
- <uni-combox :candidates="arrayHReceiveMan" placeholder="璇烽�夋嫨" v-model="hform.HReceiveMan" @input="HReceiveManChange"></uni-combox>
- </view>
- </view>
- <view class="form-item">
- <view class="title">澶勭悊浜�:</view>
- <view class="righton">
- <input name="HHandleEmpName" disabled v-model="hform.HHandleEmpName" placeholder="" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">鎶勯�佷汉:</view>
- <view class="righton">
- <input name="HCopyMan" disabled v-model="hform.HCopyMan" placeholder="" />
- </view>
- </view>
-
- <view class="tab_area"></view>
-
- <view class="form-item">
- <view class="title">绱ф�ョ▼搴�:</view>
- <view class="right">
- <picker :range="arrayHLevel" v-model="hform.HLevel" @change="HLevelChange">
- <input name="HLevel" disabled v-model="hform.HLevel" placeholder="璇烽�夋嫨绱ф�ョ▼搴�" />
- </picker>
- </view>
- </view>
- <view class="form-item">
- <view class="title">鍗曟嵁绫诲瀷:</view>
- <view class="righton">
- <input name="HBillTypeName" disabled v-model="hform.HBillTypeName" placeholder="璇疯緭鍏ュ崟鎹被鍨�" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">鍗曟嵁鍙风爜:</view>
- <view class="righton">
- <input name="HPlanBillNo" disabled v-model="hform.HPlanBillNo" placeholder="璇疯緭鍏ュ崟鎹彿鐮�" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">浜у搧鍚嶇О:</view>
- <view class="right">
- <input name="HMaterName" v-model="hform.HMaterName" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">瑙勬牸鍨嬪彿:</view>
- <view class="right">
- <input name="HMaterModel" v-model="hform.HMaterModel" placeholder="璇疯緭鍏ヨ鏍煎瀷鍙�" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">鐩稿叧璁惧:</view>
- <view class="right">
- <uni-combox :candidates="arrayHEquipName" placeholder="璇烽�夋嫨" v-model="hform.HEquipName" @input="HEquipNameChange"></uni-combox>
- </view>
- </view>
- <view class="form-item">
- <view class="title">鐩稿叧妯℃不鍏�:</view>
- <view class="right">
- <uni-combox :candidates="arrayHMouldName" placeholder="璇烽�夋嫨" v-model="hform.HMouldName" @input="HMouldNameChange"></uni-combox>
- </view>
- </view>
- <view class="form-item">
- <view class="title">澶勭悊鍐呭:</view>
- <view class="right">
- <input name="HHandleNote" v-model="hform.HHandleNote" placeholder="璇疯緭鍏ュ鐞嗗唴瀹�" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">澶勭悊瀹屾垚鏃堕棿:</view>
- <view class="right">
- <uni-datetime-picker v-model="hform.HHandleDate">
- <input name="HHandleDate" disabled :value="hform.HHandleDate" placeholder="璇烽�夋嫨" />
- </uni-datetime-picker>
- </view>
- </view>
- <view class="form-item">
- <view class="title">澶勭悊缁撴灉:</view>
- <view class="right">
- <picker :range="arrayHHandleResult" v-model="hform.HHandleResult" @change="HHandleResultChange">
- <input name="HHandleResult" disabled v-model="hform.HHandleResult" placeholder="璇烽�夋嫨澶勭悊缁撴灉" />
- </picker>
- </view>
- </view>
- <view class="form-item">
- <view class="title"><text>*</text>澶勭悊鏂规:</view>
- <view class="right">
- <uni-combox :candidates="arrayHBadReasonName" placeholder="璇烽�夋嫨" v-model="hform.HBadReasonName" @input="HBadReasonNameChange"></uni-combox>
- </view>
- </view>
-
- <view class="tab_area"></view>
-
- <view class="form-item">
- <view class="title">鍒跺崟浜�:</view>
- <view class="righton">
- <input v-model="hform.HMaker" disabled/>
- </view>
- </view>
- <view class="form-item">
- <view class="title">鍒跺崟鏃ユ湡:</view>
- <view class="righton">
- <input name="HMakeDate" disabled v-model="hform.HMakeDate" placeholder="" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">淇敼浜�:</view>
- <view class="righton">
- <input v-model="hform.HUpDater" disabled/>
- </view>
- </view>
- <view class="form-item">
- <view class="title">淇敼鏃ユ湡:</view>
- <view class="righton">
- <input name="HUpDateDate" disabled v-model="hform.HUpDateDate" placeholder="" />
- </view>
- </view>
- <view class="form-item">
- <view class="title">瀹℃牳浜�:</view>
- <view class="righton">
- <input v-model="hform.HChecker" disabled/>
- </view>
- </view>
- <view class="form-item">
- <view class="title">瀹℃牳鏃ユ湡:</view>
- <view class="righton">
- <input name="HCheckDate" disabled v-model="hform.HCheckDate" placeholder="" />
- </view>
- </view>
-
- <view class="bottom-btn">
- <button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
- <!-- <button class="btn-b" size="mini" @tap="showMask = true">鏂板</button> -->
- <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
- </view>
- </view>
- </view>
-</template>
-<script>
- import getDateTime from '@/utils/getdateTime.js';
- import { getUserInfo } from "@/utils/auth.js";
- export default {
- data() {
- return {
- userInfo:getUserInfo(),
- serverUrl: uni.getStorageSync('serverUrl')||'http://47.96.97.237/API',
-
- arrayHLevel:['鏅��','绱ф��'],
- arrayHHandleResult:['澶勭悊瀹屾垚','鏈鐞�','鏃犳硶澶勭悊'],
- arrayHReceiveName:[],
- HReceiveNameList:[],
- arrayHReceiveMan:[],
- HReceiveManList:[],
- arrayHEquipName:[],
- HEquipNameList:[],
- arrayHMouldName:[],
- HMouldNameList:[],
- arrayHBadReasonName:[],
- HBadReasonNameList:[],
- isEdit: false,
- eData:{
- OperationType:'', //浠庡弬鏁颁腑鑾峰彇 鏁版嵁绫诲瀷 1娣诲姞 淇濆瓨 2澶嶅埗 3 缂栬緫
- linterid:'',//浠庡弬鏁颁腑鑾峰彇 鍗曟嵁鍐呯爜
- HEntryID:'', //瀛愬唴鐮�
- HSouceBillType:'',//婧愬崟绫诲瀷
- },
- hform:{
- HBillNo:'',
- HInterID:'',
- HEntryID:'',
- HDate:getDateTime.dateTimeStr('y-m-d h:i:s'),
- HContext:'',
- HDescription:'',
- HRemark:'',
-
- HErrMsgBackTypeName:'',
- HErrMsgBackTypeID:'',
- HDeptName:getUserInfo().HDept,
- HDeptID:getUserInfo().HDeptID,
- HSendMan:getUserInfo().Czymc,
- HReceiveName:'',
- HReceiveID:'',
- HReceiveMan:'',
- HHandleEmpName:'',
- HHandleEmpID:0,
- HCopyMan:'',
-
- HLevel:'鏅��',
- HBillTypeName:'',
- HPlanBillNo:'',
- HMaterName:'',
- HMaterModel:'',
- HEquipName:'',
- HEquipID:'',
- HMouldName:'',
- HMouldID:'',
- HHandleNote:'',
- HHandleDate:getDateTime.dateTimeStr('y-m-d h:i:s'),
- HHandleResult:'澶勭悊瀹屾垚',
- HBadReasonName:'',
- HBadReasonID:'',
-
- HMainSourceBillNo:'',
- HMainSourceInterID:'',
- HMainSourceEntryID:'',
- HMainSourceBillType:'',
- HErrMsgBackBillNo:'',
- HErrMsgBackInterID:'',
- HErrMsgBackEntryID:'',
-
- HMaker:getUserInfo().Czymc,
- HMakeDate:getDateTime.dateTimeStr('y-m-d h:i:s'),
- HUpDater:'',
- HUpDateDate:'',
- HChecker:'',
- HCheckDate:'',
- }
- }
- },
- onLoad(e) {
- console.log(e)
- uni.showLoading({
- title:'鏁版嵁鍔犺浇涓�'
- })
- this.eData = e
- this.getNewData()
- this.getListData()
- },
- methods: {
- HHandleDateChange(e){
- console.log(e.detail.value)
- this.hform.HHandleDate = e.detail.value
- },
- //閫夋嫨绱ф�ョ▼搴�
- HLevelChange(e){
- this.hform.HLevel = this.arrayHLevel[e.detail.value]
- },
- //閫夋嫨澶勭悊缁撴灉
- HHandleResultChange(e){
- this.hform.HHandleResult = this.arrayHHandleResult[e.detail.value]
- },
- //閫夋嫨閮ㄩ棬
- HReceiveNameChange(e){
- for(var i=0;i<this.HReceiveNameList.length;i++){
- if(this.arrayHReceiveName[i] == e){
- this.hform.HReceiveName = this.HReceiveNameList[i].閮ㄩ棬鍚嶇О
- this.hform.HReceiveID = this.HReceiveNameList[i].HItemID
- }
- }
- },
- //閫夋嫨鎺ユ敹浜�
- HReceiveManChange(e){
- for(var i=0;i<this.HReceiveManList.length;i++){
- if(this.arrayHReceiveMan[i] == e){
- this.hform.HReceiveMan = this.HReceiveManList[i].title
- }
- }
- },
- //閫夋嫨璁惧
- HEquipNameChange(e){
- for(var i=0;i<this.HEquipNameList.length;i++){
- if(this.arrayHEquipName[i] == e){
- this.hform.HEquipName = this.HEquipNameList[i].璁惧鍚嶇О
- this.hform.HEquipID = this.HEquipNameList[i].hmainid
- }
- }
- },
- //閫夋嫨妯″叿
- HMouldNameChange(e){
- for(var i=0;i<this.HMouldNameList.length;i++){
- if(this.arrayHMouldName[i] == e){
- this.hform.HMouldName = this.HMouldNameList[i].妯″叿鍚嶇О
- this.hform.HMouldID = this.HMouldNameList[i].hmainid
- }
- }
- },
- //閫夋嫨澶勭悊鍘熷洜
- HBadReasonNameChange(e){
- for(var i=0;i<this.HBadReasonNameList.length;i++){
- if(this.arrayHBadReasonName[i] == e){
- this.hform.HBadReasonName = this.HBadReasonNameList[i].澶勭悊鏂规鍚嶇О
- this.hform.HBadReasonID = this.HBadReasonNameList[i].HItemID
- }
- }
- },
- getListData() {
- console.log(uni.getStorageSync('OrganizationID'))
- uni.request({
- url: this.serverUrl + '/Gy_Department/list',
- data: { sWhere: "", user: uni.getStorageSync('HUserName'),Organization:uni.getStorageSync('Organization') },
- success: (res) => {
- // console.log(444,res)
- if(res.data.count == 1){
- this.HReceiveNameList = res.data.data
- for(var i=0;i<res.data.data.length;i++){
- this.arrayHReceiveName[i] = res.data.data[i].閮ㄩ棬鍚嶇О + '(' + res.data.data[i].閮ㄩ棬浠g爜 + ')'
- }
- this.$forceUpdate();
- }else{
- uni.showToast({
- title:'鑾峰彇閮ㄩ棬淇℃伅澶辫触',
- icon:'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title:'鑾峰彇閮ㄩ棬淇℃伅澶辫触',
- icon:'none'
- })
- },
- });
- uni.request({
- url: this.serverUrl + '/PublicPageMethod/PeopleTransFerList',
- // data: { sWhere: "", user: uni.getStorageSync('HUserName') },
- success: (res) => {
- if(res.data.count == 1){
- // console.log(555,res.data.data)
- this.HReceiveManList = res.data.data
- for(var i=0;i<res.data.data.length;i++){
- this.arrayHReceiveMan[i] = res.data.data[i].title
- }
- this.$forceUpdate();
- }else{
- uni.showToast({
- title:'鑾峰彇鎺ユ敹浜轰俊鎭け璐�',
- icon:'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title:'鑾峰彇鎺ユ敹浜轰俊鎭け璐�',
- icon:'none'
- })
- },
- });
- uni.request({
- url: this.serverUrl + '/Gy_EquipFileMain/GetList',
- data: { sWhere: "", user: uni.getStorageSync('HUserName') },
- success: (res) => {
- // console.log(111,res.data)
- if(res.data.count == 1){
- this.HEquipNameList = res.data.data
- for(var i=0;i<res.data.data.length;i++){
- this.arrayHEquipName[i] = res.data.data[i].璁惧鍚嶇О + '(' + res.data.data[i].璁惧缂栫爜 + ')'
- }
- this.$forceUpdate();
- }else{
- uni.showToast({
- title:'鑾峰彇鐩稿叧璁惧淇℃伅鍒楄〃澶辫触',
- icon:'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title:'鑾峰彇鐩稿叧璁惧淇℃伅鍒楄〃澶辫触',
- icon:'none'
- })
- },
- });
- uni.request({
- url: this.serverUrl + '/Gy_Mould/list1',
- data: { sWhere: "", ModRightNameSelect: "Gy_MouldFileList", user: uni.getStorageSync('HUserName') },
- success: (res) => {
- if(res.data.count == 1){
- // console.log(222,res.data.data)
- this.HMouldNameList = res.data.data
- for(var i=0;i<res.data.data.length;i++){
- this.arrayHMouldName[i] = res.data.data[i].妯″叿鍚嶇О + '(' + res.data.data[i].妯″叿缂栧彿 + ')'
- }
- this.$forceUpdate();
- }else{
- uni.showToast({
- title:'鑾峰彇鐩稿叧妯℃不鍏峰垪琛ㄥけ璐�',
- icon:'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title:'鑾峰彇鐩稿叧妯℃不鍏峰垪琛ㄥけ璐�',
- icon:'none'
- })
- },
- });
- uni.request({
- url: this.serverUrl + '/Gy_DisposeWay/list',
- data: { sWhere: "", user: uni.getStorageSync('HUserName') },
- success: (res) => {
- if(res.data.count == 1){
- // console.log(333,res.data.data)
- this.HBadReasonNameList = res.data.data
- for(var i=0;i<res.data.data.length;i++){
- this.arrayHBadReasonName[i] = res.data.data[i].澶勭悊鏂规鍚嶇О
- }
- this.$forceUpdate();
- }else{
- uni.showToast({
- title:'鑾峰彇澶勭悊鏂规鍒楄〃澶辫触',
- icon:'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title:'鑾峰彇澶勭悊鏂规鍒楄〃澶辫触',
- icon:'none'
- })
- },
- });
- },
- getBaseData(){
- //涓昏〃
- uni.request({
- url: this.serverUrl + '/Sc_MESTransFerWorkBill/Get_OA_ErrMsgBackList',
- data: {
- "HInterID": this.eData.linterid,
- "HEntryID": this.eData.HEntryID,
- "user": uni.getStorageSync('HUserName'),
- "num": 1
- },
- success: (res) => {
- console.log(1,res.data.data[0]);
- if(res.data.code == 1){
- var data = res.data.data[0]
- this.hform.HDeptID=data.HDeptID //閮ㄩ棬ID
- this.hform.HDeptName=data.鍙戦�侀儴闂� //鍙戦�侀儴闂�
- this.hform.HReceiveID=data.HReceiveID //閮ㄩ棬ID
- this.hform.HReceiveName=data.鎺ユ敹閮ㄩ棬 //鎺ユ敹閮ㄩ棬
- this.hform.HErrMsgBackTypeID=data.HErrMsgBackTypeID //寮傚父绫诲瀷鍚嶇ОID
- this.hform.HErrMsgBackTypeName=data.寮傚父绫诲瀷鍚嶇О //寮傚父绫诲瀷鍚嶇О
- this.hform.HSendMan=data.鍙戦�佷汉 //鍙戦�佷汉
- this.hform.HReceiveMan=data.鎸囨淳澶勭悊浜� //鎺ユ敹浜�
- this.hform.HCopyMan=data.鎶勯�� //鎶勯��
- this.hform.HLevel=data.绱ф�ョ▼搴� //绱ф�ョ▼搴�
- this.hform.HContext=data.涓婚 //涓婚
- this.hform.HDescription=data.璇︾粏鍐呭 //璇︾粏鍐呭
- this.hform.HMaterName=data.鐗╂枡鍚嶇О //浜у搧鍚嶇О
- this.hform.HMaterModel=data.瑙勬牸鍨嬪彿 //瑙勬牸鍨嬪彿
- this.hform.HEquipID=data.璁惧id //璁惧id
- this.hform.HEquipName=data.璁惧鍚嶇О //浜у搧鍚嶇О
- this.hform.HMouldID=data.妯″叿id //妯″叿id
- this.hform.HMouldName=data.妯″叿鍚嶇О //妯″叿鍚嶇О
- this.hform.HBillTypeName=this.eData.HSouceBillType //鍗曟嵁绫诲瀷
- this.hform.HPlanBillNo=data.鍗曟嵁鍙� //鍗曟嵁鍙�
-
- this.hform.HMainSourceBillNo=data.鍗曟嵁鍙� //婧愬崟鍗曞彿
- this.hform.HMainSourceInterID=data.HInterID //婧愬崟涓诲唴鐮�
- this.hform.HMainSourceEntryID=data.HEntryID //婧愬崟瀛愬唴鐮�
- this.hform.HMainSourceBillType=this.eData.HSouceBillType //婧愬崟绫诲瀷
-
- this.hform.HErrMsgBackBillNo=data.鍗曟嵁鍙� //寮傚父鍙嶉鍗曞彿
- this.hform.HErrMsgBackInterID=data.HInterID //寮傚父鍙嶉鍗曚富鍐呯爜
- this.hform.HErrMsgBackEntryID=data.HEntryID //寮傚父鍙嶉鍗曞瓙鍐呯爜
-
- this.hform.HHandleEmpID=data.HHandleEmpID //绛惧埌浜篒D
- this.hform.HHandleEmpName=data.鎸囨淳澶勭悊浜� //绛惧埌浜�
- }else{
- uni.showToast({
- title:'鑾峰彇涓昏〃淇℃伅鍥炲~澶辫触',
- icon:'none'
- })
- }
- uni.hideLoading()
- },
- fail: (res) => {
- uni.hideLoading()
- console.log(res);
- uni.showToast({
- title:'鎺ュ彛璇锋眰澶辫触',
- icon:'none'
- })
- },
- });
- },
- //鏂板
- getNewData(){
- uni.request({
- url: this.serverUrl + '/Web/GetMAXNum',
- data: { HBillType: '4531' },
- success: (res) => {
- // console.log(res.data)
- if(res.data.count == 1){
- this.hform.HInterID = res.data.data[0].HInterID
- this.hform.HBillNo = res.data.data[0].HBillNo
- this.getBaseData()
- }else{
- uni.showToast({
- title:res.data.Message,
- icon:'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title:'鎺ュ彛璇锋眰澶辫触',
- icon:'none'
- })
- },
- });
- },
- submit() {
- if(!this.hform.HReceiveID){
- uni.showToast({
- title:'璇烽�夋嫨鎺ユ敹閮ㄩ棬',
- icon:'none'
- })
- }else if(!this.hform.HReceiveMan){
- uni.showToast({
- title:'璇烽�夋嫨鎺ユ敹浜�',
- icon:'none'
- })
- }else if(!this.hform.HBadReasonID){
- uni.showToast({
- title:'璇烽�夋嫨澶勭悊鍘熷洜',
- icon:'none'
- })
- }else{
- uni.showLoading({
- title:'璇风◢鍊�'
- })
- var sMainStr = JSON.stringify(this.hform);
- var sMainSub = sMainStr + ';Add;' + uni.getStorageSync('HUserName')
- // console.log(sMainSub);
- uni.request({
- url: this.serverUrl + '/Sc_MESTransFerWorkBill/SaveOA_ErrMsgBackHandleBill',
- method:'POST',
- dataType:"json",
- data:{ "msg": sMainSub },
- success: (res) => {
- console.log(1,res);
- uni.hideLoading()
- if(res.data.count == 1){
- if (res.data.Verify == "Y"){ //鑷姩瀹℃牳
- this.SaveVerify(res.data.HInterID) //瀹℃牳
- }else {
- let pages = getCurrentPages();
- let prePage = pages[pages.length - 2];
- prePage.$vm.clear()
- setTimeout(()=>{
- uni.navigateBack()
- },1000)
- }
- }
- uni.showToast({
- title:res.data.Message,
- icon:'none'
- })
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title:'鎺ュ彛璇锋眰澶辫触',
- icon:'none'
- })
- },
- });
- }
- },
- SaveVerify(HInterID){
- var datas={
- HInterID:HInterID,
- IsAudit:0,
- CurUserName:getUserInfo().Czymc
- }
- console.log(datas)
- uni.request({
- url: this.serverUrl + '/Sc_MESTransFerWorkBill/AuditOA_ErrMsgBackHandleBill',
- method:'GET',
- dataType:"json",
- async: true,
- data:datas,
- success: (res) => {
- console.log(1,res);
- uni.hideLoading()
- if(res.data.count == 1){
- let pages = getCurrentPages();
- let prePage = pages[pages.length - 2];
- prePage.$vm.clear()
- setTimeout(()=>{
- uni.navigateBack()
- },1000)
- }
- uni.showToast({
- title:res.data.Message,
- icon:'none'
- })
- },
- fail: (res) => {
- console.log(res);
- uni.showToast({
- title:'鎺ュ彛璇锋眰澶辫触',
- icon:'none'
- })
- },
- });
- },
- goBack(){
- uni.navigateBack()
- }
- }
- }
-</script>
-
-<style lang="scss" scoped>
- .form{
- width: 668rpx;
- margin: 20rpx auto;
- padding-bottom: 240rpx;
- }
- .tab_area{
- width: 100%;
- height: 50rpx;
- }
- .form-item{
- display: flex;
- align-items: center;
- font-size: 30rpx;
- padding: 6rpx 0;
- .title{
- width: 208rpx;
- text{
- color: red;
- font-weight: bold;
- }
- }
- .right{
- width: 450rpx;
- border-radius: 22rpx;
- border: 1px solid #acacac;
- }
- .righton{
- width: 450rpx;
- border-radius: 22rpx;
- border: 1px solid #e4e4e4;
- background-color: #e4e4e4;
- }
- input{
- width: 100%;
- padding: 8rpx 20rpx;
- font-size: 30rpx;
- }
- textarea{
- width: 94%;
- padding: 8rpx 3%;
- font-size: 30rpx;
- }
-
- }
- .bottom-btn{
- width: 100%;
- // height: 120rpx;
- position: fixed;
- bottom: 0;
- left: 0;
- background-color: #fff;
- box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.4);
- padding: 30rpx 40rpx 40rpx 40rpx;
- button{
- border-radius: 50rpx;
- width: 180rpx;
- height: 66rpx;
- line-height: 66rpx;
- font-size: 28rpx;
- }
- .btn-a{
- background-color: #3A78FF;
- color: #fff;
- }
- .btn-b{
- background-color: #41a863;
- color: #fff;
- margin-left: 30rpx;
- }
- .btn-c{
- background-color: #acacac;
- color: #fff;
- position: absolute;
- right: 120rpx;
- }
- }
-</style>
\ No newline at end of file
diff --git a/pages/yichang/MESExecptFeedBackBillList.vue b/pages/yichang/MESExecptFeedBackBillList.vue
deleted file mode 100644
index b08c9a0..0000000
--- a/pages/yichang/MESExecptFeedBackBillList.vue
+++ /dev/null
@@ -1,333 +0,0 @@
-<template>
- <view class="content">
- <view class="form">
- <view class="form-item">
- <view class="title">浜嬩欢鐘舵��:</view>
- <view class="right">
- <picker :range="arrayHStatus" v-model="hform.HReadFlag" @change="HStatusChange">
- <input name="HStatus" disabled v-model="hform.HReadFlag" placeholder="璇烽�夋嫨浜嬩欢鐘舵��" />
- </picker>
- </view>
- </view>
- <view class="form-item">
- <view class="title">寮�濮嬫棩鏈�:</view>
- <view class="right">
- <picker mode="date" :value="hform.HBeginDate" @change="HBeginDateChange">
- <input name="HBeginDate" disabled :value="hform.HBeginDate" placeholder="璇烽�夋嫨" />
- </picker>
- </view>
- </view>
- <view class="form-item">
- <view class="title">缁撴潫鏃ユ湡:</view>
- <view class="right">
- <picker mode="date" :value="hform.HEndDate" @change="HEndDateChange">
- <input name="HEndDate" disabled :value="hform.HEndDate" placeholder="璇烽�夋嫨" />
- </picker>
- </view>
- </view>
-
- <view class="buttons">
- <button class="btn-a" size="mini" type="default" @tap="clear">閲嶇疆</button>
- <!-- <button class="btn-b" size="mini" type="default">鏂板</button> -->
- <button class="btn-c" size="mini" type="default" @tap="search">鏌ヨ</button>
- </view>
- </view>
-
- <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
-
- <view class="list" v-for="(item,index) in listData" :key="index">
- <uni-card :title="item.鍗曟嵁鐘舵��" :extra="item.鍗曟嵁鍙�" style="margin: 10px;">
- <view class="card-detail">
- <view class="detail" v-if="item.浜у搧鍚嶇О">
- <text>浜у搧鍚嶇О锛�</text>{{item.浜у搧鍚嶇О}}
- </view>
- <view class="detail" v-if="item.涓婚">
- <text>涓婚锛�</text>{{item.涓婚}}
- </view>
- <view class="detail" v-if="item.寮傚父绫诲瀷">
- <text>寮傚父绫诲瀷锛�</text>{{item.寮傚父绫诲瀷}}
- </view>
- <view class="detail" v-if="item.鍙戦�侀儴闂�">
- <text>鍙戦�侀儴闂細</text>{{item.鍙戦�侀儴闂▆}
- </view>
- <view class="detail" v-if="item.鍙戦�佷汉">
- <text>鍙戦�佷汉锛�</text>{{item.鍙戦�佷汉}}
- </view>
- <view class="detail" v-if="item.鏄惁瀹屾垚">
- <text>鏄惁瀹屾垚锛�</text>{{item.鏄惁瀹屾垚}}
- </view>
-
- <view class="detail" v-if="item.鎺ユ敹閮ㄩ棬">
- <text>鎺ユ敹閮ㄩ棬锛�</text>{{item.鎺ユ敹閮ㄩ棬}}
- </view>
- <view class="detail" v-if="item.鎺ユ敹浜�">
- <text>鎺ユ敹浜猴細</text>{{item.鎺ユ敹浜簘}
- </view>
- <view class="detail" v-if="item.鎶勯�佷汉">
- <text>鎶勯�佷汉锛�</text>{{item.鎶勯�佷汉}}
- </view>
- <view class="detail" v-if="item.鎸囨淳澶勭悊浜�">
- <text>鎸囨淳澶勭悊浜猴細</text>{{item.鎸囨淳澶勭悊浜簘}
- </view>
-
- <view class="detail" v-if="item.鍒跺崟鏃ユ湡">
- <text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
- </view>
- <view class="detail" v-if="item.鍒跺崟浜�">
- <text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
- </view>
- <view class="detail" v-if="item.瀹℃牳鏃ユ湡">
- <text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
- </view>
- <view class="detail" v-if="item.瀹℃牳浜�">
- <text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
- </view>
- </view>
- <view class="more">
- <view class="part" style="border-right: 1px solid #eee;" @tap="reads(item.鍐呭)">
- <uni-icons type="bars" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鍙嶉鍗曞叿浣撳唴瀹�
- </view>
- <view class="part" @tap="toForm(item)">
- <uni-icons type="pulldown" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>涓嬫帹鍙嶉澶勭悊鍗�
- </view>
- </view>
- </uni-card>
- </view>
-
- <view class="over" v-if="listData.length == 0">鏆傛棤鏁版嵁</view>
- <view class="over" v-if="listData.length != 0">宸插埌搴�</view>
- </view>
-</template>
-
-<script>
- import { getUserInfo } from "@/utils/auth.js";
- import getDateTime from '@/utils/getdateTime.js';
- export default {
- data() {
- return {
- userInfo:getUserInfo(),
- serverUrl: uni.getStorageSync('serverUrl')||'http://47.96.97.237/API',
- arrayHStatus:['鍏ㄩ儴','宸插弽棣�','宸茬鍒�','宸插鐞�','宸查獙鏀�'],
- arrayHStatusId:['','2','13','9','10'],
- hform:{
- HStatus:'',
- HReadFlag:'鍏ㄩ儴',
- HEndDate:getDateTime.dateTimeStr('y-m-d'),
- HBeginDate:this.getEndDate(),
- HSourceID:0,
- },
- sWhere:'',
- listData:[],
- }
- },
- onLoad() {
- this.clear()
- console.log(this.userInfo,uni.getStorageSync('HUserName'))
- },
- onPullDownRefresh: function() {
- this.clear()
- setTimeout(()=>{
- uni.stopPullDownRefresh();
- }, 1000);
- },
- methods: {
- getList(){
- console.log(this.sWhere)
- uni.request({
- url: this.serverUrl + '/Sc_MESTransFerWorkBill/GetSc_MESTransFerWorkBillQuery',
- data:{
- sWhere: this.hform,
- user: uni.getStorageSync('HUserName')
- },
- success: (res) => {
- console.log(1,res.data.data.h_p_OA_ErrMsgBackSelfQuery);
- if(res.data.count == 1){
- this.listData = res.data.data.h_p_OA_ErrMsgBackSelfQuery
- }else{
- uni.showToast({
- title:res.data.Message,
- icon:'none'
- })
- }
- },
- fail: (res) => {
- console.log(res);
- uni.hideLoading()
- uni.showToast({
- title:'鎺ュ彛璇锋眰澶辫触',
- icon:'none'
- })
- },
- });
-
- // uni.request({
- // url: this.serverUrl + '/Gy_EquipFileMain/Sb_EquipFileBillResumeDate',
- // data: { "HInterID": 2 },
- // success: (res) => {
- // console.log(2,res);
-
- // }
- // });
- },
- //浜嬩欢鐘舵�佹敼鍙�
- HStatusChange(e){
- this.hform.HStatus = this.arrayHStatusID[e.detail.value]
- this.hform.HReadFlag = this.arrayHStatus[e.detail.value]
- },
- //閫夋嫨鍗曟嵁鏃ユ湡
- HBeginDateChange(e){
- console.log(e.detail.value)
- this.hform.HBeginDate = e.detail.value
- },
- //閫夋嫨鍗曟嵁鏃ユ湡
- HEndDateChange(e){
- console.log(e.detail.value)
- this.hform.HEndDate = e.detail.value
- },
- search(){
- // this.sWhere = ''
-
- // console.log(this.hform)
- // if (this.hform.HBillNo) {
- // this.sWhere += " and 鍗曟嵁鍙� like '%" + this.hform.HBillNo + "%'";
- // }
- // if (this.hform.HEquipType) {
- // this.sWhere += " and 璁惧绫诲瀷 like '%" + this.hform.HEquipType + "%'";
- // }
- // if (this.hform.HBeginDate) {
- // this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.HBeginDate + "'";
- // }
- // if (this.hform.HEndDate) {
- // this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.HEndDate + "'";
- // }
-
- this.getList()
- },
- getEndDate(){
- let currentDate = new Date();
- currentDate.setMonth(currentDate.getMonth() - 1);
- let year = currentDate.getFullYear();
- let month = String(currentDate.getMonth() + 1).padStart(2, '0');
- let day = String(currentDate.getDate()).padStart(2, '0');
- return `${year}-${month}-${day}`;
- },
- clear(){
- this.sWhere = ''
- this.hform = {
- HStatus:'',
- HReadFlag:'鍏ㄩ儴',
- HEndDate:getDateTime.dateTimeStr('y-m-d'),
- HBeginDate:this.getEndDate(),
- HSourceID:0,
- }
- this.getList()
- },
- reads(e){
- uni.showModal({
- content: e,
- showCancel: false
- });
- },
- toForm(item){
- uni.navigateTo({
- url:'./form?OperationType=2&linterid=' + item.HInterID + '&HEntryID=' + item.HEntryID + '&HSouceBillType=4502'
- })
- }
- }
- }
-</script>
-
-<style lang="scss" scoped>
- .form{
- width: 640rpx;
- margin: 20rpx auto;
- }
- .form-item{
- display: flex;
- align-items: center;
- font-size: 28rpx;
- padding: 6rpx 0;
- .title{
- width: 180rpx;
- text{
- color: red;
- font-weight: bold;
- }
- }
- .right{
- width: 450rpx;
- border-radius: 22rpx;
- border: 1px solid #acacac;
- }
- .righton{
- width: 450rpx;
- border-radius: 22rpx;
- border: 1px solid #e4e4e4;
- background-color: #e4e4e4;
- }
- input{
- width: 100%;
- padding: 8rpx 20rpx;
- font-size: 30rpx;
- }
- }
- .buttons{
- width: 100%;
- display: flex;
- justify-content: center;
- margin-top: 20rpx;
- button{
- border-radius: 50rpx;
- width: 180rpx;
- height: 66rpx;
- line-height: 66rpx;
- font-size: 28rpx;
- }
- .btn-a{
- background-color: #acacac;
- color: #fff;
- }
- .btn-b{
- background-color: #41a863;
- color: #fff;
- }
- .btn-c{
- background-color: #3a78ff;
- color: #fff;
- }
- }
-
- .list{
- width: 100%;
- .card-detail{
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- line-height: 120%;
- .detail{
- // width: 50%;
- font-size: 26rpx;
- margin-bottom: 12rpx;
- color: #555;
- margin-right: 20rpx;
- text{
- color: #999;
- font-size: 26rpx;
- }
- }
- }
- .more{
- color: #888;
- font-size: 24rpx;
- display: flex;
- border-top: 1px solid #eee;
- padding-top: 20rpx;
- .part{
- width: 50%;
- text-align: center;
- }
- }
- }
-
-</style>
--
Gitblit v1.9.1