| | |
| | | this.$emit('parentCall', ($vue) => { |
| | | console.log(this.form.remark, this.palletCode) |
| | | if ( |
| | | !this.form.remark || |
| | | !this.palletCode || |
| | | this.form.remark == '' || |
| | | this.palletCode == '' |
| | | ) { |
| | | this.$message.error('åæ°é误') |
| | | return |
| | | } |
| | | this.http.post(`/api/Task/OutBoundTaskAsync?palletCode=${this.palletCode}&remark=${this.form.remark}`, {}, 'æ£å¨çæä»»å¡') |
| | | this.http.post(`/api/Task/OutBoundTaskAsync?palletCode=${this.palletCode}&remark=${this.form.remark}`, {}, 'æ°æ®å¤çä¸...') |
| | | .then((x) => { |
| | | if (!x.status) { |
| | | this.$message.error(x.message) |
| | | } else { |
| | | this.$Message.success(row.palletCode + 'åºåºæå') |
| | | console.log(x); |
| | | this.show = false |
| | | $vue.refresh() |
| | | this.$Message.success(this.palletCode + 'åºåºæå') |
| | | $vue.refresh(); |
| | | } |
| | | }) |
| | | }) |