diff --git a/pages/NursingNew/component/index.vue b/pages/NursingNew/component/index.vue
index 64b2187..9fe2b7e 100644
--- a/pages/NursingNew/component/index.vue
+++ b/pages/NursingNew/component/index.vue
@@ -112,17 +112,18 @@
即时服务指令
- {{v.instructionName}}
+
+ {{v.instructionName}}
+
-
+
{{v.obj.mainName}}
-
+
( {{v.obj.subName}} )
@@ -182,9 +183,9 @@
护理单元
-
+
+ v-for="(item,index) in leftMenuArray" :key="index" @click="clickmenu(index)">
@@ -205,7 +206,7 @@
-
+
库房
@@ -231,15 +232,16 @@
-
-
+
+
-
+
+
长者标签
@@ -320,17 +322,23 @@
\ No newline at end of file
diff --git a/pages/material/component/inventory.vue b/pages/material/component/inventory.vue
index 30d9b42..a3c496c 100644
--- a/pages/material/component/inventory.vue
+++ b/pages/material/component/inventory.vue
@@ -4,7 +4,7 @@
- {{ ((Number( pandiannumber|| 0) - Number(cardvalue.kcsl || 0)).toFixed(2)) }}
+ {{ diffInfo.text }}
差额
@@ -31,7 +31,8 @@
- {{ cardvalue.materialName }}{{ cardvalue.materialNo }}
+ {{ cardvalue.materialName }}{{ cardvalue.materialNo }}
规格型号: {{ cardvalue.specificationModel }}
@@ -53,21 +54,22 @@
-
+
+
-
+
备注
- 1
+ 1
-
+
拍照
- {{ saveimagearray.length }}
+ {{ saveimagearray.length }}
同步
@@ -85,7 +87,8 @@
-
+
{{pddType=='1'?'取消':'关闭'}}
@@ -94,9 +97,10 @@
拍照:
-
+
-
+
@@ -133,8 +137,8 @@
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
import torytor from './torytor.vue'
import { savePddInfo } from '../api/api.js'
-
-
+
+
const transition = ref(false)
const bz = ref(false)
const pz = ref(false)
@@ -161,6 +165,23 @@
}
}
)
+ const diffInfo = computed(() => {
+ const diff = Number(pandiannumber.value || 0) - Number(props.cardvalue.kcsl || 0)
+
+ if (!Number.isFinite(diff) || diff === 0) {
+ return {
+ text: '--',
+ color: 'black',
+ type:0
+ }
+ }
+
+ return {
+ text: diff.toFixed(2),
+ color: diff > 0 ? '#0385FA' : '#FF5757',
+ type: diff > 0 ? 1 : 2
+ }
+ })
const open = ref(0)
const scrolltop = ref(0)
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
@@ -215,14 +236,14 @@
const scroll = (e) => {
top.value = e.detail.scrollTop;
}
-
+
const inputValue = ref({
- pandiannumber:0,
-
+ pandiannumber: 0,
+
})
-
+
const pandiannumber = ref(0)
- const pddjjnum = (e:number) => {
+ const pddjjnum = (e : number) => {
// let ce = 0;
// props.pddlist[i].pdsl = e;
// ce = e - props.pddlist[i].dqkcsl;
@@ -234,7 +255,7 @@
const config = () => {
// console.log("点击成功了吗?")
- if ( (Number(props.cardvalue.kcsl || 0) - Number(pandiannumber.value || 0)) && (relcontent.value == '' || relcontent.value == null)) {
+ if ((Number(props.cardvalue.kcsl || 0) - Number(pandiannumber.value || 0)) && (relcontent.value == '' || relcontent.value == null)) {
uni.showToast({
icon: 'error',
title: "请填写备注!"
@@ -242,22 +263,22 @@
return
}
const diff = Number((Number(pandiannumber.value || 0) - Number(props.cardvalue.kcsl || 0)).toFixed(2))
-
+
let inputValue = {
- nuId:uni.getStorageSync('nuId'),
- id:props.cardvalue.id,
- ckId:props.cardvalue.id,
- pdsl:pandiannumber.value,
+ nuId: uni.getStorageSync('nuId'),
+ id: props.cardvalue.id,
+ ckId: props.cardvalue.id,
+ pdsl: pandiannumber.value,
pdType: diff > 0 ? 1 : diff < 0 ? 2 : 0,
- cesl:diff,
- content:relcontent.value,
- picPath:saveimagearray.value.toString()
+ cesl: diff,
+ content: relcontent.value,
+ picPath: saveimagearray.value.toString()
}
-
+
// console.log("看看入参",inputValue)
- savePddInfo(inputValue).then((res:any)=>{
+ savePddInfo(inputValue).then((res : any) => {
// console.log("看看有啥吧",res.success)
- if(res.success){
+ if (res.success) {
emit('finishit')
}
})
@@ -289,6 +310,7 @@
}
});
}
+ const scrollTop = ref(0)
const sxdupld = (e) => {
let now = new Date();
let year = now.getFullYear();
@@ -305,23 +327,23 @@
},
success: res => {
const data = JSON.parse(res.data);
- // console.log("data",data)
saveimagearray.value.push(data.message)
- // console.log(`111111111111`,saveimagearray.value)
- // v.picPatharr.push(data.message);
- // shuzhi(v)
+ scrollTop.value = 999998
+ nextTick(() => {
+ scrollTop.value = 999999 // 直接给一个很大的值
+ })
},
fail: () => {
uni.showToast({ title: '上传失败', icon: 'none' })
}
})
}
-
+
const saveimagearray = ref([])
-
+
const previewImage = (arr, p, i) => {
let u = []
- arr.picPatharr.forEach(e => {
+ arr.forEach(e => {
u.push(serverUrl.value + e)
})
uni.previewImage({
@@ -341,8 +363,8 @@
// }
const picv = ref({});
const pici = ref(0);
- const del = (index:number) => {
- saveimagearray.value.splice(index,1)
+ const del = (index : number) => {
+ saveimagearray.value.splice(index, 1)
}
// const del1 = () => {
// picv.value.picPatharr.splice(pici.value, 1);
@@ -395,20 +417,19 @@
const pushnumber = ref(0);
const content = ref("");
const relcontent = ref("")
-
+
const samecopy = () => {
pushnumber.value = -13.33;
- nextTick(()=>{
- pushnumber.value = Number(props.cardvalue.kcsl)
+ nextTick(() => {
+ pushnumber.value = Number(props.cardvalue.kcsl)
})
}
-
+
+ .beblue {
+ color: #0385FA;
+ }
+
\ No newline at end of file
diff --git a/pages/material/component/torytor.vue b/pages/material/component/torytor.vue
index 400a228..e53ba05 100644
--- a/pages/material/component/torytor.vue
+++ b/pages/material/component/torytor.vue
@@ -294,7 +294,7 @@
margin-right: 1vw;
.calculator-father {
- width: 23vw;
+ width: 20vw;
height: 90%;
margin: 0 auto 0;
flex-wrap: wrap;
diff --git a/pages/procure/procure.vue b/pages/procure/procure.vue
index 9a2d9b7..931e604 100644
--- a/pages/procure/procure.vue
+++ b/pages/procure/procure.vue
@@ -71,7 +71,7 @@
- 2222.2222.22
+ {{ v.createTime?.slice(0,10).replace(/-/g, '.') }}
@@ -81,15 +81,14 @@
采购
-
+
[ 梁嘉豪 ]
- 2026.03.03
-
+ {{ v.jhTime?.slice(0,10).replace(/-/g, '.') }}
-
- 2026.03.03
+ {{ v.wjTime?.slice(0,10).replace(/-/g, '.') }}
+
@@ -597,6 +596,10 @@
text-overflow: ellipsis;
white-space: nowrap;
font-size: 25rpx;
+ .notoomuch{
+ width: 30rpx;
+ background-color: red;
+ }
}
}
}
diff --git a/pages/watch/settings/settings.vue b/pages/watch/settings/settings.vue
index 61c6206..e1b51fd 100644
--- a/pages/watch/settings/settings.vue
+++ b/pages/watch/settings/settings.vue
@@ -56,14 +56,14 @@
-
+
-
+
@@ -112,7 +112,7 @@