From dfb0935547cc4578851e672a99f1f41894625b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com> Date: Thu, 29 Jul 2021 14:27:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E9=A3=9F=E5=A0=82=E9=87=87?= =?UTF-8?q?=E8=B4=AD=E5=92=8C=E5=87=BA=E5=BA=93=E7=9B=B8=E5=85=B3=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api.js | 7 +- pages/canteen/delivery/order.vue | 100 +++++++++++++++++---- pages/canteen/index/index.vue | 4 +- pages/canteen/purchase/detail.vue | 118 ++++++++++++------------- pages/canteen/purchase/order.vue | 137 +++++++++++++++++++++-------- pages/canteen/purchase/receipt.vue | 3 +- 6 files changed, 249 insertions(+), 120 deletions(-) diff --git a/common/api.js b/common/api.js index 953cc23..e279477 100644 --- a/common/api.js +++ b/common/api.js @@ -1,8 +1,8 @@ // appId: 正式 null | 测试 null export const DEV = "dev"; // dev 测试 | prod 正式 export const VERSION = '1.0.0'; // 版本号 -export const DEVURL = 'http://192.168.3.78'; // 测试服请求地址 -// export const DEVURL = 'http://192.168.3.5'; // 测试服请求地址 +// export const DEVURL = 'http://192.168.3.78'; // 测试服请求地址 +export const DEVURL = 'http://192.168.3.5'; // 测试服请求地址 export const PRODURL = ''; // 正式服请求地址 /* 供应商相关接口 */ @@ -32,4 +32,5 @@ export const API_CANTEEN_WAREHOUSEOUT = '/api/canteen/warehouseOut'; // 出库 export const API_CANTEEN_WAREHOUSEOUTLIST = '/api/canteen/warehouseOutList'; // 出库申请列表 export const API_CANTEEN_PURCHASEDETAIL = '/api/canteen/purchaseDetail'; // 采购单详情 export const API_CANTEEN_SUPPLIERLIST = '/api/canteen/supplierList'; // 供应商列表 -export const API_CANTEEN_MATERIALLISTBYWAREHOUSE = '/api/canteen/materialListByWarehouse'; // 仓库物资列表 \ No newline at end of file +export const API_CANTEEN_MATERIALLISTBYWAREHOUSE = '/api/canteen/materialListByWarehouse'; // 仓库物资列表 +export const API_CANTEEN_PURCHASEUPDATE = '/api/canteen/purchaseUpdate'; // 改变采购单状态 \ No newline at end of file diff --git a/pages/canteen/delivery/order.vue b/pages/canteen/delivery/order.vue index 1160bd2..36a837e 100644 --- a/pages/canteen/delivery/order.vue +++ b/pages/canteen/delivery/order.vue @@ -6,7 +6,12 @@ - + 申请人 @@ -39,50 +44,111 @@