| | |
| | | <Plus /> |
| | | </el-icon>新增 |
| | | </el-button> |
| | | <el-button v-if="editable" |
| | | <!-- <el-button v-if="editable" |
| | | type="primary" |
| | | link |
| | | size="small" |
| | |
| | | <el-icon> |
| | | <Refresh /> |
| | | </el-icon>同步工序参数 |
| | | </el-button> |
| | | </el-button> --> |
| | | </div> |
| | | </div> |
| | | <div class="params-list"> |
| | |
| | | // 调用API新增参数 |
| | | if (props.pageType === "order") { |
| | | addProcessRouteItemParamOrder({ |
| | | orderId: Number(props.orderId), |
| | | // processId: props.process.id, |
| | | routeItemId: props.process.id, |
| | | // routeItemId: Number(props.routeId), |
| | | productionOrderId: Number(props.orderId), |
| | | productionOrderRoutingOperationId: props.process.id, |
| | | technologyRoutingOperationParamId: props.process.id, |
| | | paramId: selectedParam.value.id, |
| | | standardValue: selectedParam.value.standardValue || "", |
| | | isRequired: selectedParam.value.isRequired || 0, |
| | |
| | | if (props.pageType === "order") { |
| | | editProcessRouteItemParamOrder({ |
| | | id: editParamForm.value.id, |
| | | // routeItemId: props.process.id, |
| | | // paramId: editParamForm.value.paramId, |
| | | standardValue: editParamForm.value.standardValue || "", |
| | | isRequired: editParamForm.value.isRequired || 0, |
| | | // productionOrderRoutingOperationId: props.process.id, |
| | | }) |
| | | .then(res => { |
| | | if (res.code === 200) { |