| | |
| | | } |
| | | }) |
| | | }) |
| | | } |
| | | else if (this.editFormFields.remark == '') { |
| | | this.$confirm('鏄惁鐩存帴鍑哄簱', '璀﹀憡', { |
| | | confirmButtonText: '纭畾', |
| | | cancelButtonText: '鍙栨秷', |
| | | type: 'warning', |
| | | center: true, |
| | | customClass: 'large-text-confirm' |
| | | }).then(() => { |
| | | console.log(this.$refs.detail.rowData) |
| | | this.http |
| | | .post( |
| | | `/api/StockInfo/UpdateDataStockDetail`, |
| | | this.$refs.detail.rowData, |
| | | '鐗规畩鍑哄簱' |
| | | ) |
| | | .then((res) => { |
| | | if (res.status) { |
| | | this.$Message.success(res.message) |
| | | this.boxModel = false |
| | | this.refresh() |
| | | } else { |
| | | this.$Message.error(res.message) //閿欒鎻愮ず |
| | | } |
| | | }) |
| | | }) |
| | | } |
| | | else { |
| | | this.$confirm('鏄惁璋冩嫧鍑哄簱', '璀﹀憡', { |
| | | confirmButtonText: '纭畾', |
| | | cancelButtonText: '鍙栨秷', |
| | |
| | | }) |
| | | } |
| | | }) |
| | | |
| | | this.columns.push({ |
| | | title: '鎿嶄綔', |
| | | field: '鎿嶄綔', |