Merge branch 'devlop' of http://47.97.1.152:5880/r/pda-master into devlop
| | |
| | | {
|
| | | "path": "pages/rece/other",
|
| | | "style": {
|
| | | "navigationBarTitleText": "其他收货"
|
| | | "navigationBarTitleText": "单据收货"
|
| | | }
|
| | | },
|
| | | {
|
| | |
| | | }
|
| | | },
|
| | | {
|
| | | "path": "pages/listing/matnrPalletising",
|
| | | "style": {
|
| | | "navigationBarTitleText": "物料组盘"
|
| | | }
|
| | | },
|
| | | {
|
| | | "path": "pages/listing/untie",
|
| | | "style": {
|
| | | "navigationBarTitleText": "解绑"
|
| | |
| | | <navigator hover-class='none' url="/pages/rece/other" navigateTo>
|
| | | <view class="cuIcon-taoxiaopu text-blue">
|
| | | </view>
|
| | | <text>其他收货</text>
|
| | | <text>单据收货</text>
|
| | | </navigator>
|
| | | </view>
|
| | |
|
| | |
| | | <text>组盘</text>
|
| | | </navigator>
|
| | | </view>
|
| | | <view class="cu-item">
|
| | | <navigator hover-class='none' url="/pages/listing/matnrPalletising" navigateTo>
|
| | | <view class="cuIcon-cardboard text-blue">
|
| | | </view>
|
| | | <text>物料组盘</text>
|
| | | </navigator>
|
| | | </view>
|
| | |
|
| | | <!-- <view class="cu-item">
|
| | | <navigator hover-class='none' url="/pages/listing/untie" navigateTo>
|
| | |
| | | range: [], |
| | | batch: '',
|
| | | repeatClick: false,
|
| | | isconfirm: false
|
| | | isconfirm: false,
|
| | | batch:''
|
| | | }
|
| | | },
|
| | | computed: {
|
| | |
| | | <!-- <text class='cuIcon-search text-blue' @click="search"></text> -->
|
| | | </view>
|
| | | <view class="cu-form-group" v-show="!isconfirm">
|
| | | <view class="title">物料标签</view>
|
| | | <input placeholder="请扫描物料标签" v-model="barcode"></input>
|
| | | <text class='cuIcon-search text-blue' @click="scrollTo"></text>
|
| | | <view class="title">物料编码</view>
|
| | | <input placeholder="请扫描物料编码" v-model="barcode"></input>
|
| | | <text class='cuIcon-close text-gray margin-right-xs' v-show="barcode!==''" @click="clearBarcode"></text>
|
| | | <text class='cuIcon-search text-blue' @click="search"></text>
|
| | | </view>
|
| | |
|
| | | </form>
|
| | |
| | | {{index+1}}
|
| | | </view>
|
| | | <view class="text-blue">
|
| | | {{`${item.maktx}`}}
|
| | | 编码:
|
| | | {{`${item.matnr}`}}
|
| | | </view>
|
| | | </view>
|
| | | <view class="action" v-if="!isconfirm">
|
| | |
| | | <view class="cu-item">
|
| | | <view class="content">
|
| | | <text class="text-black">ASN:</text>
|
| | | <text class="text-grey ">{{item.asnCode}}</text>
|
| | | </view>
|
| | | <view class="action">
|
| | | <text class="text-grey ">{{item.asnCode}}</text>
|
| | | |
| | | </view>
|
| | | </view>
|
| | | <view class="cu-item">
|
| | | <view class="content">
|
| | | <text class="text-black">物料名称:</text>
|
| | | <text class="text-grey ">{{item.maktx}}</text>
|
| | | </view>
|
| | | </view>
|
| | |
|
| | |
| | | range: [],
|
| | | repeatClick: false,
|
| | | isconfirm: false,
|
| | | max: 99999999
|
| | | max: 99999999,
|
| | | }
|
| | | },
|
| | | computed: {
|
| | |
| | | data,
|
| | | msg
|
| | | } = await request('/orders/other', {
|
| | | asnCode: this.asncode
|
| | | asnCode: this.asncode,
|
| | | matnrCode: this.barcode
|
| | | })
|
| | | if (code === 200) {
|
| | | this.list = [...data]
|
| | |
| | | clearCode() {
|
| | | this.asncode = ''
|
| | | },
|
| | | clearBarcode() {
|
| | | this.barcode = ''
|
| | | },
|
| | | scrollTo() {
|
| | | const ref = this.$refs[`${this.barcode}ref`][0];
|
| | | uni.pageScrollTo({
|
| | | scrollTop: ref.$el.offsetTop,
|
| | | duration: 300
|
| | | })
|
| | | |
| | | // const ref = this.$refs[`${this.barcode}ref`][0];
|
| | | // uni.pageScrollTo({
|
| | | // scrollTop: ref.$el.offsetTop,
|
| | | // duration: 300
|
| | | // })
|
| | | },
|
| | | remove(index) {
|
| | | this.list.splice(index, 1);
|