diff --git a/pages/Warehouse/api/lunpan.js b/pages/Warehouse/api/lunpan.js new file mode 100644 index 0000000..4ac7af6 --- /dev/null +++ b/pages/Warehouse/api/lunpan.js @@ -0,0 +1,35 @@ +// 引入 request 文件 +import request from '@/request/guanli.js' + +// 查询仓库对应物料 +export const queryInvoicingList = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/queryInvoicingList`, + method: 'get', + data: params, + }) +} + + +export const getMaterialTreeData = () => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/getMaterialTreeData`, + method: 'get' + }) +} +export const queryNuInfoByNuId = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/queryNuInfoByNuId`, + method: 'get', + data: params, + }) +} +// 修改库房启用停用 + +export const updateKfstatus = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/updateKfstatus`, + method: 'post', + data: params, + }) +} \ No newline at end of file diff --git a/pages/Warehouse/components/ShadowView.vue b/pages/Warehouse/components/ShadowView.vue new file mode 100644 index 0000000..3cd2ed7 --- /dev/null +++ b/pages/Warehouse/components/ShadowView.vue @@ -0,0 +1,42 @@ + + + + + \ No newline at end of file diff --git a/pages/Warehouse/procurement.vue b/pages/Warehouse/procurement.vue index 772af0c..d27b4f2 100644 --- a/pages/Warehouse/procurement.vue +++ b/pages/Warehouse/procurement.vue @@ -2,33 +2,72 @@ - - - - 纸尿裤-拉拉裤纸尿裤-拉拉裤 - 规格型号: 800mm*680mm - 采购单位: 片 + + + + {{v.materialName}} + 规格型号: {{v.specificationModel}} + 采购单位: {{v.materialUnits}} - - - - - 保洁 + + + + + {{v.tagName}} - + - 500 + {{v.kcsl}} 库存数量 - + + + + - + + 长春市朝阳区久泰开运养老服务有限公司 + + + + + + + {{v.materialName}} + 规格型号: {{v.specificationModel}} + 采购单位: {{v.materialUnits}} + + + + + + {{v.tagName}} + + + + + + {{v.kcsl}} + 库存数量 + + + + + + + + + + + + 长春市朝阳区久泰开运养老服务有限公司 @@ -41,20 +80,20 @@ - {{shyp?'启用':'停用'}} + {{!shyp?'两列':'三列'}} - + - 李树奎 + {{cellobj?.fzr}} - - 50岁 - 13358863266 + + {{cellobj?.fzrTel?cellobj?.fzrTel:'-'}} @@ -67,29 +106,28 @@ - - {{v}} + + {{v.title}} - - {{v}} + + {{v.title}} + :scroll-top="scroll.scrolltop1" class="scroll-Y scrl1"> - - + v-for="(v,i) in TreeData" + @click="typescroll(1,i,v)"> + + - {{v}} + {{v.title}} @@ -99,7 +137,7 @@ - @@ -109,8 +147,11 @@ - - + + + + + 检索 @@ -122,49 +163,227 @@