change
This commit is contained in:
@@ -106,10 +106,12 @@
|
||||
onShow() {
|
||||
if (this.$store.getters.publicObj !== '') {
|
||||
this.currentData = this.$store.getters.publicObj
|
||||
this.$store.dispatch('setPublicObj', '')
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this._getPdaSect()
|
||||
this._getPdaStruct(e)
|
||||
},
|
||||
methods: {
|
||||
toJump () {
|
||||
@@ -131,7 +133,7 @@
|
||||
},
|
||||
async _getPdaStruct (e) {
|
||||
try {
|
||||
let res = await getPdaStruct(e)
|
||||
let res = await getPdaStruct(this.index)
|
||||
if (res) {
|
||||
this.options2 = res.data
|
||||
} else {
|
||||
@@ -162,7 +164,7 @@
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await checkoutbillcallMaterial(this.index, this.index2, this.currentData.material_code, this.index4)
|
||||
let res = await checkoutbillcallMaterial(this.val1, this.index2, this.currentData.material_code, this.index4)
|
||||
if (res.code === '200') {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
<uni-data-select v-model="index4" :localdata="options4" @change="selectChange4"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="index4 === '1'">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">物料信息</span>
|
||||
@@ -65,10 +66,15 @@
|
||||
<span class="filter_label">物料数量</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<NumberInput v-model="val3" />
|
||||
<!-- <NumberInput v-model="val3" /> -->
|
||||
<NumberInput
|
||||
v-model="val3"
|
||||
mode="integer"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-6 button-default" @tap="clearUp">清空</button>
|
||||
@@ -80,11 +86,13 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {checkoutbillBackMaterial} from '@/utils/getData4.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
SearchBox,
|
||||
NumberInput
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -104,6 +112,7 @@
|
||||
onShow() {
|
||||
if (this.$store.getters.publicObj !== '') {
|
||||
this.currentData = this.$store.getters.publicObj
|
||||
this.$store.dispatch('setPublicObj', '')
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
||||
Reference in New Issue
Block a user