This commit is contained in:
wangweidong 2025-11-21 09:26:17 +08:00
commit eef328648c
3 changed files with 48 additions and 9 deletions

View File

@ -116,7 +116,7 @@
lastTap.value = 0 lastTap.value = 0
} else { } else {
setout.value = setTimeout(() => { setout.value = setTimeout(() => {
console.log("点击哪个了", index) // console.log("", index)
if (index === 5) { if (index === 5) {
uni.navigateTo({ uni.navigateTo({
url: "/pages/watch/full" url: "/pages/watch/full"

View File

@ -1107,6 +1107,7 @@
const stringjh = ref("") const stringjh = ref("")
const serverUrl = ref(""); const serverUrl = ref("");
const opengaijia = ref(false); const opengaijia = ref(false);
const guiling = ref(false);
const openjianhuo = ref(false); const openjianhuo = ref(false);
const opendata = ref(false); const opendata = ref(false);
const gaijia = ref(""); const gaijia = ref("");
@ -1126,6 +1127,12 @@
} }
// //
function press(k : string) { function press(k : string) {
if(guiling.value){
gaijia.value = '';
guiling.value = false
}
if (k === 'AC') { if (k === 'AC') {
gaijia.value = '' gaijia.value = ''
return return
@ -1174,6 +1181,7 @@
} }
const opengaijiaclick = () => { const opengaijiaclick = () => {
opengaijia.value = true; opengaijia.value = true;
guiling.value = true
gaijia.value = (showvalue.value.arrivalPrice ? showvalue.value.arrivalPrice : showvalue.value.procurementPrice).toString() gaijia.value = (showvalue.value.arrivalPrice ? showvalue.value.arrivalPrice : showvalue.value.procurementPrice).toString()
donghuaopo.value = false; donghuaopo.value = false;
setTimeout(() => { setTimeout(() => {
@ -1445,7 +1453,21 @@
}) })
} }
const showvalue = ref({ const showvalue = ref({
materialImg: "" materialImg: "",
cgrvalue: "",
gysvalue: "",
wlName: "",
procurementPrice: "",
wlMaterialNo: "",
wlSpecificationModel: "",
purchaseQuantity: "",
wlUnits: "",
kcsl: "",
wlUpperLimit: "",
wlLowerLimit: "",
suppliersName: "",
jianhuobtn:false,
}) })
const goback = () => { const goback = () => {
@ -1476,7 +1498,7 @@
} }
const tagsArray = [`待入库`, `挂账中`, `已入库`, `已销账`,] const tagsArray = [`待入库`, `挂账中`, `已入库`, `已销账`,]
const clickmiddle = (index : number) => { const clickmiddle = (index : number) => {
console.log(showvalue.value) // console.log(showvalue.value)
middletarget.value = index; middletarget.value = index;
showvalue.value = InvoicingList.value[index]; showvalue.value = InvoicingList.value[index];
showvalue.value.jianhuobtn = false; showvalue.value.jianhuobtn = false;
@ -2000,6 +2022,7 @@
height: 95vh; height: 95vh;
width: 30%; width: 30%;
position: relative; position: relative;
z-index: 99;
.left-select-more { .left-select-more {
position: absolute; position: absolute;
@ -3278,7 +3301,7 @@
width: 610rpx; width: 610rpx;
// height: 300rpx; // height: 300rpx;
border-radius: 30rpx; border-radius: 30rpx;
z-index: 999; z-index: 102;
background-color: #fff; background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
padding: 40rpx 30rpx; padding: 40rpx 30rpx;

View File

@ -331,7 +331,7 @@
</view> </view>
</view> </view>
<!-- 没数据了遮罩 --> <!-- 没数据了遮罩 -->
<nomessage cont="暂无数据" :show="nomessageshow" /> <nomessageimge cont="暂无数据" :show="nomessageshow" />
<!-- 分享的弹出层 --> <!-- 分享的弹出层 -->
<view v-show="shareShow" class="popup-share" @click="shareShow=false"> <view v-show="shareShow" class="popup-share" @click="shareShow=false">
<view class="popup-share-content" :style="{ opacity: deletedownisopacity ? 1 : 0 }" @click.stop> <view class="popup-share-content" :style="{ opacity: deletedownisopacity ? 1 : 0 }" @click.stop>
@ -422,12 +422,14 @@
const plzinfo = reactive({ const plzinfo = reactive({
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
canpull: true canpull: true,
cgdParamInfo:""
}) })
const mobanplzinfo = { const mobanplzinfo = {
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
canpull: true canpull: true,
cgdParamInfo:""
} }
const leftscrolltop = ref(0) const leftscrolltop = ref(0)
@ -436,7 +438,7 @@
const firstgetqueryCgdList = () => { const firstgetqueryCgdList = () => {
queryCgdList(plzinfo).then((res : any) => { queryCgdList(plzinfo).then((res : any) => {
plsbuy.value.push(...res.result.records) plsbuy.value.push(...res.result.records)
console.log("zzzz", plsbuy.value) // console.log("zzzz", plsbuy.value)
if (!res.result.total) { if (!res.result.total) {
nomessageshow.value = true; nomessageshow.value = true;
} }
@ -495,7 +497,21 @@
queryInvo(); queryInvo();
} }
const showvalue = ref({ const showvalue = ref({
materialImg: "" materialImg: "",
cgrvalue: "",
gysvalue: "",
wlName: "",
procurementPrice: "",
wlMaterialNo: "",
wlSpecificationModel: "",
purchaseQuantity: "",
wlUnits: "",
kcsl: "",
wlUpperLimit: "",
wlLowerLimit: "",
suppliersName: "",
categoryId_dictText:"",
typeId_dictText:"",
}) })
const goback = () => { const goback = () => {