|
@@ -209,8 +209,8 @@
|
|
|
</view>
|
|
|
<u-toast ref="uToast" />
|
|
|
<view class="bottom-btn">
|
|
|
- <u-button type="primary" class="submit" hover-class="none" :disabled="disabledFlag" @click="submit(1)">暂存</u-button>
|
|
|
- <u-button type="primary" class="submit" hover-class="none" :disabled="disabledFlag" @click="submit(2)">提交</u-button>
|
|
|
+ <u-button type="primary" class="submit" hover-class="none" @click="submit(1)">暂存</u-button>
|
|
|
+ <u-button type="primary" class="submit" hover-class="none" @click="submit(2)">提交</u-button>
|
|
|
</view>
|
|
|
<u-popup v-model="isShowPrint" class="popup" @close="close" mode="bottom" border-radius="30" :closeable="true">
|
|
|
<view class="buns_item">
|
|
@@ -247,7 +247,6 @@
|
|
|
isPC: true,
|
|
|
show8: false,
|
|
|
carno: false,
|
|
|
- disabledFlag:false,
|
|
|
usestart: '',
|
|
|
multiSelector: [{
|
|
|
name: '汽运',
|
|
@@ -692,7 +691,6 @@
|
|
|
this.detailData.addressUrl = ""
|
|
|
},
|
|
|
submit(num) {
|
|
|
- this.disabledFlag = true
|
|
|
if (!this.detailData.inOutTaskNo) {
|
|
|
this.$api.msg('暂无出库任务')
|
|
|
return
|
|
@@ -965,6 +963,10 @@
|
|
|
content: "确定提交出库信息?",
|
|
|
success(res) {
|
|
|
if (res.confirm) {
|
|
|
+ uni.showLoading({
|
|
|
+ title: "正在提交",
|
|
|
+ mask: true
|
|
|
+ })
|
|
|
that.$api.doRequest('post', '/warehouseInOutInfo/InOutWarehouse',
|
|
|
that.detailData).then(res => {
|
|
|
console.log(res, "报异常")
|
|
@@ -990,11 +992,13 @@
|
|
|
that.$api.msg(title)
|
|
|
that.isShowPrint = true
|
|
|
uni.setStorageSync("exWarehousing_print", that.weightbills)
|
|
|
+ uni.hideLoading()
|
|
|
// setTimeout(() => {
|
|
|
// uni.navigateBack()
|
|
|
// }, 1000)
|
|
|
} else {
|
|
|
that.$api.msg(res.data.message)
|
|
|
+ uni.hideLoading()
|
|
|
}
|
|
|
})
|
|
|
}
|