| | |
| | | depot: {}, |
| | | show: false, |
| | | actions: [], |
| | | ItemTblDetail:[] |
| | | ItemDetail:[] |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | .then(function (res) { |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | that.ItemTblDetail = json.data.tbBillList; |
| | | that.ItemDetail = json.data.tbBillList; |
| | | that.$refs.sectionCode.focus(); |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | | that.$refs.billNo.focus(); |
| | | that.ItemTblDetail = null; |
| | | that.ItemDetail = null; |
| | | that.billNo = null; |
| | | } |
| | | that.isLoading = false; |
| | |
| | | that.isLoading = false; |
| | | that.$toast.fail("网络错误,请重试!"); |
| | | that.$refs.billNo.focus(); |
| | | that.ItemTblDetail = null; |
| | | that.ItemDetail = null; |
| | | that.billNo = null; |
| | | console.log(error); |
| | | }); |