| | |
| | | <%--<comback ></comback>--%> |
| | | </asp:Content> |
| | | <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> |
| | | <script src="Js/BarCfBefore.js?<%=00 %>"></script> |
| | | <script src="Js/BarCfBefore.js?<%=001 %>"></script> |
| | | </asp:Content> |
| | |
| | | that.$toast.fail("拆分数量不能为空!"); |
| | | return; |
| | | } |
| | | if (that.formData.cfNum > that.formData.sumQuantity) { |
| | | // ... existing code ... |
| | | if (parseFloat(that.formData.cfNum) > parseFloat(that.formData.sumQuantity)) { |
| | | that.$toast.fail("拆分数量不能大于条码数量!"); |
| | | return; |
| | | } |
| | | // ... existing code ... |
| | | if (that.formData.barcode.length * 1 <= 0) { |
| | | that.$toast.fail("物料条码不能为空!"); |
| | | return; |
| | |
| | | console.log(error); |
| | | }); |
| | | }, |
| | | onClick(index, title) { |
| | | this.$toast(`${index} ${title}`); |
| | | this.$notify({ type: 'success', message: '某某物料扫码成功某某物料扫码成功某某物料扫码成功某某物料扫码成功' }); |
| | | |
| | | }, |
| | | onSelect(item) { |
| | | // 默认情况下点击选项时不会自动收起 |
| | | // 可以通过 close-on-click-action 属性开启自动收起 |