From c4c02c1ffdf827112d6b9b936440c777eb51b3c5 Mon Sep 17 00:00:00 2001
From: Teng <461587751@qq.com>
Date: Fri, 21 Nov 2025 17:09:58 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=B8=80=E4=B8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/Warehouse/picking.vue | 190 +++++++++++--------
pages/procurement/components/tanchuang.vue | 119 ++++++++++++
pages/procurement/purchaseorder.vue | 81 ++++----
unpackage/dist/dev/.nvue/pages/camera.js | 2 +-
unpackage/dist/dev/.nvue/pages/fullcamera.js | 2 +-
5 files changed, 275 insertions(+), 119 deletions(-)
create mode 100644 pages/procurement/components/tanchuang.vue
diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue
index 799facc..50a1701 100644
--- a/pages/Warehouse/picking.vue
+++ b/pages/Warehouse/picking.vue
@@ -126,7 +126,7 @@
物料信息
-
+
¥{{showvalue.totalPrice}}
@@ -480,7 +480,7 @@
placeholder="采购单号/采购日期/供应商" @confirm="search()" />
-
+
检索
@@ -640,7 +640,7 @@
+ @click="donghuastart(0)">
@@ -648,7 +648,7 @@
+ @click="donghuastart(1)">
@@ -675,7 +675,7 @@
{{v.status_dictText}}
@@ -695,18 +695,17 @@
- {{v.arrivalPrice?Number(v.arrivalPrice).toFixed(2):Number(v.procurementPrice).toFixed(2) }}
+ :style="{fontWeight:middletarget !== i?`600`:``,color:middletarget !== i?`#333333`:`#888888`}">
+ {{v.arrivalPrice?Number(v.arrivalPrice).toFixed(2):Number(v.procurementPrice).toFixed(2) }}
+ :style="{fontWeight:middletarget === i?`600`:``,color:middletarget === i?`#333333`:`#888888`}">
{{ v.purchaseQuantity }}
-
+
{{ v.wlUnits}}
@@ -714,7 +713,7 @@
-
+
@@ -785,15 +784,8 @@
改价
-
+
拣货
@@ -828,7 +820,9 @@
style="position: absolute;top: 8rpx;left: -35rpx;font-weight: 300;font-size: 28rpx;">
¥
- {{Number(showvalue.totalPrice).toFixed(2) }}
+
+ {{Number(showvalue.totalPrice).toFixed(2) }}
+
@@ -939,7 +933,7 @@
-
+
{{showvalue.wlName}}
@@ -947,7 +941,7 @@
采购数量:
-
+
{{showvalue.purchaseQuantity}}
{{showvalue.wlUnits}}
@@ -962,10 +956,10 @@
style="width: 100%;justify-content: space-between;display: flex;align-items: center;height: 60rpx;margin-top: 20rpx;">
拣货数量:
-
+
{{item.crkNum}}
-
+
{{showvalue.materialUnits}}
@@ -979,14 +973,14 @@
采购单价:
-
+
¥{{Number(item.oldPrice).toFixed(2)}}
拣货人:
-
+
{{item.createBy}}
@@ -995,7 +989,7 @@
到货单价:
-
+
¥{{Number(item.newPrice).toFixed(2)}}
@@ -1071,7 +1065,7 @@
-
+
+
@@ -1101,13 +1096,14 @@
import superpicker from '@/component/public/superpicker.vue'
import equiment from './components/equiment.vue';
import nomessageimge from '@/pages/procurement/components/nomessage.vue';
-
+ import tanchuang from '@/pages/procurement/components/tanchuang.vue';
+
const open = ref(0);
const typechange = ref(0);
const stringjh = ref("")
const serverUrl = ref("");
const opengaijia = ref(false);
- const guiling = ref(false);
+ const guiling = ref(false);
const openjianhuo = ref(false);
const opendata = ref(false);
const gaijia = ref("");
@@ -1122,7 +1118,7 @@
if (res.code == 200) {
showvalue.value.arrivalPrice = gaijia.value;
// console.log("000",Number(gaijia.value),Number(showvalue.value.purchaseQuantity))
- showvalue.value.totalPrice = Number(gaijia.value) * Number(showvalue.value.purchaseQuantity) ;
+ showvalue.value.totalPrice = Number(gaijia.value) * Number(showvalue.value.purchaseQuantity);
plsbuy.value[lefttarget.value].totalPrice = res.result.totalPrice
// showvalue.value.arrivalPrice
// plsbuy.value[lefttarget.value].totalPrice = gaijia.value
@@ -1132,12 +1128,12 @@
}
// 计算器
function press(k : string) {
-
- if(guiling.value){
+
+ if (guiling.value) {
gaijia.value = '';
guiling.value = false
}
-
+
if (k === 'AC') {
gaijia.value = ''
return
@@ -1400,7 +1396,7 @@
queryCgdList(plzinfo).then((res : any) => {
plsbuy.value.push(...res.result.records)
alltotal.value = res.result.total
- if(!res.result.total){
+ if (!res.result.total) {
// console.log("没数据了!!!")
nomessageshow.value = true;
}
@@ -1471,8 +1467,8 @@
wlUpperLimit: "",
wlLowerLimit: "",
suppliersName: "",
- jianhuobtn:false,
-
+ jianhuobtn: false,
+
})
const goback = () => {
@@ -1635,7 +1631,7 @@
Object.assign(plzinfo, mobanplzinfo)
Object.assign(form, mobanform)
firstgetqueryCgdList();
- }else{
+ } else {
uni.showToast({
title: res.message,
icon: 'none',
@@ -2014,12 +2010,6 @@
if (timer) clearInterval(timer);
});
const jiansuotarget = ref(false);
- const getdonghua = () => {
- jiansuotarget.value = true;
- setTimeout(()=>{
- jiansuotarget.value = false;
- },200)
- }
\ No newline at end of file
diff --git a/pages/procurement/components/tanchuang.vue b/pages/procurement/components/tanchuang.vue
new file mode 100644
index 0000000..9fadbe5
--- /dev/null
+++ b/pages/procurement/components/tanchuang.vue
@@ -0,0 +1,119 @@
+
+
+
+ 温馨提示
+
+
+
+ {{ font }}
+
+ 取消
+ 确定
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/procurement/purchaseorder.vue b/pages/procurement/purchaseorder.vue
index faf7d33..607ab58 100644
--- a/pages/procurement/purchaseorder.vue
+++ b/pages/procurement/purchaseorder.vue
@@ -7,7 +7,7 @@
placeholder="采购单号/采购日期/供应商" @confirm="search()" />
-
@@ -27,7 +27,7 @@
+ v-if="v.izNew=='Y'">
{{ v.cgdNo }}
@@ -187,7 +187,7 @@
物料详情
+
+
+
+
@@ -238,7 +243,10 @@
style="position: absolute;top: 8rpx;left: -35rpx;font-weight: 300;font-size: 28rpx;">
¥
- {{ (showvalue?.procurementPrice * showvalue?.purchaseQuantity).toFixed(2) }}
+
+ {{Number(showvalue.totalPrice).toFixed(2) }}
+
+
@@ -400,7 +408,7 @@
-
+
+
+
+
\ No newline at end of file
diff --git a/unpackage/dist/dev/.nvue/pages/camera.js b/unpackage/dist/dev/.nvue/pages/camera.js
index 04100f2..12310ff 100644
--- a/unpackage/dist/dev/.nvue/pages/camera.js
+++ b/unpackage/dist/dev/.nvue/pages/camera.js
@@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
)
]);
}
-const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]);
+const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]);
export {
camera as default
};
diff --git a/unpackage/dist/dev/.nvue/pages/fullcamera.js b/unpackage/dist/dev/.nvue/pages/fullcamera.js
index c959abe..dd59bdc 100644
--- a/unpackage/dist/dev/.nvue/pages/fullcamera.js
+++ b/unpackage/dist/dev/.nvue/pages/fullcamera.js
@@ -577,7 +577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
)
]);
}
-const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]);
+const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]);
export {
fullcamera as default
};