| | |
| | | sectionCode:"", |
| | | depotData: [], |
| | | ItemDetail: [], |
| | | rkType: "正常入库", |
| | | show: false,//下拉框的显示 |
| | | actions: [{ name: "正常入库" }, { name: "工废入库" }, { name: "料废入库" }],//下拉框的数值 |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | getInfo() { |
| | | this.show = true; |
| | | }, |
| | | onSelect(item) { |
| | | // 默认情况下点击选项时不会自动收起 |
| | | // 可以通过 close-on-click-action 属性开启自动收起 |
| | | this.show = false; |
| | | |
| | | this.rkType = item.name; |
| | | //this.GetMesItemBlDetailByBillNo(); |
| | | //this.$toast(item.name); |
| | | |
| | | }, |
| | | getModel() { |
| | | var that = this; |
| | | that.isLoading = true; |
| | |
| | | sectionCode: that.sectionCode, |
| | | userName: that.userInfo.loginAccount, |
| | | barcode: that.formData.barcode, |
| | | cgrkType: that.actions |
| | | }, false) |
| | | .then(function (res) { |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | //that.formData.itemNo = json.data.tbBillList.itemNo; |
| | | //that.formData.sumQuantity = json.data.tbBillList.sumQuantity; |
| | | |
| | | that.ItemDetail = json.data.tbBillList.itemInDetails; |
| | | //that.itemInsFormData = json.data.tbBillList.itemIns; |
| | | //that.itemTableData = json.data.tbBillList.itemInDetails;g |
| | | that.tableData = json.data.tbBillList.itemBarCDetails; |
| | | //that.barMessage = json.data.tbBillList.message; |
| | | |
| | | that.$refs.barcode.focus(); |
| | | that.formData.barcode = null; |
| | | that.$notify({ type: 'success', message: json.message }); |
| | |
| | | ></van-nav-bar> |
| | | <%-- <div class="mySolid">--%> |
| | | <van-cell-group> |
| | | <van-field |
| | | value="" |
| | | label="入库类型" |
| | | clearable |
| | | placeholder="选择/手录" |
| | | :right-icon-size="19" |
| | | v-model="rkType" |
| | | v-focus.noKeyboard |
| | | ><template #button> |
| | | <van-button size="small" type="info" plain @click="getInfo" >选择</van-button> |
| | | </template></van-field> |
| | | <van-field |
| | | ref="sectionCode" |
| | | v-model="sectionCode" |
| | |
| | | </van-tab>--%> |
| | | </van-tabs> |
| | | |
| | | <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet> |
| | | |
| | | <%-- <van-button type="primary" @click="getScan" >确认</van-button>--%> |
| | | <%--<van-button type="primary" @click="ToErp" >审核</van-button>--%> |
| | | <%-- <van-button type="primary" @click="cleraCode" >清除库位编码</van-button>--%> |
| | |
| | | <%--<comback ></comback>--%> |
| | | </asp:Content> |
| | | <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> |
| | | <script src="Js/PurchaseInventory.js?<%=123611111 %>"></script> |
| | | </asp:Content> |
| | | <script src="Js/PurchaseInventory.js?<%=1236111111 %>"></script> |
| | | </asp:Content> |
| | |
| | | <script src="/Scripts/vue.min.js"></script> |
| | | <script src="/Scripts/js.cookie.min.js"></script> |
| | | <script src="/scripts/axios0.25.0.js"></script> |
| | | <script src="/scripts/config.js?<%=123611117 %>"></script> |
| | | <script src="/scripts/config.js?<%=123611118 %>"></script> |
| | | <link href="/scripts/vant/vant.css" rel="stylesheet" /> |
| | | <script src="/scripts/vant/vant.js"></script> |
| | | <link href="/Images/Style.css?<%=169950 %>" rel="stylesheet" /> |
| | | <script src="/Scripts/uni.webview.1.5.2.js"></script> |
| | | |
| | | <asp:ContentPlaceHolder ID="head" runat="server"> |
| | | </asp:ContentPlaceHolder> |
| | | </head> |
| | |
| | | /*var APIURL = "http://192.168.1.145:83/api/";*/ |
| | | /*var APIURL = "http://192.168.1.145:83/api/";*///后端发布的地址 |
| | | var APIURL = "http://localhost:5204/api/"; |
| | | /*var APIURL_PC = "http://192.168.1.145:81/";*/ |
| | | var APIURL_PC = "http://192.168.1.145:8081/";//测试 |
| | | /*var APIURL_PC = "http://192.168.1.145:81/";*/ //PC后端的地址 |
| | | var APIURL_PC = "http://192.168.1.145:81/";//测试 |
| | | var APIURL_IMAGE = APIURL_PC+"upload/"; |
| | | var ISNEEDLOGIN = true; |
| | | String.prototype.trim = function () { |