From 7555ee2f3095eac173b8b04a5bc4da6aec51197c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E6=88=90?= <121184950@qq.com> Date: Fri, 3 Apr 2020 16:01:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=87=BA=E5=BA=93=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../addPurchaseApplyStep.js | 12 +- .../itemOutManage/itemOutManage.html | 149 ++++++++---------- .../components/itemOutManage/itemOutManage.js | 106 ++++++------- .../purchaseApplyManage.js | 2 +- .../viewResourceStoreInfo2.html | 6 +- 5 files changed, 127 insertions(+), 148 deletions(-) diff --git a/public/components/addPurchaseApplyStep/addPurchaseApplyStep.js b/public/components/addPurchaseApplyStep/addPurchaseApplyStep.js index 46bc79f90..782f80c10 100644 --- a/public/components/addPurchaseApplyStep/addPurchaseApplyStep.js +++ b/public/components/addPurchaseApplyStep/addPurchaseApplyStep.js @@ -12,12 +12,15 @@ resourceStores:[], description:'', file:'', - resOrderType:'10000' + resOrderType:'' } } }, _initMethod: function () { vc.component._initStep(); + //10000 采购 20000出库 + vc.component.addPurchaseApplyStepInfo.purchaseApply.resOrderType = vc.getParam('resOrderType'); + console.log("订单类型:"+vc.getParam('resOrderType')); }, _initEvent: function () { vc.on("addPurchaseApplyStep", "notify", function (viewResourceStoreInfo2) { @@ -85,7 +88,12 @@ if (res.status == 200) { //关闭model - vc.jumpToPage("/admin.html#/purchaseApplyManage"); + if(vc.component.addPurchaseApplyStepInfo.purchaseApply.resOrderType == "10000"){ + vc.jumpToPage("/admin.html#/purchaseApplyManage"); + }else{ + vc.jumpToPage("/admin.html#/itemOutManage"); + } + return; } vc.message(json); diff --git a/public/components/itemOutManage/itemOutManage.html b/public/components/itemOutManage/itemOutManage.html index 38600d54c..cdafae63d 100644 --- a/public/components/itemOutManage/itemOutManage.html +++ b/public/components/itemOutManage/itemOutManage.html @@ -1,4 +1,5 @@ -
| 单号 | +审批状态 | +流程处理人 | +申请人 | +申请时间 | +物品 | +总计价格 | +操作 | +
|---|---|---|---|---|---|---|---|
- - - {{resourceStore.resName}} - --- {{resourceStore.description}} - - |
- {{resourceStore.price}} | -- - - | -- - - | -
- - {{resourceStore.price}} -+ | |||
| {{purchaseApply.applyOrderId}} | +{{purchaseApply.stateName}} | +{{purchaseApply.agreeMan}} | +{{purchaseApply.userName}} | +{{purchaseApply.createTime}} | +{{purchaseApply.resourceNames}} | +{{purchaseApply.totalPrice}} | +
+
+
+
+
+
+
|
物品编码 | 物品价格 | 物品库存 | -采购数量 | +申请数量 | 备注 | @@ -36,7 +36,7 @@{{resourceStore.stock}} | + placeholder="必填,请填写申请数量" class="form-control"> | @@ -60,4 +60,4 @@ emitLoadData="viewResourceStoreInfo" > - \ No newline at end of file + |