|
|
|
@ -35,7 +35,7 @@
|
|
|
|
|
</el-button>
|
|
|
|
|
<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"
|
|
|
|
|
:disabled="orderFormData.billNo == null && curQueueName == '' "
|
|
|
|
|
>放弃
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button size="mini" type="primary" @click.native="draftOrder()" :loading="submitLoading"
|
|
|
|
@ -1777,11 +1777,12 @@ export default {
|
|
|
|
|
)
|
|
|
|
|
tQuery.billNo = this.orderFormData.billNo
|
|
|
|
|
tQuery.orderType = 2
|
|
|
|
|
if (this.orderFormData.billNo == null) {
|
|
|
|
|
this.$message.error('请先录入单据信息!')
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
// if (this.orderFormData.billNo == null) {
|
|
|
|
|
// this.$message.error('请先录入单据信息!')
|
|
|
|
|
// return
|
|
|
|
|
// }
|
|
|
|
|
this.saveLoading = true
|
|
|
|
|
if (this.orderFormData.billNo != null){
|
|
|
|
|
deleteByOrderId(tQuery).then((response) => {
|
|
|
|
|
this.saveLoading = false
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
@ -1795,6 +1796,12 @@ export default {
|
|
|
|
|
this.loading = false
|
|
|
|
|
this.saveLoading = false
|
|
|
|
|
})
|
|
|
|
|
}else {
|
|
|
|
|
this.successCloseData()
|
|
|
|
|
this.result = ''
|
|
|
|
|
this.$refs.inputRef.focus()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
// 刷新表单
|
|
|
|
|
resetForm() {
|
|
|
|
|