Browse Source

修改供应商发货记录

wms3.0_pda
lijuncheng 11 months ago
parent
commit
0412113740
  1. 6
      mycomponents/recommend/recommend.vue
  2. 31
      pages.json
  3. 3
      pages/login/index.vue
  4. 6
      pages/setter/index.vue
  5. 6
      pages/supplierDeliver/coms/comRecordDetailCard.vue
  6. 24
      pages/supplierDeliver/record/supplierDeliverRecordDetail.vue
  7. 2
      static/config.json

6
mycomponents/recommend/recommend.vue

@ -13,7 +13,7 @@
<view> <view>
<!-- ||detail.handleQty==0 可能会有扫描到0的情况--> <!-- ||detail.handleQty==0 可能会有扫描到0的情况-->
<recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail" <recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail"
:isShowStdPack="false"></recommend-qty> :isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty>
<compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)" <compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)"
:handleQty="Number(detail.handleQty)" :isShowStdPack="false"> :handleQty="Number(detail.handleQty)" :isShowStdPack="false">
</compare-qty> </compare-qty>
@ -69,6 +69,10 @@
type: Boolean, type: Boolean,
default: false default: false
}, },
isShowStatus: {
type: Boolean,
default: true
},
locationTitle: { locationTitle: {
type: String, type: String,

31
pages.json

@ -14,7 +14,14 @@
"path": "pages/message/index", "path": "pages/message/index",
"style": { "style": {
"navigationBarTitleText": "消息", "navigationBarTitleText": "消息",
"enablePullDownRefresh": true "enablePullDownRefresh": true,
"titleNView": {
// "autoBackButton": "true",
"buttons": [
]
}
} }
}, },
@ -35,17 +42,12 @@
"navigationBarTitleText": "登录", "navigationBarTitleText": "登录",
"titleNView": { "titleNView": {
// "autoBackButton": "true", // "autoBackButton": "true",
// "buttons": [ "buttons": [
// //
// {
// "float": "right",
// "fontSize": "52rpx", //
// "text": "\ue706",
// "fontSrc": "/static/ali_icon/iconfont.ttf"
// }
// ] ]
} }
} }
}, },
{ {
@ -1704,7 +1706,14 @@
"path": "pages/setter/index", "path": "pages/setter/index",
"style": { "style": {
"navigationBarTitleText": "设置", "navigationBarTitleText": "设置",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"titleNView": {
// "autoBackButton": "true",
"buttons": [
]
}
} }
}, },
{ {

3
pages/login/index.vue

@ -67,7 +67,7 @@
style="background-color: lightgray;padding-top: 40rpx;padding-bottom: 40rpx;margin-right: 20rpx;" /> style="background-color: lightgray;padding-top: 40rpx;padding-bottom: 40rpx;margin-right: 20rpx;" />
</view> --> </view> -->
<view class="uni-input-wrapper"> <view class="uni-input-wrapper">
<input class="" style="height: 80rpx; background-color: #EEEEEE;margin-right: 20rpx;" <input class="" style="height: 80rpx; background-color: #F7F9FF;margin-right: 20rpx;"
placeholder="请输入验证码" type="number" v-model="code" /> placeholder="请输入验证码" type="number" v-model="code" />
</view> </view>
<view class="display: flex; align-items: center; text-center"> <view class="display: flex; align-items: center; text-center">
@ -143,6 +143,7 @@
url:"/pages/config/config" url:"/pages/config/config"
}) })
} }
}, },
onLoad() { onLoad() {
getCaptchaImage().then(res => { getCaptchaImage().then(res => {

6
pages/setter/index.vue

@ -20,10 +20,10 @@
thumb="/static/icon_personal_password.png"></uni-list-item> thumb="/static/icon_personal_password.png"></uni-list-item>
<uni-list-item title="" clickable rightText="清除缓存" thumb="/static/icon_personal_name.png" <uni-list-item title="" clickable rightText="清除缓存" thumb="/static/icon_personal_name.png"
@click="clear"></uni-list-item> @click="clear"></uni-list-item>
<uni-list-item title="修改密码" link to="/pages/setter/passwordpage" <uni-list-item rightText="修改密码" link to="/pages/setter/passwordpage"
thumb="/static/icon_personal_password.png"></uni-list-item>
<uni-list-item title="服务器地址"
thumb="/static/icon_personal_password.png"></uni-list-item> thumb="/static/icon_personal_password.png"></uni-list-item>
<!-- <uni-list-item title="服务器地址"
thumb="/static/icon_personal_password.png"></uni-list-item> -->
<!-- <uni-list-item title="参数设置" link to="/pages/setter/setterDetail" <!-- <uni-list-item title="参数设置" link to="/pages/setter/setterDetail"
thumb="/static/icon_personal_setting.png"></uni-list-item> --> thumb="/static/icon_personal_setting.png"></uni-list-item> -->
</uni-list> </uni-list>

6
pages/supplierDeliver/coms/comRecordDetailCard.vue

@ -10,7 +10,11 @@
<uni-swipe-action ref="swipeAction"> <uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="swipeClick($event,item)" <uni-swipe-action-item @click="swipeClick($event,item)"
:right-options="detailOptions"> :right-options="detailOptions">
<recommend :detail="item" :isShowFromLocation="false"></recommend> <recommend :detail="item" :isShowToLocation="true"
:isShowFromLocation="false"
:isShowStatus="false"
:isShowPack="false"
></recommend>
</uni-swipe-action-item> </uni-swipe-action-item>
</uni-swipe-action> </uni-swipe-action>
<u-line color="#D8D8D8"></u-line> <u-line color="#D8D8D8"></u-line>

24
pages/supplierDeliver/record/supplierDeliverRecordDetail.vue

@ -5,20 +5,19 @@
<view class="" <view class=""
style="padding-left: 20rpx;padding-right: 20rpx; padding-top: 10rpx;padding-bottom: 10rpx;"> style="padding-left: 20rpx;padding-right: 20rpx; padding-top: 10rpx;padding-bottom: 10rpx;">
<view class="" style="font-size: 35rpx;"> <view class="" style="font-size: 35rpx;">
发货单号 : 发货单号 :{{dataContent.asnNumber}}
</view> </view>
<view class="" style="font-size: 35rpx;"> <view class="" style="font-size: 35rpx;">
<text>供应商 : </text> 供应商代码 :{{dataContent.supplierCode}}
</view> </view>
</view> </view>
<u-line /> <u-line />
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<comRecordDetailCard :dataContent="item" :index="index" :settingParam="jobContent" <comRecordDetailCard :dataContent="item" :index="index"
@remove="updateData" @updateData="updateData" @openDetail="openDetail"> @remove="updateData" @updateData="updateData" @openDetail="openDetail">
</comRecordDetailCard> </comRecordDetailCard>
</view> </view>
<u-line />
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@ -80,9 +79,8 @@
id: '', id: '',
receiptJob: {}, receiptJob: {},
received: false, received: false,
scanCount: 0, scanCount: 0,
jobContent: {}, // dataContent: {}, //
subList: [], //subList subList: [], //subList
detailSource: [], // detailSource: [], //
locationTypeList: [], locationTypeList: [],
@ -121,7 +119,7 @@
that.showMessage('未获取到详情'); that.showMessage('未获取到详情');
} else { } else {
if (res.data.subList.length > 0) { if (res.data.subList.length > 0) {
that.jobContent = res.data; that.dataContent = res.data;
that.subList = res.data.subList; that.subList = res.data.subList;
that.subList.forEach(res => { that.subList.forEach(res => {
res.packingNumber = res.toPackingNumber res.packingNumber = res.toPackingNumber
@ -181,18 +179,6 @@
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);
}, },
scanLocationCode(location, code) {
this.$refs.comMessage.showQuestionMessage("是否把所有的目标库位都变成默认库位[" + code + "]", res => {
this.toLocationCode = code
this.detailSource.forEach(item => {
item.subList.forEach(detail => {
detail.toLocationCode = code
})
})
})
},
showMessage(message) { showMessage(message) {
setTimeout(r => { setTimeout(r => {
this.$refs.comMessage.showMessage(message, res => { this.$refs.comMessage.showMessage(message, res => {

2
static/config.json

@ -18,7 +18,7 @@
"request_url": { "request_url": {
"name": "request_url", "name": "request_url",
"value": "http://192.168.0.180:12080/admin-api", "value": "http://dev.ccwin-in.com:25100/api/admin-api",
"dev2": "http://192.168.0.157:12080/admin-api", "dev2": "http://192.168.0.157:12080/admin-api",
"chefang": "http://192.168.0.180:12080/admin-api", "chefang": "http://192.168.0.180:12080/admin-api",
"chenxinming": "http://192.168.0.230:12080/admin-api", "chenxinming": "http://192.168.0.230:12080/admin-api",

Loading…
Cancel
Save