| | |
| | | v-model="ruleForm.manualRetraction" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item prop="leftPosition"> |
| | | <template #label> |
| | | <span style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" |
| | | >å·¦PLCèªå¨ä¼¸å°ä½ï¼</span |
| | | > |
| | | </template> |
| | | <el-input |
| | | style="height: 1.88rem" |
| | | placeholder="请è¾å
¥" |
| | | v-model="ruleForm.leftPosition" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item prop="rightPosition"> |
| | | <template #label> |
| | | <span style="color: rgba(0, 9, 56, 1); font-size: 0.88rem" |
| | | >å³PLCèªå¨ä¼¸å°ä½ï¼</span |
| | | > |
| | | </template> |
| | | <el-input |
| | | style="height: 1.88rem" |
| | | placeholder="请è¾å
¥" |
| | | v-model="ruleForm.rightPosition" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <div |
| | | style=" |
| | |
| | | manualRetraction: 0, |
| | | depid: userInfo.depid, |
| | | account: userInfo.userName, |
| | | leftPosition: 0, |
| | | rightPosition: 0, |
| | | }); |
| | | |
| | | //ä¿å |
| | | const submitForm = () => { |
| | | console.log(ruleForm.value); |
| | | |
| | | AddData(ruleForm.value).then((res) => { |
| | | if (res.code == 0) { |
| | | ElMessage.success("ä¿åæå"); |
| | |
| | | res.data == null ? 0 : res.data.manualExtend; |
| | | ruleForm.value.manualRetraction = |
| | | res.data == null ? 0 : res.data.manualRetraction; |
| | | ruleForm.value.leftPosition = |
| | | res.data == null ? 0 : res.data.leftPosition; |
| | | ruleForm.value.rightPosition = |
| | | res.data == null ? 0 : res.data.rightPosition; |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | onMounted(() => { |
| | | getParameter(); |
| | | }); |