diff --git a/api/resource/resource.js b/api/resource/resource.js
index ab74604..baf804c 100644
--- a/api/resource/resource.js
+++ b/api/resource/resource.js
@@ -518,6 +518,34 @@ export function saveResourceEnter(_that,_data){
});
}
+
+
+/**
+ * 调拨提交
+ * @param {Object} _that 上下文对象
+ * @param {Object} _data 请求报文
+ */
+export function allocationStoreEnter(_that,_data){
+ return new Promise(function(reslove,reject){
+ _that.context.post({
+ url: url.allocationStoreEnter,
+ data:_data,
+ success: function(res) {
+ reslove(res.data);
+ },
+ fail: function(e) {
+ _that.onoff = true;
+ wx.showToast({
+ title: "服务器异常了",
+ icon: 'none',
+ duration: 2000
+ })
+ }
+ })
+ });
+}
+
+
/**
* 修改采购
* @param {Object} _that 上下文对象
diff --git a/components/resource/allocation-audit-undo.vue b/components/resource/allocation-audit-undo.vue
index 9a9d0a9..fdc4b9f 100644
--- a/components/resource/allocation-audit-undo.vue
+++ b/components/resource/allocation-audit-undo.vue
@@ -92,7 +92,7 @@
},
_openEditPurchaseModel:function(_item){
uni.navigateTo({
- url:'/pages/resource/editPurchaseApply?applyId=' + _item.applyOrderId + '&resOrderType=' + _item.resOrderType
+ url:'/pages/resource/editPurchaseApply?applyId=' + _item.applyId + '&resOrderType=' + _item.resOrderType
})
},
/**
@@ -100,7 +100,7 @@
*/
_distributionOrder: function(item){
uni.navigateTo({
- url:'/pages/resource/itemOutDo?applyId=' + item.applyOrderId + '&resOrderType=' + item.resOrderType + '&taskId=' + item.taskId
+ url:'/pages/resource/allocationEnterDo?applyId=' + item.applyId + '&taskId=' + item.taskId
})
},
_undoAudit:function(_purchaseApply){
diff --git a/constant/url.js b/constant/url.js
index bbf184b..f87fe68 100644
--- a/constant/url.js
+++ b/constant/url.js
@@ -202,4 +202,6 @@ export default {
listVisit: baseUrl+"app/visit.listVisits",
auditUndoVisit: baseUrl+"app/visit.auditUndoVisit",
queryUndoCount: baseUrl+"callComponent/undo/list",
+ allocationStoreEnter: baseUrl+"app/resourceStore.allocationStoreEnter",
+
}
diff --git a/pages.json b/pages.json
index e84b5c6..41606f7 100644
--- a/pages.json
+++ b/pages.json
@@ -649,6 +649,15 @@
}
}
+ ,{
+ "path" : "pages/resource/allocationEnterDo",
+ "style" :
+ {
+ "navigationBarTitleText": "调拨",
+ "enablePullDownRefresh": false
+ }
+
+ }
],
"globalStyle": {
"navigationBarTextStyle": "white",
diff --git a/pages/resource/allocationEnterDo.vue b/pages/resource/allocationEnterDo.vue
new file mode 100644
index 0000000..aceb412
--- /dev/null
+++ b/pages/resource/allocationEnterDo.vue
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+
+
+
+
+ {{item.resName}}-{{item.rstName}}
+
+
+
+ {{item.originalStock}}
+
+
+
+ {{item.shaName}}
+
+
+
+ {{item.shzName}}
+
+
+
+ {{item.stock}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+