2/27 界面 优化1.3

20240912_adapter
wangwei 1 month ago
parent c1723588e6
commit c6be3d3ec0

@ -1746,19 +1746,28 @@ export default {
}
this.saveLoading = true
if (this.orderFormData.billNo != null) {
deleteByOrderId(tQuery).then((response) => {
this.saveLoading = false
if (response.code === 20000) {
this.$message.success('放弃成功')
this.successCloseData()
this.result = ''
this.$refs.inputRef.focus()
} else {
this.$message.error(response.message)
}
this.loading = false
this.saveLoading = false
this.$confirm('是否确定取消此次上货?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
deleteByOrderId(tQuery).then((response) => {
this.saveLoading = false
if (response.code === 20000) {
this.$message.success('取消上货成功')
this.successCloseData()
this.result = ''
this.$refs.inputRef.focus()
} else {
this.$message.error(response.message)
}
this.loading = false
this.saveLoading = false
})
}).catch(() => {
})
} else {
this.successCloseData()
this.result = ''

@ -585,7 +585,6 @@ export default {
selectPrescribeDialog,
prescribeCodePanel,
PanelOrderManuTagCode, prescribeOriginPanel,
PannelOrderBiz,
DialogCreateOrderSelect,
PanelOrderAllDetail
},

@ -47,7 +47,7 @@
<el-button size="mini" type="primary" @click.native="delOrder()" :loading="submitLoading"
style="margin-right: 8px;border-radius: 5%;" v-show="isLinkDisabled"
:disabled="orderFormData.billNo == null && curQueueName == '' "
>放弃
>取消上货
</el-button>
<!--<el-button size="mini" type="primary" @click.native="draftOrder()" :loading="submitLoading"-->
<!-- v-show="isLinkDisabled" style="margin-right: 8px;border-radius: 5%;"-->
@ -1746,25 +1746,36 @@ export default {
}
this.saveLoading = true
if (this.orderFormData.billNo != null) {
deleteByOrderId(tQuery).then((response) => {
this.saveLoading = false
if (response.code === 20000) {
this.$message.success('放弃成功')
this.successCloseData()
this.result = ''
this.$refs.inputRef.focus()
} else {
this.$message.error(response.message)
}
this.loading = false
this.saveLoading = false
this.$confirm('是否确定取消此次上货?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
deleteByOrderId(tQuery).then((response) => {
this.saveLoading = false
if (response.code === 20000) {
this.$message.success('取消上货成功')
this.successCloseData()
this.result = ''
this.$refs.inputRef.focus()
} else {
this.$message.error(response.message)
}
this.loading = false
this.saveLoading = false
})
}).catch(() => {
})
} else {
this.successCloseData()
this.result = ''
this.$refs.inputRef.focus()
}
this.sharedData = 'over'
// over tabs
EventBus.$emit('update-data', { message: this.sharedData });
},
//
resetForm() {

Loading…
Cancel
Save