| | |
| | | <uni-easyinput type="text" placeholder="è¯·æ«æå
ç®±æ ç¾" ref='midInput' :focus="focus" |
| | | v-model="materSn" @input="snInput" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="åå§å¯¿å½:" v-if="Test"> |
| | | <uni-easyinput type="text" placeholder="请è¾å
¥åå§å¯¿å½" ref='midInput' v-model="Initiallife" /> |
| | | |
| | | <uni-forms-item :label="Testlabel" v-if="Test"> |
| | | <uni-easyinput type="text" :placeholder="Testplaceholder" ref='midInput' |
| | | v-model="Initiallife" /> |
| | | </uni-forms-item> |
| | | |
| | | <!-- <uni-forms-item> |
| | | <checkbox checked="check">æ¯å¦æ»¡ç</checkbox> |
| | | </uni-forms-item> --> |
| | |
| | | matTotals: [], |
| | | warehouseId: "", |
| | | Test: false, |
| | | Testlabel: "", |
| | | Testplaceholder: "", |
| | | Testcheck: false, |
| | | } |
| | | }, |
| | |
| | | this.addressFocus = false; |
| | | this.orderNo = res.orderNo; |
| | | this.warehouseId = res.warehouseId; |
| | | this.Test = this.warehouseId == 6; //æµè¯æ¶ä»åºåºID |
| | | if (this.warehouseId == 6) { //æµè¯æ¶ä»åºåºID |
| | | this.Test = true; |
| | | this.Testlabel = "åå§å¯¿å½:"; |
| | | this.Testplaceholder = "请è¾å
¥åå§å¯¿å½"; |
| | | } else if (this.warehouseId == 2) { //油墨ä»åºåºID |
| | | this.Test = true; |
| | | this.Testlabel = "æ°é:"; |
| | | this.Testplaceholder = "请è¾å
¥æ°é"; |
| | | this.Initiallife = 16; |
| | | } |
| | | this.label = "åæ®ç¼å·ï¼" + this.orderNo; |
| | | this.getData(); |
| | | }, |
| | |
| | | }) |
| | | }, |
| | | deleteList(res) { |
| | | // var sn = ''; |
| | | |
| | | this.matInfos.splice(res, 1); |
| | | this.sns.splice(res, 1); |
| | | // this.matInfos.map((item, index) => { |
| | | // if (item.sn == res) { |
| | | // this.matInfos.splice(index, 1); |
| | | // sn = item.sn; |
| | | // var tmp = this.matTotal.find(x => x.matCode == item.matCode); |
| | | // if (tmp) { |
| | | // tmp.matQuantity -= parseInt(item.quantity); |
| | | // } else { |
| | | |
| | | // } |
| | | // } |
| | | // }) |
| | | // this.sns.map((item, index) => { |
| | | // if (item == res) { |
| | | // this.sns.splice(index, 1); |
| | | // } |
| | | // }) |
| | | this.matInfos.splice(res, 1); |
| | | this.sns.splice(res, 1); |
| | | }, |
| | | submit() { |
| | | if (this.barcode == "") { |
| | |
| | | MainData: { |
| | | "palletCode": this.barcode, |
| | | "orderNo": this.orderNo, |
| | | "initiallife":this.Initiallife, |
| | | "initiallife": this.Initiallife, |
| | | // "isFull": this.check |
| | | "warehouseId": this.warehouseId |
| | | }, |