同步
This commit is contained in:
@@ -3,13 +3,16 @@
|
||||
<nav-bar title="收货确认"></nav-bar>
|
||||
<view class="search-confirm-wrap">
|
||||
<view class="zd-row">
|
||||
<view class="zd-row zd-col-14">
|
||||
<view class="zd-col-14 zd-row jcflexstart">
|
||||
<view class="zd-col-12"><search-box placeholder="请输入查询条件" v-model="val1" /></view>
|
||||
<view class="zd-col-12 select_wraper mgl10">
|
||||
<zxz-uni-data-select placeholder="请选择收货组织信息" v-model="value1" filterable :localdata="range1"></zxz-uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<button class="confirm-button" @tap="toSearch">查询</button>
|
||||
<view class="zd-col-10 zd-row jcflexend">
|
||||
<button class="confirm-button" @tap="toSearch">查询</button>
|
||||
<button class="confirm-button" :disabled="disabled1" @tap="_easOutInBillSync">同步</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row jcflexstart table-title_wraper">收货确认</view>
|
||||
@@ -210,7 +213,7 @@
|
||||
import ScanInput from '@/components/ScanInput.vue'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import GridDetail from '@/components/GridDetail.vue'
|
||||
import {getOrganizationInfo, getWarehouseInfo, receiptPage, receiptBillDetailPage, receiptBillDetailUpdate, receiptBillDetailSetStor, receiptBillConfirm, viewAssignDtl, inWarehouseAssignLocation, updateAssignDtl, addAssignDtl} from '@/utils/getData2.js'
|
||||
import {getOrganizationInfo, getWarehouseInfo, receiptPage, receiptBillDetailPage, receiptBillDetailUpdate, receiptBillDetailSetStor, receiptBillConfirm, viewAssignDtl, inWarehouseAssignLocation, updateAssignDtl, addAssignDtl, easOutInBillSync} from '@/utils/getData2.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
@@ -589,6 +592,20 @@
|
||||
getDetails (type,e) {
|
||||
this.delShow = !this.delShow
|
||||
this.detailObj = {type: type, data:e}
|
||||
},
|
||||
// 同步
|
||||
async _easOutInBillSync () {
|
||||
this.disabled1 = true
|
||||
try {
|
||||
let res = await easOutInBillSync('RECE')
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
this.disabled1 = false
|
||||
} catch (e) {
|
||||
this.disabled1 = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user