| | |
| | | |
| | | <div style="width: 40%; position: fixed; left: 40%; bottom: 2%"> |
| | | <!-- è¾å
¥æ¡ï¼ç»å® barocdeï¼æ¸
餿¶è§¦å clearmessage --> |
| | | <el-input id="inputId" ref="inputId" placeholder="æçå°ä½åï¼è¯·ç¹å»åä½¿ç¨æ«ç æªæ«å" v-model="barocde" clearable focus="true" |
| | | @input="handleInput" style="width: 80%;height: 80px;font-size: 28px;"> |
| | | <el-input id="inputId" ref="inputId" placeholder="æçå°ä½åï¼è¯·æ«ææ£ä¿®" v-model="barocde" clearable focus="true" |
| | | @input="handleInput" style="width: 50%;height: 80px;font-size: 28px;"> |
| | | </el-input> |
| | | <!-- æ¸
空æé®ï¼ç¹å»æ¶æ¸
空 barocde å
容并触åç¦ç¹ --> |
| | | <el-button type="primary" @click="clearBarcode" |
| | |
| | | æ¸
空æçç |
| | | </el-button> |
| | | |
| | | <el-button type="primary" @click="clearBarcode" |
| | | style="font-size: 30px;margin-left: 20px; padding: 12px 24px; height: 100px;" v-on:click="startRepair()"> |
| | | <el-button type="success" |
| | | style="font-size: 30px;margin-left: 20px; padding: 12px 24px; height: 100px;" v-on:click="queryDa2()"> |
| | | æªæ£ååº |
| | | </el-button> |
| | | </div> |
| | |
| | | console.error(err); // æè·é误 |
| | | }); |
| | | }, |
| | | queryDa2(){ |
| | | this.http |
| | | .get("/api/Dt_Repair/UpdateBarcoendwj?barocde=" + this.barocde) |
| | | .then((res) => { |
| | | if (res.status) { |
| | | this.$message({ message: "æªæ£ååºæåï¼", type: "success" }); |
| | | this.handleInput(); |
| | | |
| | | } else { |
| | | this.$message.error("æªæ£ååºå¤±è´¥ï¼"); |
| | | } |
| | | }) |
| | | .catch((err) => { |
| | | console.error(err); // æè·é误 |
| | | }); |
| | | }, |
| | | startRepair(){ |
| | | this.http |
| | | .get("/api/Dt_Repair/UpdateBarcode?barocde=" + this.barocde) |