Browse Source

修复司机图片缓存问题

xiaochengxu
qb 1 year ago
parent
commit
5388e56602
  1. 2
      compoment/PopUp/PopUp.vue
  2. 2
      compoment/tiplist/tiplist.vue
  3. 4
      pages/index/index.vue
  4. 1
      pagesHome/pages/CustomerSign/CustomerSign.vue
  5. 10
      unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.js
  6. 2
      unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.wxml
  7. 2
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  8. 1
      unpackage/dist/dev/mp-weixin/pagesHome/pages/CustomerSign/CustomerSign.js
  9. 7
      unpackage/dist/dev/mp-weixin/project.config.json

2
compoment/PopUp/PopUp.vue

@ -1,6 +1,6 @@
<template>
<!-- 弹窗组件 -->
<view class="popUpMask" @click="details.close" v-if="showPopUp">
<view class="popUpMask" @touchmove.prevent.stop @click="details.close" v-if="showPopUp">
<view class="container" @click.stop :style="{height:details.height}">
<scroll-view class="scoolv" scroll-y="true">
<view class="title">

2
compoment/tiplist/tiplist.vue

@ -1,5 +1,5 @@
<template>
<view class="maboxbg" v-if="isshow" @click="checkbox(0)">
<view class="maboxbg" v-if="isshow" @touchmove.prevent.stop @click="checkbox(0)">
<view class="modtips" @click.stop.prevent>
<view class="title">
{{title||'提示'}}

4
pages/index/index.vue

@ -335,12 +335,12 @@
// #endif
init()
initbuts()
// print()
})
onLoad(() => {
initbuts()
// initbuts()
})
//

1
pagesHome/pages/CustomerSign/CustomerSign.vue

@ -254,6 +254,7 @@
details.isChange = true
imglis = res.data.deliverySignPictures
details.imgList.forEach((item, index) => {
item.imgList = []
if (!imglis[item.dictKey]) return
details.imgList[index].imgList = imglis[item.dictKey]
})

10
unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.js vendored

@ -386,12 +386,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
aj: common_vendor.o(($event) => checkbox(2)),
ak: common_vendor.o(() => {
}),
al: common_vendor.o(($event) => checkbox(0))
al: common_vendor.o(() => {
}),
am: common_vendor.o(($event) => checkbox(0))
}) : {}, {
am: common_vendor.unref(showPreviewPicture)
an: common_vendor.unref(showPreviewPicture)
}, common_vendor.unref(showPreviewPicture) ? {
an: common_vendor.unref(details).previewPictureUrl,
ao: common_vendor.o(($event) => handleShowImage())
ao: common_vendor.unref(details).previewPictureUrl,
ap: common_vendor.o(($event) => handleShowImage())
} : {});
};
}

2
unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.wxml vendored

@ -1 +1 @@
<view wx:if="{{a}}" class="maboxbg" bindtap="{{al}}"><view class="modtips" catchtap="{{ak}}"><view class="title">{{b}}</view><block wx:if="{{c}}"><view class="inputbx"><input placeholder="{{d}}" value="{{e}}" bindinput="{{f}}"/></view></block><block wx:elif="{{g}}"><view wx:if="{{h}}" class="selviebx"><view wx:if="{{i}}" bindtap="{{j}}">全选</view><view wx:else bindtap="{{k}}">全不选</view></view><view class="listcheck"><view wx:for="{{l}}" wx:for-item="item" bindtap="{{item.c}}"><image src="{{item.a}}"></image><view>{{item.b}}</view></view></view></block><block wx:elif="{{m}}"><scroll-view scroll-y="true" class="scvboxs"><view wx:for="{{n}}" wx:for-item="item" wx:key="h"><view style="display:flex;justify-content:space-between;align-items:center"><text class="{{['tpstitl', item.b && 'start', item.c && 'showTitle']}}">{{item.a}}</text><block wx:if="{{item.d}}"><text bindtap="{{item.e}}" class="showImageBtn">预览模版</text></block></view><view class="imgbx"><view wx:for="{{item.f}}" wx:for-item="value"><image src="{{value.a}}" bindtap="{{value.b}}"></image><image bindtap="{{value.c}}" src="{{o}}"></image></view><view wx:if="{{p}}" bindtap="{{item.g}}"><image src="/static/add.png"></image></view></view></view></scroll-view><view class="inputbx"><input placeholder="{{q}}" value="{{r}}" bindinput="{{s}}"/></view></block><block wx:elif="{{t}}"><scroll-view scroll-y="true" class="scvboxs"><view wx:for="{{v}}" wx:for-item="item" class="inpNumList" bindtap="{{item.j}}"><view class="inpNum-title"> 物料名称: {{item.a}}</view><view class="inpNum-title"> 物料总数: {{item.b}}</view><view class="inpNum-value"><view class=""> 物料数量:  </view><input wx:if="{{item.c}}" class="inpNum" placeholder="{{item.d}}" disabled="{{item.e}}" type="number" bindinput="{{item.f}}" value="{{item.g}}"/><text wx:elif="{{item.h}}" style="flex:1">{{item.i}}</text></view></view></scroll-view></block><block wx:elif="{{w}}"><scroll-view scroll-y="true" class="scvboxs"><block wx:if="{{x}}"><view class="inputbx"><input placeholder="请输入合同号" value="{{y}}" bindinput="{{z}}"/></view><view class="inputbx"><input placeholder="请输入或扫描包条码" value="{{A}}" bindinput="{{B}}"/></view></block><block wx:if="{{C}}"><view class="inputbx"><input placeholder="请输入订单号" value="{{D}}" bindinput="{{E}}"/></view><view class="inputbx"><input placeholder="请输入或扫描包条码" value="{{F}}" bindinput="{{G}}"/></view></block><block wx:if="{{H}}"><view class="inputbx"><input placeholder="请输入合同号" value="{{I}}" bindinput="{{J}}"/></view><view class="inputbx"><input placeholder="请输入批次号" value="{{K}}" bindinput="{{L}}"/></view><view class="inputbx"><input bindinput="{{M}}" placeholder="请输入物料编码或物料名称" value="{{N}}"/><view class="select_content"><block wx:if="{{O}}"><view wx:for="{{P}}" wx:for-item="val" wx:key="c" bindtap="{{val.b}}">{{val.a}}</view></block></view></view><view class="inputbx" bindtouchstart="{{V}}"><input placeholder="请选择商城" disabled="true" value="{{Q}}" bindinput="{{R}}"/><block wx:if="{{S}}"><view class="{{['select_content', U && 'show']}}"><view wx:for="{{T}}" wx:for-item="val" wx:key="b" bindtap="{{val.c}}">{{val.a}}</view></view></block></view><view class="inputbx"><input placeholder="请输入在库数量" value="{{W}}" bindinput="{{X}}"/></view></block></scroll-view></block><block wx:elif="{{Y}}"><scroll-view scroll-y="true" class="scvboxs"><view wx:if="{{Z}}" class="selviebx"><view wx:if="{{aa}}" bindtap="{{ab}}">全选</view><view wx:else bindtap="{{ac}}">反选</view></view><view class="listcheck"><view><image src="/static/check1.png"></image><view style="width:60px">在库</view> {{ad}}</view><view wx:for="{{ae}}" wx:for-item="item"><image bindtap="{{item.a}}" style="flex:none" src="{{item.b}}"></image><view style="flex:none;width:60px">{{item.c}}</view><input type="number" style="border:1px solid #000" bindinput="{{item.d}}" disabled="{{item.e}}" value="{{item.f}}"/></view></view></scroll-view></block><view class="buts"><view wx:if="{{af}}" bindtap="{{ah}}" class="cancel">{{ag}}</view><view bindtap="{{aj}}" class="confirm">{{ai}}</view></view></view></view><view wx:if="{{am}}" class="previewPicture-container" catchtap="{{ao}}"><image src="{{an}}" class="previewPicture" alt=""></image></view>
<view wx:if="{{a}}" class="maboxbg" catchtouchmove="{{al}}" bindtap="{{am}}"><view class="modtips" catchtap="{{ak}}"><view class="title">{{b}}</view><block wx:if="{{c}}"><view class="inputbx"><input placeholder="{{d}}" value="{{e}}" bindinput="{{f}}"/></view></block><block wx:elif="{{g}}"><view wx:if="{{h}}" class="selviebx"><view wx:if="{{i}}" bindtap="{{j}}">全选</view><view wx:else bindtap="{{k}}">全不选</view></view><view class="listcheck"><view wx:for="{{l}}" wx:for-item="item" bindtap="{{item.c}}"><image src="{{item.a}}"></image><view>{{item.b}}</view></view></view></block><block wx:elif="{{m}}"><scroll-view scroll-y="true" class="scvboxs"><view wx:for="{{n}}" wx:for-item="item" wx:key="h"><view style="display:flex;justify-content:space-between;align-items:center"><text class="{{['tpstitl', item.b && 'start', item.c && 'showTitle']}}">{{item.a}}</text><block wx:if="{{item.d}}"><text bindtap="{{item.e}}" class="showImageBtn">预览模版</text></block></view><view class="imgbx"><view wx:for="{{item.f}}" wx:for-item="value"><image src="{{value.a}}" bindtap="{{value.b}}"></image><image bindtap="{{value.c}}" src="{{o}}"></image></view><view wx:if="{{p}}" bindtap="{{item.g}}"><image src="/static/add.png"></image></view></view></view></scroll-view><view class="inputbx"><input placeholder="{{q}}" value="{{r}}" bindinput="{{s}}"/></view></block><block wx:elif="{{t}}"><scroll-view scroll-y="true" class="scvboxs"><view wx:for="{{v}}" wx:for-item="item" class="inpNumList" bindtap="{{item.j}}"><view class="inpNum-title"> 物料名称: {{item.a}}</view><view class="inpNum-title"> 物料总数: {{item.b}}</view><view class="inpNum-value"><view class=""> 物料数量:  </view><input wx:if="{{item.c}}" class="inpNum" placeholder="{{item.d}}" disabled="{{item.e}}" type="number" bindinput="{{item.f}}" value="{{item.g}}"/><text wx:elif="{{item.h}}" style="flex:1">{{item.i}}</text></view></view></scroll-view></block><block wx:elif="{{w}}"><scroll-view scroll-y="true" class="scvboxs"><block wx:if="{{x}}"><view class="inputbx"><input placeholder="请输入合同号" value="{{y}}" bindinput="{{z}}"/></view><view class="inputbx"><input placeholder="请输入或扫描包条码" value="{{A}}" bindinput="{{B}}"/></view></block><block wx:if="{{C}}"><view class="inputbx"><input placeholder="请输入订单号" value="{{D}}" bindinput="{{E}}"/></view><view class="inputbx"><input placeholder="请输入或扫描包条码" value="{{F}}" bindinput="{{G}}"/></view></block><block wx:if="{{H}}"><view class="inputbx"><input placeholder="请输入合同号" value="{{I}}" bindinput="{{J}}"/></view><view class="inputbx"><input placeholder="请输入批次号" value="{{K}}" bindinput="{{L}}"/></view><view class="inputbx"><input bindinput="{{M}}" placeholder="请输入物料编码或物料名称" value="{{N}}"/><view class="select_content"><block wx:if="{{O}}"><view wx:for="{{P}}" wx:for-item="val" wx:key="c" bindtap="{{val.b}}">{{val.a}}</view></block></view></view><view class="inputbx" bindtouchstart="{{V}}"><input placeholder="请选择商城" disabled="true" value="{{Q}}" bindinput="{{R}}"/><block wx:if="{{S}}"><view class="{{['select_content', U && 'show']}}"><view wx:for="{{T}}" wx:for-item="val" wx:key="b" bindtap="{{val.c}}">{{val.a}}</view></view></block></view><view class="inputbx"><input placeholder="请输入在库数量" value="{{W}}" bindinput="{{X}}"/></view></block></scroll-view></block><block wx:elif="{{Y}}"><scroll-view scroll-y="true" class="scvboxs"><view wx:if="{{Z}}" class="selviebx"><view wx:if="{{aa}}" bindtap="{{ab}}">全选</view><view wx:else bindtap="{{ac}}">反选</view></view><view class="listcheck"><view><image src="/static/check1.png"></image><view style="width:60px">在库</view> {{ad}}</view><view wx:for="{{ae}}" wx:for-item="item"><image bindtap="{{item.a}}" style="flex:none" src="{{item.b}}"></image><view style="flex:none;width:60px">{{item.c}}</view><input type="number" style="border:1px solid #000" bindinput="{{item.d}}" disabled="{{item.e}}" value="{{item.f}}"/></view></view></scroll-view></block><view class="buts"><view wx:if="{{af}}" bindtap="{{ah}}" class="cancel">{{ag}}</view><view bindtap="{{aj}}" class="confirm">{{ai}}</view></view></view></view><view wx:if="{{an}}" class="previewPicture-container" catchtap="{{ap}}"><image src="{{ao}}" class="previewPicture" alt=""></image></view>

2
unpackage/dist/dev/mp-weixin/pages/index/index.js vendored

@ -196,9 +196,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
common_vendor.onShow(() => {
init();
initbuts();
});
common_vendor.onLoad(() => {
initbuts();
});
common_vendor.onPullDownRefresh(() => {
const timer = setTimeout(() => {

1
unpackage/dist/dev/mp-weixin/pagesHome/pages/CustomerSign/CustomerSign.js vendored

@ -141,6 +141,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
details.isChange = true;
imglis = res.data.deliverySignPictures;
details.imgList.forEach((item2, index) => {
item2.imgList = [];
if (!imglis[item2.dictKey])
return;
details.imgList[index].imgList = imglis[item2.dictKey];

7
unpackage/dist/dev/mp-weixin/project.config.json vendored

@ -6,7 +6,7 @@
},
"setting": {
"urlCheck": false,
"es6": false,
"es6": true,
"postcss": false,
"minified": true,
"newFeature": true,
@ -17,11 +17,12 @@
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"enhance": true
},
"compileType": "miniprogram",
"libVersion": "3.1.2",
"appid": "wxedb0d10ea46a0113",
"appid": "wx35c7fb77840097de",
"projectname": "货无忧",
"condition": {
"search": {

Loading…
Cancel
Save