diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue
index 9f9fffd..c45d216 100644
--- a/pages/Warehouse/picking.vue
+++ b/pages/Warehouse/picking.vue
@@ -610,26 +610,21 @@
-
+
-
-
- {{ tagsArray[i] }}
+
+ {{v.status_dictText}}
-
-
+
+
- {{ i == 0 ? '留置针敷贴(医用…)'
- : i == 1 ? '纸尿裤-拉拉裤'
- : i == 2 ? '纸尿裤'
- : '纸尿裤'
- }}
-
+ {{ v.wlName }}
@@ -638,30 +633,26 @@
- {{ i==0 ? '15.30'
- : i==1 ? '86.16'
- : i==2 ? '189.55'
- : '46.80'
- }}
+ :style="{fontWeight:Number(v.arrivalPrice)>0||Number(v.procurementPrice)>0 ?`600`:``}">
+ {{v.arrivalPrice?v.arrivalPrice:v.procurementPrice }}
- 20
+ {{ v.purchaseQuantity }}
- 片
+ {{ v.wlUnits}}
- 800mm*680mm
+ {{v.wlSpecificationModel}}
@@ -670,8 +661,8 @@
-
- {{ i==0 ? 0 : i==1 ? 10 : i==2 ? 5 : 5 }}
+
+ {{v.rksl}}
@@ -683,8 +674,8 @@
-
- {{ i==0 ? 0 : i==1 ? 0 : i==2 ? 0 : 5 }}
+
+ {{v.wrksl}}
@@ -696,8 +687,8 @@
-
- {{ i==0 ? 0 : i==1 ? 0 : i==2 ? 5 : 0 }}
+
+ {{v.xzsl}}
@@ -742,28 +733,20 @@
-
+ mode="aspectFill">
-
-
- 耗材用品
-
-
- 复健用品
-
-
- 支架
-
-
+ {{showvalue.categoryId_dictText}}
+ {{showvalue.typeId_dictText}}
+ {{showvalue.medicationId_dictText}}
- 纸尿裤-拉拉裤纸尿裤
+ {{showvalue.wlName}}
- ZHYP044
+ {{showvalue.wlMaterialNo}}
@@ -788,7 +771,7 @@
规格型号
- 800mm*680mm
+ {{showvalue.wlSpecificationModel}}
@@ -800,7 +783,7 @@
采购单价
- ¥15
+ ¥{{showvalue.arrivalPrice?showvalue.arrivalPrice:showvalue.procurementPrice}}
@@ -808,7 +791,7 @@
采购数量
- 200
+ {{showvalue.purchaseQuantity}}
@@ -816,7 +799,7 @@
采购单位
- 片
+ {{showvalue.wlUnits}}
@@ -828,7 +811,7 @@
库存数量
- 853
+ {{showvalue.kcsl}}
@@ -836,7 +819,7 @@
物料上限 ↑
- 4000
+ {{showvalue.wlUpperLimit}}
@@ -844,7 +827,7 @@
物料下限 ↓
- 60
+ {{showvalue.wlLowerLimit}}
@@ -856,7 +839,7 @@
入库数量
- 0
+ {{showvalue.rksl}}
@@ -864,7 +847,7 @@
挂账数量
- 0
+ {{showvalue.wrksl}}
@@ -872,7 +855,7 @@
销账数量
- 0
+ {{showvalue.xzsl}}
@@ -1202,7 +1185,7 @@
const form = reactive({
nuId: '',
pageNo: 1,
- pageSize: 9,
+ pageSize: -1,
categoryId: '',
typeId: '',
medicationId: '',
@@ -1222,7 +1205,7 @@
cgdId: "",
isWaring: 0
}
- const tagsArray = [`待入库`, `已入库`, `已销账`, `挂账中`]
+ const tagsArray = [`待入库`,`挂账中`, `已入库`, `已销账`, ]
const clickmiddle = (index : number) => {
middletarget.value = index;
showvalue.value = InvoicingList.value[index];
@@ -1236,24 +1219,12 @@
// InvoicingList.value.push(...res.result.records);
// }
+ console.log(res.result.records)
InvoicingList.value.push(...res.result.records);
clickmiddle(0);
})
}
- const getmore = () => {
- if (form.canpull) {
- form.pageNo++
- queryCgdInfoList(form).then(res => {
- InvoicingList.value.push(...res.result.records);
- if (res.result.records.length != 10) {
- form.canpull = false
- }
- console.log("??????", res.result.records)
- })
- }
-
- }
const search = () => {
// if (!plzinfo.cgdParamInfo) return
plzinfo.pageNo = 1;
@@ -2078,6 +2049,7 @@
width: 250rpx;
height: 250rpx;
margin-left: 50rpx;
+ margin-top: 2vw;
}
.left-tags {
diff --git a/pages/Warehouse/procurecart.vue b/pages/Warehouse/procurecart.vue
index c93dff2..44f9b14 100644
--- a/pages/Warehouse/procurecart.vue
+++ b/pages/Warehouse/procurecart.vue
@@ -316,7 +316,7 @@
const form = reactive({
nuId: '',
pageNo: 1,
- pageSize: 13,
+ pageSize: -1,
categoryId: '',
typeId: '',
medicationId: '',
diff --git a/pages/procurement/api/lunpan.js b/pages/procurement/api/lunpan.js
index dfa5d58..3eeae90 100644
--- a/pages/procurement/api/lunpan.js
+++ b/pages/procurement/api/lunpan.js
@@ -180,4 +180,12 @@ export const getTreeDataWlnum = (params) => {
method: 'get',
data: params,
})
- }
\ No newline at end of file
+ }
+ //(业务)获取物料分类树可采购的物料数量(采购单列表使用)
+ export const getCgdTreeDataWlnum = (params) => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/getCgdTreeDataWlnum`,
+ method: 'get',
+ data: params,
+ })
+ }
diff --git a/pages/procurement/components/cgdclass.vue b/pages/procurement/components/cgdclass.vue
new file mode 100644
index 0000000..9eff90a
--- /dev/null
+++ b/pages/procurement/components/cgdclass.vue
@@ -0,0 +1,453 @@
+
+
+
+ 物料分类
+
+ {{v+'级分类'}}
+
+
+
+
+
+
+
+
+ {{v.title}}
+
+
+
+
+
+
+ {{v.title}}
+
+
+
+
+ {{v.title}}
+
+
+
+
+
+ 重置
+ 确定 ({{num>99?'99+':num}}件物料)
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/procurement/components/classification.vue b/pages/procurement/components/classification.vue
index 82d6dbd..4681e0d 100644
--- a/pages/procurement/components/classification.vue
+++ b/pages/procurement/components/classification.vue
@@ -64,7 +64,7 @@